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

2020-09-01 Thread Rafael J. Wysocki
On Tue, Sep 1, 2020 at 12:10 AM Saravana Kannan wrote: > > 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 devic

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

2020-09-01 Thread Dong Aisheng
Hi Saravana On Tue, Sep 1, 2020 at 6:10 AM Saravana Kannan wrote: > > 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

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

2020-08-31 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 cycle