]> www.infradead.org Git - users/willy/xarray.git/commit
cpufreq: amd-pstate: add debug message while CPPC is supported and disabled by SBIOS
authorPerry Yuan <perry.yuan@amd.com>
Wed, 19 Jun 2024 15:40:15 +0000 (23:40 +0800)
committerMario Limonciello <mario.limonciello@amd.com>
Fri, 21 Jun 2024 02:52:05 +0000 (21:52 -0500)
commitbff7d13c190ad98cf4f877189b022c75df4cb383
treedb7e7a447f50b20c21187ee9df9019add8ba26cb
parentcb817ec6673b7c2faed2141e7f7ae5d7052b2442
cpufreq: amd-pstate: add debug message while CPPC is supported and disabled by SBIOS

If CPPC feature is supported by the CPU however the CPUID flag bit is not
set by SBIOS, the `amd_pstate` will be failed to load while system
booting.
So adding one more debug message to inform user to check the SBIOS setting,
The change also can help maintainers to debug why amd_pstate driver failed
to be loaded at system booting if the processor support CPPC.

Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218686
Signed-off-by: Perry Yuan <perry.yuan@amd.com>
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Acked-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/42c953616ac121bd1e5c329e83d015a02e6b32c7.1718811234.git.perry.yuan@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
drivers/cpufreq/amd-pstate.c