Hi Dave, Simona!

Here's a PR of the xe-vfio driver variant for xe as discussed on IRC.
It includes some prereq drm-xe patches and the vfio driver itself.
For ack to merge through drm, please see second Link: in the vfio
driver patch.

Using a topic branch as suggested.

Thanks,
Thomas

topic/xe-vfio-2025-12-01:
Cross-subsystem Changes:
- Add device specific vfio_pci driver variant for intel graphics (Michal 
Winiarski)

Driver Changes:
- Add scope-based cleanup helper for runtime PM (Matt Roper)
- Additional xe driver prerequisites and exports (Michal Winiarski)
The following changes since commit 62433efe0b06042d8016ba0713d801165a939229:

  Merge tag 'drm-misc-next-fixes-2025-11-26' of 
https://gitlab.freedesktop.org/drm/misc/kernel into drm-next (2025-11-28 
09:04:52 +1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/xe/kernel.git tags/topic/xe-vfio-2025-12-01

for you to fetch changes up to 1f5556ec8b9efbb784aeb3536e147182dee73d0f:

  vfio/xe: Add device specific vfio_pci driver variant for Intel graphics 
(2025-12-01 09:45:48 +0100)

----------------------------------------------------------------
Cross-subsystem Changes:
- Add device specific vfio_pci driver variant for intel graphics (Michal 
Winiarski)

Driver Changes:
- Add scope-based cleanup helper for runtime PM (Matt Roper)
- Additional xe driver prerequisites and exports (Michal Winiarski)

----------------------------------------------------------------
Matt Roper (1):
      drm/xe/pm: Add scope-based cleanup helper for runtime PM

MichaƂ Winiarski (4):
      drm/xe/pf: Enable SR-IOV VF migration
      drm/xe/pci: Introduce a helper to allow VF access to PF xe_device
      drm/xe/pf: Export helpers for VFIO
      vfio/xe: Add device specific vfio_pci driver variant for Intel graphics

 MAINTAINERS                                      |   7 +
 drivers/gpu/drm/xe/Makefile                      |   4 +
 drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c    |   9 +
 drivers/gpu/drm/xe/xe_pci.c                      |  17 +
 drivers/gpu/drm/xe/xe_pci.h                      |   3 +
 drivers/gpu/drm/xe/xe_pm.c                       |  21 +
 drivers/gpu/drm/xe/xe_pm.h                       |  17 +
 drivers/gpu/drm/xe/xe_sriov_pf_migration.c       |  35 +-
 drivers/gpu/drm/xe/xe_sriov_pf_migration.h       |   1 +
 drivers/gpu/drm/xe/xe_sriov_pf_migration_types.h |   4 +-
 drivers/gpu/drm/xe/xe_sriov_vfio.c               |  80 ++++
 drivers/vfio/pci/Kconfig                         |   2 +
 drivers/vfio/pci/Makefile                        |   2 +
 drivers/vfio/pci/xe/Kconfig                      |  12 +
 drivers/vfio/pci/xe/Makefile                     |   3 +
 drivers/vfio/pci/xe/main.c                       | 573 +++++++++++++++++++++++
 include/drm/intel/xe_sriov_vfio.h                | 143 ++++++
 17 files changed, 926 insertions(+), 7 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/xe_sriov_vfio.c
 create mode 100644 drivers/vfio/pci/xe/Kconfig
 create mode 100644 drivers/vfio/pci/xe/Makefile
 create mode 100644 drivers/vfio/pci/xe/main.c
 create mode 100644 include/drm/intel/xe_sriov_vfio.h

Reply via email to