aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPratik R. Sampat <[email protected]>2021-07-28 17:35:00 +0530
committerMichael Ellerman <[email protected]>2021-08-13 22:04:25 +1000
commitf34ee9cb2c5ac5af426fee6fa4591a34d187e696 (patch)
treedf9d51e5e5bc636726ef54b93228b0e0ac95508a /scripts
parent140a89b7bfe65e9649c4a3678f74c32556834ec1 (diff)
cpufreq: powernv: Fix init_chip_info initialization in numa=off
In the numa=off kernel command-line configuration init_chip_info() loops around the number of chips and attempts to copy the cpumask of that node which is NULL for all iterations after the first chip. Hence, store the cpu mask for each chip instead of derving cpumask from node while populating the "chips" struct array and copy that to the chips[i].mask Fixes: 053819e0bf84 ("cpufreq: powernv: Handle throttling due to Pmax capping at chip level") Cc: [email protected] # v4.3+ Reported-by: Shirisha Ganta <[email protected]> Signed-off-by: Pratik R. Sampat <[email protected]> Reviewed-by: Gautham R. Shenoy <[email protected]> [mpe: Rename goto label to out_free_chip_cpu_mask] Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions