Re: [PATCH 02/11] cxl/core: Refactor a cxl_lock_class() out of cxl_nested_lock()

2022-03-09 Thread Dan Williams
On Wed, Mar 9, 2022 at 10:19 AM Jonathan Cameron wrote: > > On Mon, 28 Feb 2022 18:49:00 -0800 > Dan Williams wrote: > > > In preparation for upleveling device_lock() lockdep annotation support into > > the core, provide a helper to retrieve the lock class. This lock_class > > will be used with d

[PATCH 02/11] cxl/core: Refactor a cxl_lock_class() out of cxl_nested_lock()

2022-02-28 Thread Dan Williams
In preparation for upleveling device_lock() lockdep annotation support into the core, provide a helper to retrieve the lock class. This lock_class will be used with device_set_lock_class() to idenify the CXL nested locking rules. Cc: Alison Schofield Cc: Vishal Verma Cc: Ira Weiny Cc: Ben Widaw