linux/drivers
Linus Torvalds a3ebb59eee VFIO updates for v6.19-rc1
- Move libvfio selftest artifacts in preparation of more tightly
    coupled integration with KVM selftests. (David Matlack)
 
  - Fix comment typo in mtty driver. (Chu Guangqing)
 
  - Support for new hardware revision in the hisi_acc vfio-pci variant
    driver where the migration registers can now be accessed via the PF.
    When enabled for this support, the full BAR can be exposed to the
    user. (Longfang Liu)
 
  - Fix vfio cdev support for VF token passing, using the correct size
    for the kernel structure, thereby actually allowing userspace to
    provide a non-zero UUID token.  Also set the match token callback for
    the hisi_acc, fixing VF token support for this this vfio-pci variant
    driver. (Raghavendra Rao Ananta)
 
  - Introduce internal callbacks on vfio devices to simplify and
    consolidate duplicate code for generating VFIO_DEVICE_GET_REGION_INFO
    data, removing various ioctl intercepts with a more structured
    solution. (Jason Gunthorpe)
 
  - Introduce dma-buf support for vfio-pci devices, allowing MMIO regions
    to be exposed through dma-buf objects with lifecycle managed through
    move operations.  This enables low-level interactions such as a
    vfio-pci based SPDK drivers interacting directly with dma-buf capable
    RDMA devices to enable peer-to-peer operations.  IOMMUFD is also now
    able to build upon this support to fill a long standing feature gap
    versus the legacy vfio type1 IOMMU backend with an implementation of
    P2P support for VM use cases that better manages the lifecycle of the
    P2P mapping. (Leon Romanovsky, Jason Gunthorpe, Vivek Kasireddy)
 
  - Convert eventfd triggering for error and request signals to use RCU
    mechanisms in order to avoid a 3-way lockdep reported deadlock issue.
    (Alex Williamson)
 
  - Fix a 32-bit overflow introduced via dma-buf support manifesting with
    large DMA buffers. (Alex Mastro)
 
  - Convert nvgrace-gpu vfio-pci variant driver to insert mappings on
    fault rather than at mmap time.  This conversion serves both to make
    use of huge PFNMAPs but also to both avoid corrected RAS events
    during reset by now being subject to vfio-pci-core's use of
    unmap_mapping_range(), and to enable a device readiness test after
    reset. (Ankit Agrawal)
 
  - Refactoring of vfio selftests to support multi-device tests and split
    code to provide better separation between IOMMU and device objects.
    This work also enables a new test suite addition to measure parallel
    device initialization latency. (David Matlack)
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCgAvFiEEQvbATlQL0amee4qQI5ubbjuwiyIFAmkvV3IRHGFsZXhAc2hh
 emJvdC5vcmcACgkQI5ubbjuwiyIpIQ/9GwpjLH5Vdv0v2d9mkHmZIWFpG/tr3zJa
 +spQqOjO0etASc67PtIJArT9pWib+s6O8OaG7iFrdNR65HCSsXSZbIGbMThPODfy
 DdDj1ipAqMVwcaCZT8un2N8Sktu9YpFQMvc5IoXWWYhw88vili7bBx+OTrEFV2T0
 6qQijSBdhw1TXVFHG6BGSmqmisyMepIebA6GmPWdfYu6BfoWBYMdcMjDwd1J61Q5
 DDwFRzn/Dz2Tvb1jbXiiRMRuFIuegFQii+wtd30S/cRPFZhZLWzc+drimC6oOFiQ
 qL19vQQsBPnLtGvch40HsET/AbY5w0pLCkYX5qacxP3sq27+N+KuotzCvbnVMN+H
 e2BqOCujyoce8z1Br6BzV71Lr2yzPDcc5pXTuEuuBT+J/ptOY8hfEikOj85s5Wzj
 aKsTrdDRGMrn/o11NkGSzYwFcMs9MxCX9mo98U6OkWDr0+cmPLf4LGZgpJudWg4E
 POUlzPpnzJrTlX5d+OqCdKJG0a1hTlTa2udzRa5hCDANHaZWLoAssfgSEKfV9xt1
 PzOMf0UIJmPJmFcw/OpMO72/5xp8O4WslJS0ulSm6vrAJDtutLApHZ7bJ44KniNd
 4vte+gOjyZY8ibTDKRULhXVlCDxkEnZjRBbApgI9HJD61IElOzjqohRuRx77J09B
 7c8OSLI8d1U=
 =tpee
 -----END PGP SIGNATURE-----

