diff options
author | Marek Szyprowski <[email protected]> | 2024-03-14 13:54:57 +0100 |
---|---|---|
committer | Viresh Kumar <[email protected]> | 2024-03-15 11:18:54 +0530 |
commit | d2399501c2c081eac703ca9597ceb83c7875a537 (patch) | |
tree | cc8db05864b6619f928139f0e89635582915ad33 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | ad2a91086e288c9ab1d74eee57edabe08bd90471 (diff) |
cpufreq: dt: always allocate zeroed cpumask
Commit 0499a78369ad ("ARM64: Dynamically allocate cpumasks and increase
supported CPUs to 512") changed the handling of cpumasks on ARM 64bit,
what resulted in the strange issues and warnings during cpufreq-dt
initialization on some big.LITTLE platforms.
This was caused by mixing OPPs between big and LITTLE cores, because
OPP-sharing information between big and LITTLE cores is computed on
cpumask, which in turn was not zeroed on allocation. Fix this by
switching to zalloc_cpumask_var() call.
Fixes: dc279ac6e5b4 ("cpufreq: dt: Refactor initialization to handle probe deferral properly")
CC: [email protected] # v5.10+
Signed-off-by: Marek Szyprowski <[email protected]>
Reviewed-by: Christoph Lameter (Ampere) <[email protected]>
Reviewed-by: Dhruva Gole <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions