[PATCH v3 5/7] bus: factorize devargs lookup
fengchengwen
fengchengwen at huawei.com
Wed Apr 8 03:18:42 CEST 2026
For uacce part:
Tested-by: Chengwen Feng <fengchengwen at huawei.com>
On 4/7/2026 7:52 PM, David Marchand wrote:
> Each bus reimplements some similar devargs lookup code.
>
> The differences are in how some bus (PCI, VMBUS etc...) normalizes the
> device names. We can't use the .parse existing handler from outside the
> bus code itself, as the size of the bus specific device location address
> is unknown.
> Introduce a bus specific helper to compare two device names and
> hide this ugly detail.
>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
> Acked-by: Hemant Agrawal <hemant.agrawal at nxp.com>
> Tested-by: Maxime Leroy <maxime at leroys.fr>
> Acked-by: Kevin Traynor <ktraynor at redhat.com>
More information about the dev
mailing list