Merge tag 'vfio-v6.19-rc1' of https://github.com/awilliam/linux-vfio

Pull VFIO updates from Alex Williamson:

 - Move libvfio selftest artifacts in preparation of more tightly
   coupled integration with KVM selftests (David Matlack)

 - Fix comment typo in mtty driver (Chu Guangqing)

 - Support for new hardware revision in the hisi_acc vfio-pci variant
   driver where the migration registers can now be accessed via the PF.
   When enabled for this support, the full BAR can be exposed to the
   user (Longfang Liu)

 - Fix vfio cdev support for VF token passing, using the correct size
   for the kernel structure, thereby actually allowing userspace to
   provide a non-zero UUID token. Also set the match token callback for
   the hisi_acc, fixing VF token support for this this vfio-pci variant
   driver (Raghavendra Rao Ananta)

 - Introduce internal callbacks on vfio devices to simplify and
   consolidate duplicate code for generating VFIO_DEVICE_GET_REGION_INFO
   data, removing various ioctl intercepts with a more structured
   solution (Jason Gunthorpe)

 - Introduce dma-buf support for vfio-pci devices, allowing MMIO regions
   to be exposed through dma-buf objects with lifecycle managed through
   move operations. This enables low-level interactions such as a
   vfio-pci based SPDK drivers interacting directly with dma-buf capable
   RDMA devices to enable peer-to-peer operations. IOMMUFD is also now
   able to build upon this support to fill a long standing feature gap
   versus the legacy vfio type1 IOMMU backend with an implementation of
   P2P support for VM use cases that better manages the lifecycle of the
   P2P mapping (Leon Romanovsky, Jason Gunthorpe, Vivek Kasireddy)

 - Convert eventfd triggering for error and request signals to use RCU
   mechanisms in order to avoid a 3-way lockdep reported deadlock issue
   (Alex Williamson)

 - Fix a 32-bit overflow introduced via dma-buf support manifesting with
   large DMA buffers (Alex Mastro)

 - Convert nvgrace-gpu vfio-pci variant driver to insert mappings on
   fault rather than at mmap time. This conversion serves both to make
   use of huge PFNMAPs but also to both avoid corrected RAS events
   during reset by now being subject to vfio-pci-core's use of
   unmap_mapping_range(), and to enable a device readiness test after
   reset (Ankit Agrawal)

 - Refactoring of vfio selftests to support multi-device tests and split
   code to provide better separation between IOMMU and device objects.
   This work also enables a new test suite addition to measure parallel
   device initialization latency (David Matlack)

* tag 'vfio-v6.19-rc1' of https://github.com/awilliam/linux-vfio: (65 commits)
  vfio: selftests: Add vfio_pci_device_init_perf_test
  vfio: selftests: Eliminate INVALID_IOVA
  vfio: selftests: Split libvfio.h into separate header files
  vfio: selftests: Move vfio_selftests_*() helpers into libvfio.c
  vfio: selftests: Rename vfio_util.h to libvfio.h
  vfio: selftests: Stop passing device for IOMMU operations
  vfio: selftests: Move IOVA allocator into iova_allocator.c
  vfio: selftests: Move IOMMU library code into iommu.c
  vfio: selftests: Rename struct vfio_dma_region to dma_region
  vfio: selftests: Upgrade driver logging to dev_err()
  vfio: selftests: Prefix logs with device BDF where relevant
  vfio: selftests: Eliminate overly chatty logging
  vfio: selftests: Support multiple devices in the same container/iommufd
  vfio: selftests: Introduce struct iommu
  vfio: selftests: Rename struct vfio_iommu_mode to iommu_mode
  vfio: selftests: Allow passing multiple BDFs on the command line
  vfio: selftests: Split run.sh into separate scripts
  vfio: selftests: Move run.sh into scripts directory
  vfio/nvgrace-gpu: wait for the GPU mem to be ready
  vfio/nvgrace-gpu: Inform devmem unmapped after reset
  ...
