summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2026-08-28 11:11:58 +0800
committerViresh Kumar <viresh.kumar@linaro.org>2026-10-16 11:12:33 +0530
commit290814d3c22b300eb36b74dc76ad36bd7fdc1220 (patch)
tree448029ef24bfa8798798ae757e27d42cadc58607 /tools/perf/scripts/python/task-analyzer.py
parent48a82a3f44576a1b227f964fdb150e1cae7455bf (diff)
cpufreq: loongson3: Adjust the width of id and val in smc_message
The id field of smc_message is usually stand for the CPU ID. In the past this driver was only tested for desktop and laptop productions so 4-bits are enough. But now we have servers that can have as many as 256 cores, so we need 8-bits CPU ID. On the other hand, the val field is usually stand for CPU frequency so 12-bits are enough to represent 4GHz, and for higher frequencies there is an extra bit to extend (enough for 8GHz). In theory, this is a incompatible change, but fortunately the old SMC firmwares are not widely shipped and can be updated on the air, thus we can safely adjust the widths. Cc: stable@vger.kernel.org Fixes: ccf51454145b ("cpufreq: Add Loongson-3 CPUFreq driver support") Signed-off-by: Hongliang Wang <wanghongliang@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn> Reviewed-by: Zhongqiu Han <zhongqiu.han@oss.qualcomm.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions