android_kernel_sony_sdm845/tools/power
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Abhishek Goel 5e32f6db58 cpupower : frequency-set -r option misses the last cpu in related cpu list
[ Upstream commit 04507c0a9385cc8280f794a36bfff567c8cc1042 ]

To set frequency on specific cpus using cpupower, following syntax can
be used :
cpupower -c #i frequency-set -f #f -r

While setting frequency using cpupower frequency-set command, if we use
'-r' option, it is expected to set frequency for all cpus related to
cpu #i. But it is observed to be missing the last cpu in related cpu
list. This patch fixes the problem.

Signed-off-by: Abhishek Goel <huntbag@linux.vnet.ibm.com>
Reviewed-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-08-04 09:33:18 +02:00
..
acpi tools/power/acpi: Remove direct kernel source include reference 2016-11-16 22:31:26 +01:00
cpupower cpupower : frequency-set -r option misses the last cpu in related cpu list 2019-08-04 09:33:18 +02:00
x86 x86/msr-index: Cleanup bit defines 2019-05-14 19:19:39 +02:00