From: Anatoly Burakov <anatoly.burakov@intel.com>
To: dev@dpdk.org
Subject: [PATCH v2 00/13] VFIO-related fixes
Date: Fri, 27 Nov 2026 13:14:00 +0000 [thread overview]
Message-ID: <cover.1795785194.git.anatoly.burakov@intel.com> (raw)
In-Reply-To: <cover.1795708917.git.anatoly.burakov@intel.com>
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
next prev parent reply other threads:[~2026-11-27 13:14 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 16:03 [PATCH v1 00/11] VFIO-related fixes Anatoly Burakov
2026-11-26 16:03 ` [PATCH v1 01/11] bus/cdx: fix error check when enabling bus master Anatoly Burakov
2026-11-26 16:03 ` [PATCH v1 02/11] bus/cdx: fix eventfd setup when enabling interrupts Anatoly Burakov
2026-11-26 16:03 ` [PATCH v1 03/11] bus/fslmc: fix unchecked device setup for MC portal Anatoly Burakov
2026-11-26 16:03 ` [PATCH v1 04/11] bus/fslmc: fix double close of MC portal device FD Anatoly Burakov
2026-11-26 16:03 ` [PATCH v1 05/11] bus/fslmc: fix unchecked DPIO portal mapping Anatoly Burakov
2026-11-26 16:03 ` [PATCH v1 06/11] bus/fslmc: fix DPIO portal mapping leak on close Anatoly Burakov
2026-11-26 16:03 ` [PATCH v1 07/11] bus/pci: fix shared BAR info reset on mapping failure Anatoly Burakov
2026-11-26 16:03 ` [PATCH v1 08/11] bus/pci: fix leaks on BAR " Anatoly Burakov
2026-11-26 16:03 ` [PATCH v1 09/11] bus/pci: fix BAR area list free in secondary process Anatoly Burakov
2026-11-26 16:03 ` [PATCH v1 10/11] vfio: fix uninitialized eventfds when enabling MSI-X Anatoly Burakov
2026-11-26 16:03 ` [PATCH v1 11/11] vdpa/sfc: fix doorbell address in notify area query Anatoly Burakov
2026-11-27 13:14 ` Anatoly Burakov [this message]
2026-11-27 13:14 ` [PATCH v2 01/13] interrupts: fix partial event list resize Anatoly Burakov
2026-11-27 13:14 ` [PATCH v2 02/13] interrupts: validate event list counts Anatoly Burakov
2026-11-27 13:14 ` [PATCH v2 03/13] vfio: fix uninitialized eventfds when enabling MSI-X Anatoly Burakov
2026-11-27 13:14 ` [PATCH v2 04/13] bus/cdx: fix error check when enabling bus master Anatoly Burakov
2026-11-27 13:14 ` [PATCH v2 05/13] bus/cdx: fix eventfd setup when enabling interrupts Anatoly Burakov
2026-11-27 13:14 ` [PATCH v2 06/13] bus/fslmc: fix unchecked device setup for MC portal Anatoly Burakov
2026-11-27 13:14 ` [PATCH v2 07/13] bus/fslmc: fix double close of MC portal device FD Anatoly Burakov
2026-11-27 13:14 ` [PATCH v2 08/13] bus/fslmc: fix unchecked DPIO portal mapping Anatoly Burakov
2026-11-27 13:14 ` [PATCH v2 09/13] bus/fslmc: fix DPIO portal mapping leak on close Anatoly Burakov
2026-11-27 13:14 ` [PATCH v2 10/13] bus/pci: fix shared BAR info reset on mapping failure Anatoly Burakov
2026-11-27 13:14 ` [PATCH v2 11/13] bus/pci: fix leaks on BAR " Anatoly Burakov
2026-11-27 13:14 ` [PATCH v2 12/13] bus/pci: fix BAR area list free in secondary process Anatoly Burakov
2026-11-27 13:14 ` [PATCH v2 13/13] vdpa/sfc: fix doorbell address in notify area query Anatoly Burakov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1795785194.git.anatoly.burakov@intel.com \
--to=anatoly.burakov@intel.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox