linux_dsm_epyc7002/drivers/base/power
Ming Lei d63be5f924 PM / Runtime: fix recursive locking warning of lockdep from rpm_resume()
For device with no_callbacks flag set, its power lock and its parent's
power lock may be held nestedly in rpm_resume, so we should take
spin_lock_nested(lock, SINGLE_DEPTH_NESTING) to acquire parent power lock
to avoid lockdep warning.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
2010-10-22 23:48:14 +02:00
..
generic_ops.c PM / Runtime: Lenient generic runtime pm callbacks 2010-10-17 01:57:41 +02:00
main.c PM: Fix potential issue with failing asynchronous suspend 2010-10-17 01:57:43 +02:00
Makefile PM: Introduce library for device-specific OPPs (v7) 2010-10-17 01:57:50 +02:00
opp.c PM: Introduce library for device-specific OPPs (v7) 2010-10-17 01:57:50 +02:00
power.h PM / Runtime: Add no_callbacks flag 2010-10-17 01:57:47 +02:00
runtime.c PM / Runtime: fix recursive locking warning of lockdep from rpm_resume() 2010-10-22 23:48:14 +02:00
sysfs.c PM / Runtime: Implement autosuspend support 2010-10-17 01:57:48 +02:00
trace.c PM: Add sysfs attr for rechecking dev hash from PM trace 2010-10-17 01:57:50 +02:00
wakeup.c PM / Wakeup: Show wakeup sources statistics in debugfs 2010-10-19 23:42:49 +02:00