Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f680eb3a authored by Rohit Gupta's avatar Rohit Gupta
Browse files

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: default avatarRohit Gupta <rohgup@codeaurora.org>
parent b06f2ad5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment