On Fri, Nov 24, 2023 at 10:49:45AM +0000, Shinichiro Kawasaki wrote: > On Nov 14, 2023 / 19:58, Andy Shevchenko wrote: ... > I created a patch below and confirmed it avoided the lockdep WARN. The > i2c-i801 probe was ok at system boot. Another possible solution I was thinking about is to have a local cache, so, make p2sb.c to be called just after PCI enumeration at boot time to cache the P2SB device's bar, and then cache the bar based on the device in question at the first call. Yet it may not remove all theoretical / possible scenarios with dead lock (taking into account hotpluggable devices), but won't fail the i801 driver in the above use case IIUC. -- With Best Regards, Andy Shevchenko