diff options
| author | Rohit Gupta <rohgup@codeaurora.org> | 2015-10-27 17:46:49 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:04:40 -0700 |
| commit | e0bb9942b488e20ce315ab5d536aa1085f75be99 (patch) | |
| tree | eb2539f5cb3c92c2149433bb6165c32e65e5e23d /drivers/devfreq/devfreq_simple_dev.c | |
| parent | 43f61ed8aa3ebb85c40b329b83f33b79f08712c6 (diff) | |
PM / devfreq: memlat: Get complete CPU list during the probe
Currently arm-memlat-mon driver uses cpu_coregroup_mask to get
the sibling CPUs for the first CPU specified during the probe.
However if any of the CPUs in a cluster isn't hotplugged in
even once before the probe runs then the call to cpu_coregroup_mask
might not give the updated list of all the sibling CPUs for the
specified CPU.
With this change the initialization of the cpumask for the memlat
device is obtained from the list of CPU phandles specified in the
dtsi file.
Change-Id: Ide97d60d9eecbbe1d33deda72a13951059822896
Signed-off-by: Rohit Gupta <rohgup@codeaurora.org>
[junjiew@codeaurora.org: dropped changes in dtsi files.]
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
Diffstat (limited to 'drivers/devfreq/devfreq_simple_dev.c')
0 files changed, 0 insertions, 0 deletions
