diff options
| author | 2026-08-28 11:11:58 +0800 | |
|---|---|---|
| committer | 2026-10-16 11:12:33 +0530 | |
| commit | 290814d3c22b300eb36b74dc76ad36bd7fdc1220 (patch) | |
| tree | 448029ef24bfa8798798ae757e27d42cadc58607 /scripts/Makefile.thinlto | |
| parent | cpufreq: loongson3: Make this driver depend on MACH_LOONGSON64 (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
