RE: [PATCH v2] driver core: Fix device_pm_lock() locking for device links

2020-09-01 Thread Peng Fan
> Subject: [PATCH v2] driver core: Fix device_pm_lock() locking for device links > > This commit fixes two issues: > > 1. The lockdep warning reported by Dong Aisheng > [1]. > > It is a warning about a cycle (dpm_list_mtx --> kn->active#3 --> fw_lock) that

[PATCH v2] driver core: Fix device_pm_lock() locking for device links

2020-09-01 Thread Saravana Kannan
This commit fixes two issues: 1. The lockdep warning reported by Dong Aisheng [1]. It is a warning about a cycle (dpm_list_mtx --> kn->active#3 --> fw_lock) that was introduced when device-link devices were added to expose device link information in sysfs. The patch that "introduced" this