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

Mika Westerberg mika.westerberg at linux.intel.com
Fri Aug 7 14:31:13 MSK 2026


On Fri, Aug 07, 2026 at 02:13:06PM +0300, Dmitry Antipov wrote:
> On 8/7/26 12:58 PM, Mika Westerberg wrote:
> 
> > Yeah, I'm not entirely sure we want to start "fixing" issues like these
> > where it's clearly not a USB4/TB NHI. IMHO If user forces the driver
> > somehow to bind to this unrelated device then she/he got what asked for.
> 
> I agree but isn't there a scenario to trigger such a weird probe just by mistake?

Okay but how it is "mistake"? ;-) I'm actually not sure how this was even
triggered. Something like you as root echo random PCI device name to "bind"
files of a driver?



More information about the lvc-project mailing list