Jonathan Cameron wrote: > On Thu, 01 Dec 2022 13:33:48 -0800 > Dan Williams <[email protected]> wrote: > > > Now that the cxl_mem driver has a need to take the root device lock, the > > cxl_bus_rescan() needs to run outside of the root lock context. > > If possible add a bit more detail here or a reference to the patch > that needs to take the root device lock.
Sure, updated to: cxl/acpi: Move rescan to the workqueue Now that the cxl_mem driver has a need to take the root device lock, the cxl_bus_rescan() needs to run outside of the root lock context. That need arises from RCH topologies and the locking that the cxl_mem driver does to attach a descendant to an upstream port. In the RCH case the lock needed is the CXL root device lock [1]. Link: http://lore.kernel.org/r/166993045621.1882361.1730100141527044744.st...@dwillia2-xfh.jf.intel.com [1]
