Dan Williams 3c5b903955 cxl: Prove CXL locking
When CONFIG_PROVE_LOCKING is enabled the 'struct device' definition gets
an additional mutex that is not clobbered by
lockdep_set_novalidate_class() like the typical device_lock(). This
allows for local annotation of subsystem locks with mutex_lock_nested()
per the subsystem's object/lock hierarchy. For CXL, this primarily needs
the ability to lock ports by depth and child objects of ports by their
parent parent-port lock.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Ben Widawsky <ben.widawsky@intel.com>
Link: https://lore.kernel.org/r/164365853422.99383.1052399160445197427.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2022-02-08 22:57:29 -08:00
..
2021-09-21 13:44:55 -07:00
2021-11-09 11:24:08 -08:00
2021-07-21 11:53:42 +02:00
2021-11-08 11:49:48 -08:00
2021-12-04 08:58:51 -08:00
2021-09-21 13:44:56 -07:00
2021-09-21 13:44:56 -07:00
2019-07-16 19:44:26 -07:00
2022-02-08 22:57:29 -08:00
2021-09-21 13:44:56 -07:00
2021-09-21 13:44:55 -07:00
2020-08-11 10:59:19 -07:00
2022-01-14 18:50:52 -05:00