The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [GIT PULL] VFIO fixes for v7.2-rc2
@ 2026-07-02 18:34 Alex Williamson
  2026-07-03  2:56 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Williamson @ 2026-07-02 18:34 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: alex, kvm@vger.kernel.org, linux-kernel@vger.kernel.org

Hi Linus,

Mostly straightforward fixes here, inconsistent runtime PM handling due
to global device policies, bitfield races, unwind path gaps, teardown
ordering, and a misplaced library flag.  The overall latching of module
parameters per device could include Fixes: c61302aa48f7 ("vfio/pci:
Move module parameters to vfio_pci.c") [v5.15].  However, since this is
largely a module parameter mechanics issue, I chose not to flag it for
automatic stable backports.  The per-device latching also leaves a gap
in debug'ability, which is filled here with a debugfs surface.  Thanks,

Alex


The following changes since commit dc59e4fea9d83f03bad6bddf3fa2e52491777482:

  Linux 7.2-rc1 (2026-06-28 12:01:31 -0700)

are available in the Git repository at:

  https://github.com/awilliam/linux-vfio.git tags/vfio-v7.2-rc2

for you to fetch changes up to e242e974e812e7a47e3088860c80d9492fac314f:

  vfio: selftests: Add luuid to libvfio.mk's list of libraries, not to the Makefile (2026-06-30 15:50:55 -0600)

----------------------------------------------------------------
VFIO fixes for v7.2-rc2

 - Fix racy bitfield updates in vfio-pci-core and the mlx5 vfio-pci
   variant driver with a binary split between setup/release and
   runtime modified flags.  These were noted across several Sashiko
   reviews as pre-existing issues. (Alex Williamson)

 - Fix runtime PM inconsistency where the vfio-pci driver module_init
   could modify the idle PM policy of existing devices through globals
   managed in vfio-pci-core, leading to unbalanced runtime PM
   operations. (Alex Williamson)

 - Restore mutability of writable vfio-pci module options by further
   pulling policy globals out of vfio-pci-core, to instead be latched
   per device at device init.  Provide visibility of the per device
   latched values through debugfs. (Alex Williamson)

 - Fix missing VGA arbiter uninit callback in unwind path.
   (Alex Williamson)

 - Reorder device debugfs removal before device_del() to avoid gap
   where debugfs is available with stale devres pointers.
   (Alex Williamson)

 - Move UUID library linking flag from vfio selftest Makefile into
   libvfio.mk to avoid exposing such dependencies when linking with
   KVM selftests. (Sean Christopherson)

----------------------------------------------------------------
Alex Williamson (7):
      vfio/pci: Latch disable_idle_d3 per device
      vfio/pci: Release the VGA arbiter client on register_device() failure
      vfio/pci: Fix racy bitfields and tighten struct layout
      vfio/mlx5: Fix racy bitfields and tighten struct layout
      vfio/pci: Latch all module parameters per device
      vfio: Remove device debugfs before releasing devres
      vfio/pci: Expose latched module parameter policy in debugfs

Sean Christopherson (1):
      vfio: selftests: Add luuid to libvfio.mk's list of libraries, not to the Makefile

 Documentation/ABI/testing/debugfs-vfio      |  26 +++++++
 drivers/vfio/debugfs.c                      |   1 +
 drivers/vfio/pci/mlx5/cmd.h                 |  15 +++--
 drivers/vfio/pci/vfio_pci.c                 |  30 ++++++---
 drivers/vfio/pci/vfio_pci_core.c            | 101 ++++++++++++++++++++--------
 drivers/vfio/vfio_main.c                    |   8 ++-
 include/linux/vfio_pci_core.h               |  18 +++--
 tools/testing/selftests/vfio/Makefile       |   2 -
 tools/testing/selftests/vfio/lib/libvfio.mk |   2 +
 9 files changed, 152 insertions(+), 51 deletions(-)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] VFIO fixes for v7.2-rc2
  2026-07-02 18:34 [GIT PULL] VFIO fixes for v7.2-rc2 Alex Williamson
@ 2026-07-03  2:56 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2026-07-03  2:56 UTC (permalink / raw)
  To: Alex Williamson
  Cc: Linus Torvalds, alex, kvm@vger.kernel.org,
	linux-kernel@vger.kernel.org

The pull request you sent on Thu, 2 Jul 2026 12:34:02 -0600:

> https://github.com/awilliam/linux-vfio.git tags/vfio-v7.2-rc2

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/826eec5b5efd785dc87638a54d5ecc9f88e5afce

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-07-03  2:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-02 18:34 [GIT PULL] VFIO fixes for v7.2-rc2 Alex Williamson
2026-07-03  2:56 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox