RE: [RFC 00/11] Device unplug and bus cleanup refactoring for NXP
Hemant Agrawal <[email protected]> Thu, 23 Jul 2026 14:11:23 +0000
| Newsgroups | org.dpdk.dev |
|---|---|
| Message-ID | <GV1PR04MB10750F000EEB3E024D8BB456C89C02@GV1PR04MB10750.eurprd04.prod.outlook.com> |
HI David, Thanks for the work. We will test it soon. Regards Hemant > -----Original Message----- > From: David Marchand <[email protected]> > Sent: 23 July 2026 19:24 > To: Hemant Agrawal <[email protected]>; [email protected] > Subject: [RFC 00/11] Device unplug and bus cleanup refactoring for NXP > Importance: High > > Hello Hemant, > > This is a followup to the refactoring started in 26.07. > > I took some time with my best AI friend to cleanup DPAA and FSLMC bus drivers. > > Like the last time, only compilation has been checked. > I have no hardware to test runtime. > > One thing that could be broken is either the order of devices initialisation, or bugs > in the device filtering that I tried to simplify. > > I think it is worth testing and fixing, as it will make the two NXP bus drivers similar > to other bus drivers (but keep the special IO devices handling internal to the > FSLMC bus for example). > > > -- > David Marchand > > David Marchand (11): > drivers/bus: cleanup device freeing in NXP bus scan > bus/dpaa: allocate interrupt during probing > bus/dpaa: support unplug and use generic cleanup > bus/fslmc: fix memory leaks in scan > bus/fslmc: fix per type device count > bus/fslmc: simplify device parsing in scan > bus/fslmc: refactor device filtering for multiprocess > bus/fslmc: move unplug for some device out of VFIO > bus/fslmc: call VFIO setup for some device from bus layer > bus/fslmc: allocate interrupt during probing > bus/fslmc: use generic cleanup > > doc/guides/rel_notes/release_26_11.rst | 4 + > drivers/bus/dpaa/dpaa_bus.c | 134 +++++----- > drivers/bus/fslmc/fslmc_bus.c | 295 +++++++++++++++-------- > drivers/bus/fslmc/fslmc_vfio.c | 255 +++++++------------- > drivers/bus/fslmc/fslmc_vfio.h | 5 + > drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 1 + > drivers/bus/fslmc/private.h | 2 + > 7 files changed, 368 insertions(+), 328 deletions(-) > > -- > 2.54.0