Acked-by: Chengwen Feng <[email protected]>
On 8/12/2026 5:29 PM, Gagandeep Singh wrote: > The platform bus currently matches a DPDK driver to a device only by > comparing the kernel driver name bound to the device against the DPDK > driver name. Devices bound to the generic vfio-platform kernel driver > all report the same driver name, which carries no device identity, so a > specific DPDK driver cannot claim its device this way. > > Add of_device_is_compatible(), which reads the device-tree "compatible" > strings exposed under the device's of_node in sysfs and compares them > against a requested string. platform_bus_match() now falls back to > matching the DPDK driver name or its alias against these compatible > strings, letting a driver bind to a device identified by its > device-tree "compatible" value. > > Signed-off-by: Gagandeep Singh <[email protected]>

