[PATCH 6.1.y 0/7] vfio: Interrupt eventfd hardening for 6.6.y

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This corrects the backport of commit fe9a7082684e ("vfio/pci: Disable
auto-enable of exclusive INTx IRQ"), choosing to adapt the fix to the
current tree which uses an array of eventfd contexts rather than
include a base patch for the conversion to xarray, which is found to
be faulty in isolation.

I include the reverts here for completeness, but if the associated
commits are otherwise already dropped due to previous report[1], the
remainder of this series is still valid.

Largely this just adapts the mainline commits to the eventfd context
array from the current internal API where they're stored in an xarray.
Thanks,

Alex

[1]https://lore.kernel.org/all/20240329110433.156ff56c.alex.williamson@xxxxxxxxxx/

Alex Williamson (7):
  Revert "vfio/pci: Disable auto-enable of exclusive INTx IRQ"
  Revert "vfio/pci: Prepare for dynamic interrupt context storage"
  vfio/pci: Disable auto-enable of exclusive INTx IRQ
  vfio: Introduce interface to flush virqfd inject workqueue
  vfio/pci: Create persistent INTx handler
  vfio/platform: Create persistent IRQ handlers
  vfio/fsl-mc: Block calling interrupt handler without trigger

 drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c    |   7 +-
 drivers/vfio/pci/vfio_pci_intrs.c         | 318 +++++++++-------------
 drivers/vfio/platform/vfio_platform_irq.c | 101 ++++---
 drivers/vfio/virqfd.c                     |  21 ++
 include/linux/vfio.h                      |   2 +
 5 files changed, 220 insertions(+), 229 deletions(-)

-- 
2.44.0





[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux