[lvc-project] [PATCH] thunderbolt: verify PCI resource type and size in nhi_probe()

Mika Westerberg mika.westerberg at linux.intel.com
Fri Aug 7 15:01:49 MSK 2026


On Fri, Aug 07, 2026 at 02:47:54PM +0300, Dmitry Antipov wrote:
> On 8/7/26 2:31 PM, Mika Westerberg wrote:
> 
> > I'm actually not sure how this was even triggered
> 
> :-) just as documented in https://docs.kernel.org/driver-api/driver-model/binding.html:
> 
> Userspace may override the standard matching by writing a driver name to a device’s
> driver_override sysfs attribute. When set, only a driver whose name matches the
> override will be considered during binding. This bypasses all bus-specific matching
> (OF, ACPI, ID tables, etc.).

Okay through driver_override, thanks. It also says:

  Buses opt into this mechanism by setting the driver_override flag in their
  struct bus_type.

But that's not done in struct tb_bust_type.

So there should be no such attribute available even.



More information about the lvc-project mailing list