Re: [PATCH v3 8/8] nvdimm: Fix firmware activation deadlock scenarios

2022-04-23 Thread Dan Williams
On Fri, Apr 22, 2022 at 9:28 PM Ira Weiny wrote: > > On Thu, Apr 21, 2022 at 08:33:51AM -0700, Dan Williams wrote: > > Lockdep reports the following deadlock scenarios for CXL root device > > power-management, device_prepare(), operations, and device_shutdown() > > operations for 'nd_region'

Re: [PATCH v3 8/8] nvdimm: Fix firmware activation deadlock scenarios

2022-04-22 Thread Ira Weiny
On Thu, Apr 21, 2022 at 08:33:51AM -0700, Dan Williams wrote: > Lockdep reports the following deadlock scenarios for CXL root device > power-management, device_prepare(), operations, and device_shutdown() > operations for 'nd_region' devices: > > --- > Chain exists of: >_region_key -->

[PATCH v3 8/8] nvdimm: Fix firmware activation deadlock scenarios

2022-04-21 Thread Dan Williams
Lockdep reports the following deadlock scenarios for CXL root device power-management, device_prepare(), operations, and device_shutdown() operations for 'nd_region' devices: --- Chain exists of: _region_key --> _bus->reconfig_mutex --> system_transition_mutex Possible unsafe locking