linux_dsm_epyc7002/drivers/base/power
Ulf Hansson b24e196586 PM / Domains: Search for the CPU device outside the genpd lock
While attaching/detaching a device to a PM domain (genpd) with
GENPD_FLAG_CPU_DOMAIN set, genpd iterates the cpu_possible_mask to
check whether or not the device corresponds to a CPU. This iteration
is done while holding the genpd's lock, which is unnecessary.

Avoid the locking by restructuring the corresponding code a bit.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2019-04-25 23:18:03 +02:00
..
clock_ops.c PM: clock_ops: fix missing clk_prepare() return value check 2019-01-18 11:47:07 +01:00
common.c PM / Domains: Mark "name" const in dev_pm_domain_attach_by_name() 2019-02-15 11:36:38 +01:00
domain_governor.c PM / Domains: Add genpd governor for CPUs 2019-04-11 22:41:01 +02:00
domain.c PM / Domains: Search for the CPU device outside the genpd lock 2019-04-25 23:18:03 +02:00
generic_ops.c PM / sleep: Remove pm_complete_with_resume_check() 2017-10-11 15:40:29 +02:00
main.c Additional power management updates for 5.1-rc1 2019-03-14 10:30:06 -07:00
Makefile Merge branches 'pm-cpufreq-sched' and 'pm-opp' 2017-11-13 01:40:52 +01:00
power.h PM-runtime: Consolidate code to get active/suspended time 2019-03-07 11:23:17 +01:00
qos.c PM / QoS: Fix typo in file description 2019-03-11 10:35:53 +01:00
runtime.c Additional power management updates for 5.1-rc1 2019-03-14 10:30:06 -07:00
sysfs.c PM-runtime: Call pm_runtime_active|suspended_time() from sysfs 2019-03-07 11:23:17 +01:00
trace.c PM: Add and use pr_fmt() 2019-03-07 11:02:02 +01:00
wakeirq.c PM / wakeirq: Add wakeup name to dedicated wake irqs 2018-02-26 23:23:37 +01:00
wakeup.c Merge branches 'pm-core', 'pm-sleep' and 'pm-qos' 2019-03-14 10:51:38 +01:00