]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cpufreq: acpi-cpufreq: Report if CPU doesn't support boost technologies
authorErwan Velu <erwanaliasr1@gmail.com>
Wed, 20 Feb 2019 10:10:17 +0000 (11:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Apr 2019 20:33:03 +0000 (22:33 +0200)
commite57f4676b92fb8764e6a3ecee182f991345a38f3
treeba0b82e59dea200c8e9b6617326c1ba8420c2829
parenteb70531a95c84ac3780a6ffc7e8d698ee5862b52
cpufreq: acpi-cpufreq: Report if CPU doesn't support boost technologies

[ Upstream commit 1222d527f314c86a3b59a522115d62facc5a7965 ]

There is some rare cases where CPB (and possibly IDA) are missing on
processors.

This is the case fixed by commit f7f3dc00f612 ("x86/cpu/AMD: Fix
erratum 1076 (CPB bit)") and following.

In such context, the boost status isn't reported by
/sys/devices/system/cpu/cpufreq/boost.

This commit is about printing a message to report that the CPU
doesn't expose the boost capabilities.

This message could help debugging platforms hit by this phenomena.

Signed-off-by: Erwan Velu <e.velu@criteo.com>
[ rjw: Change the message text somewhat ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/cpufreq/acpi-cpufreq.c