Fix a few memory leaks and other bugs in VFIO-related bus code. v1 -> v2: - Address AI feedback on nr_efd being potentially bigger than nr_intr by adding two patches preventing this from happening - Move VFIO fix to earlier in the patchset
Anatoly Burakov (13): interrupts: fix partial event list resize interrupts: validate event list counts vfio: fix uninitialized eventfds when enabling MSI-X bus/cdx: fix error check when enabling bus master bus/cdx: fix eventfd setup when enabling interrupts bus/fslmc: fix unchecked device setup for MC portal bus/fslmc: fix double close of MC portal device FD bus/fslmc: fix unchecked DPIO portal mapping bus/fslmc: fix DPIO portal mapping leak on close bus/pci: fix shared BAR info reset on mapping failure bus/pci: fix leaks on BAR mapping failure bus/pci: fix BAR area list free in secondary process vdpa/sfc: fix doorbell address in notify area query app/test/test_interrupts.c | 89 ++++++++++++++++++++++++ drivers/bus/cdx/cdx_vfio.c | 29 ++++++-- drivers/bus/fslmc/fslmc_vfio.c | 10 ++- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 37 ++++++++-- drivers/bus/pci/linux/pci_vfio.c | 21 +++--- drivers/vdpa/sfc/sfc_vdpa_ops.c | 10 ++- lib/eal/common/eal_common_interrupts.c | 53 +++++++++----- lib/eal/include/rte_interrupts.h | 5 +- lib/eal/linux/eal_interrupts.c | 7 +- 9 files changed, 213 insertions(+), 48 deletions(-) -- 2.52.0

