On 3/26/26 10:24 AM, David Marchand wrote:
> All buses (thankfully) implement the same logic when it comes to
> selecting the devices to probe based on -a/-b options.
> As we want to adjust how devices are selected, provide a common helper
> in EAL and use it in the buses.
> 
> Signed-off-by: David Marchand <[email protected]>
> Acked-by: Bruce Richardson <[email protected]>
> Reviewed-by: Robin Jarry <[email protected]>
> Acked-by: Hemant Agrawal <[email protected]>
> Tested-by: Maxime Leroy <[email protected]>
> ---
> Changes since v1:
> - fixed device selection in dma/idxd,
> 
> Changes since RFC v2:
> - changed API to query about a device name and hide the devargs meaning
>   in the common code,
> 
> ---
>  drivers/bus/auxiliary/auxiliary_common.c | 19 ----------------
>  drivers/bus/auxiliary/linux/auxiliary.c  |  2 +-
>  drivers/bus/auxiliary/private.h          |  6 -----
>  drivers/bus/cdx/cdx.c                    | 21 +-----------------
>  drivers/bus/dpaa/dpaa_bus.c              | 24 ++++++--------------
>  drivers/bus/fslmc/fslmc_bus.c            | 22 ++++++-------------
>  drivers/bus/pci/bsd/pci.c                |  5 ++++-
>  drivers/bus/pci/linux/pci.c              |  2 +-
>  drivers/bus/pci/pci_common.c             | 23 -------------------
>  drivers/bus/pci/private.h                | 11 ----------
>  drivers/bus/pci/windows/pci.c            |  4 +++-
>  drivers/bus/platform/platform.c          | 28 ++----------------------
>  drivers/bus/uacce/uacce.c                | 22 +------------------
>  drivers/bus/vmbus/vmbus_common.c         | 25 +--------------------
>  drivers/dma/idxd/idxd_bus.c              |  8 ++-----
>  lib/eal/common/eal_common_bus.c          | 19 ++++++++++++++++
>  lib/eal/include/bus_driver.h             |  6 +++++
>  17 files changed, 55 insertions(+), 192 deletions(-)

Acked-by: Kevin Traynor <[email protected]>

Reply via email to