2025-12-04 18:42:48 -08:00
..
accel accel/amdxdna: Fix deadlock between context destroy and job timeout 2025-11-13 09:10:43 -08:00
accessibility
acpi cxl for v6.19 2025-12-04 17:55:18 -08:00
amba IOMMU Updates for Linux v6.19 2025-12-04 18:05:06 -08:00
android Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
ata ata: libata-core: Set capacity to zero for a security locked drive 2025-11-20 13:37:18 +01:00
atm atm/fore200e: Fix possible data race in fore200e_open() 2025-11-25 12:39:26 +01:00
auxdisplay
base pmdomain core: 2025-12-04 13:50:39 -08:00
bcma
block for-6.19/block-20251201 2025-12-03 19:26:18 -08:00
bluetooth Bluetooth: btusb: Add new VID/PID 13d3/3533 for RTL8821CE 2025-12-01 16:21:16 -05:00
bus
cache
cdrom
cdx
char printk changes for 6.19 2025-12-03 12:42:36 -08:00
clk
clocksource clocksource/drivers: Add Realtek system timer driver 2025-11-26 11:25:15 +01:00
comedi
connector
counter
cpufreq Devicetree updates for v6.19: 2025-12-04 15:50:37 -08:00
cpuidle Devicetree updates for v6.19: 2025-12-04 15:50:37 -08:00
crypto VFIO updates for v6.19-rc1 2025-12-04 18:42:48 -08:00
cxl cxl for v6.19 2025-12-04 17:55:18 -08:00
dax
dca
devfreq PM / devfreq: Fix typo in DFSO_DOWNDIFFERENTIAL macro name 2025-11-26 13:58:59 +09:00
dibs dibs: Remove KMSG_COMPONENT macro 2025-11-27 18:11:43 -08:00
dio
dma treewide: Drop pci_save_state() after pci_restore_state() 2025-11-24 16:58:59 -06:00
dma-buf VFIO updates for v6.19-rc1 2025-12-04 18:42:48 -08:00
dpll tools: ynl-gen: add regeneration comment 2025-11-25 19:20:42 -08:00
edac - imh_edac: Add a new EDAC driver for Intel Diamond Rapids and 2025-12-02 10:45:50 -08:00
eisa
extcon
firewire firewire updates for v6.19 2025-12-04 12:26:36 -08:00
firmware EFI updates for v6.19: 2025-12-04 17:10:08 -08:00
fpga
fsi
fwctl
gnss gnss: ubx: add support for the safeboot gpio 2025-11-20 16:44:04 +01:00
gpio gpio updates for v6.19-rc1 2025-12-04 12:33:38 -08:00
gpu VFIO updates for v6.19-rc1 2025-12-04 18:42:48 -08:00
greybus
hid hid-for-linus-2025120201 2025-12-04 15:44:48 -08:00
hsi
hte
hv A large overhaul of the restartable sequences and CID management: 2025-12-02 08:48:53 -08:00
hwmon hwmon updates for v6.19 2025-12-04 12:19:49 -08:00
hwspinlock
hwtracing
i2c
i3c
idle
iio iio: accel: bmc150: Fix irq assumption regression 2025-11-11 20:22:23 +00:00
infiniband Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
input regulator: Updates for v6.19 2025-12-04 11:20:29 -08:00
interconnect
iommu VFIO updates for v6.19-rc1 2025-12-04 18:42:48 -08:00
ipack
irqchip Devicetree updates for v6.19: 2025-12-04 15:50:37 -08:00
isdn isdn: kcapi: add WQ_PERCPU to alloc_workqueue users 2025-11-10 18:14:20 -08:00
leds leds: rgb: leds-qcom-lpg: Don't enable TRILED when configuring PWM 2025-11-20 15:25:19 +00:00
macintosh
mailbox mailbox: th1520: fix clock imbalance on probe failure 2025-11-28 09:47:44 -06:00
mcb
md for-6.19/block-20251201 2025-12-03 19:26:18 -08:00
media [GIT PULL for v6.19] media updates 2025-12-04 08:15:19 -08:00
memory
memstick
message
mfd MFD for v6.19 2025-12-04 15:18:33 -08:00
misc vfs-6.19-rc1.fd_prepare.fs 2025-12-01 17:32:07 -08:00
mmc MMC core: 2025-12-04 14:10:16 -08:00
most most: usb: fix double free on late probe failure 2025-11-09 11:15:20 +09:00
mtd Core MTD changes: 2025-12-04 11:07:46 -08:00
mux
net pci-v6.19-changes 2025-12-04 17:29:41 -08:00
nfc NFC: mei_phy: fix kernel-doc warnings 2025-11-17 19:32:32 -08:00
ntb
nubus
nvdimm
nvme for-6.19/block-20251201 2025-12-03 19:26:18 -08:00
nvmem nvmem: layouts: fix nvmem_layout_bus_uevent 2025-11-24 18:08:10 +01:00
of Devicetree updates for v6.19: 2025-12-04 15:50:37 -08:00
opp
parisc
parport
pci VFIO updates for v6.19-rc1 2025-12-04 18:42:48 -08:00
pcmcia
peci
perf arm64 updates for 6.19: 2025-12-02 17:03:55 -08:00
phy
pinctrl pinctrl: s32cc: initialize gpio_pin_config::list after kmalloc() 2025-11-18 23:56:11 +01:00
platform Devicetree updates for v6.19: 2025-12-04 15:50:37 -08:00
pmdomain pmdomain core: 2025-12-04 13:50:39 -08:00
pnp PNP: Fix ISAPNP to generate uevents to auto-load modules 2025-11-18 17:35:36 +01:00
power power supply and reset changes for the 6.19 series 2025-12-04 16:12:03 -08:00
powercap Devicetree updates for v6.19: 2025-12-04 15:50:37 -08:00
pps printk changes for 6.19 2025-12-03 12:42:36 -08:00
ps3
ptp Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
pwm pwm: rzg2l-gpt: Allow checking period_tick cache value only if sibling channel is enabled 2025-11-27 09:58:07 +01:00
rapidio
ras EFI updates for v6.19: 2025-12-04 17:10:08 -08:00
regulator regulator: Updates for v6.19 2025-12-04 11:20:29 -08:00
remoteproc
resctrl arm_mpam: Add kunit tests for props_mismatch() 2025-11-19 18:34:24 +00:00
reset gpio updates for v6.19-rc1 2025-12-04 12:33:38 -08:00
rpmsg
rtc rtc: rx8025: fix incorrect register reference 2025-11-08 20:56:12 +01:00
s390 VFIO updates for v6.19-rc1 2025-12-04 18:42:48 -08:00
sbus
scsi pci-v6.19-changes 2025-12-04 17:29:41 -08:00
sh
siox
slimbus Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
soc Devicetree updates for v6.19: 2025-12-04 15:50:37 -08:00
soundwire
spi gpio updates for v6.19-rc1 2025-12-04 12:33:38 -08:00
spmi
ssb
staging sound updates for 6.19-rc1 2025-12-04 10:08:40 -08:00
target Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
tc
tee QCOMTEE fixes2 for v6.18 2025-11-21 21:27:20 +01:00
thermal Thermal control updates for 6.19-rc1 2025-12-02 17:49:12 -08:00
thunderbolt
tty pci-v6.19-changes 2025-12-04 17:29:41 -08:00
ufs
uio
usb pmdomain core: 2025-12-04 13:50:39 -08:00
vdpa mlx5: Fix default values in create CQ 2025-11-11 15:12:18 +01:00
vfio VFIO updates for v6.19-rc1 2025-12-04 18:42:48 -08:00
vhost vhost: rewind next_avail_head while discarding descriptors 2025-11-26 14:44:58 -08:00
video Backlight for v6.19 2025-12-04 15:29:27 -08:00
virt
virtio
w1
watchdog watchdog: diag288_wdt: Remove KMSG_COMPONENT macro 2025-11-26 17:34:52 +01:00
xen Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
zorro
Kconfig arm_mpam: Add probe/remove for mpam msc driver and kbuild boiler plate 2025-11-19 18:34:20 +00:00
Makefile arm_mpam: Add probe/remove for mpam msc driver and kbuild boiler plate 2025-11-19 18:34:20 +00:00