Skip to content

vfio: Interrupt eventfd hardening for 5.15.y

Alex Williamson stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6vfio/pci: Disable auto-enable of exclusive INTx IRQdrivers/vfio/pci/vfio_pci_intrs.c+10 -70 replies
2/6vfio/pci: Lock external INTx masking opsdrivers/vfio/pci/vfio_pci_intrs.c+24 -60 replies
3/6vfio: Introduce interface to flush virqfd inject workqueuedrivers/vfio/virqfd.c include/linux/vfio.h+23 -00 replies
4/6vfio/pci: Create persistent INTx handlerdrivers/vfio/pci/vfio_pci_intrs.c+82 -670 replies
5/6vfio/platform: Create persistent IRQ handlersdrivers/vfio/platform/vfio_platform_irq.c+68 -330 replies
6/6vfio/fsl-mc: Block calling interrupt handler without triggerdrivers/vfio/fsl-mc/vfio_fsl_mc_intr.c+4 -30 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchKevin TianReinette ChatreEric Auger
1/6R-b R-b
2/6R-b R-b R-b
3/6R-b R-b R-b
4/6R-b R-b R-b
5/6R-b R-b
6/6R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 5.15.y 0/6] vfio: Interrupt eventfd hardening for 5.15.y

Largely the same as the 6.1.y backports, minor context conflict still using externs in header file and still using GFP_KERNEL rather than GFP_KERNEL_ACCOUNT. Also picking up 810cd4bb5345 ("vfio/pci: Lock external INTx masking ops") which was previously included in Sasha's 6.1.y backports but here the prototype of vfio_pci_intx_mask() is different. Thanks,

Alex

Alex Williamson (6):
vfio/pci: Disable auto-enable of exclusive INTx IRQ vfio/pci: Lock external INTx masking ops
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         | 176 +++++++++++++---------
 drivers/vfio/platform/vfio_platform_irq.c | 101 +++++++++----
 drivers/vfio/virqfd.c                     |  21 +++
 include/linux/vfio.h                      |   2 +
 5 files changed, 201 insertions(+), 106 deletions(-)
Signature · 1 line
2.44.0