Re: [Regression] 6.11.0-rc1: AMD CPU boot with error when CPPC feature disabled by BIOS

From: Gautham R . Shenoy
Date: Wed Jul 31 2024 - 06:12:38 EST


Hello David,

David Wang <00107082@xxxxxxx> writes:

> Hi,
>
> I notice some kernel warning and errors when I update to 6.11.0-rc1:
>
> kernel: [ 1.022739] amd_pstate: The CPPC feature is supported but currently disabled by the BIOS.
> kernel: [ 1.022739] Please enable it if your BIOS has the CPPC option.
> kernel: [ 1.098054] amd_pstate: min_freq(0) or max_freq(0) or nominal_freq(0) value is incorrect
> kernel: [ 1.110058] amd_pstate: min_freq(0) or max_freq(0) or nominal_freq(0) value is incorrect
> kernel: [ 1.122057] amd_pstate: min_freq(0) or max_freq(0) or nominal_freq(0) value is incorrect
> kernel: [ 1.134062] amd_pstate: min_freq(0) or max_freq(0) or nominal_freq(0) value is incorrect
> kernel: [ 1.134641] amd_pstate: min_freq(0) or max_freq(0) or nominal_freq(0) value is incorrect
> kernel: [ 1.135128] amd_pstate: min_freq(0) or max_freq(0) or nominal_freq(0) value is incorrect
> kernel: [ 1.135693] amd_pstate: min_freq(0) or max_freq(0) or nominal_freq(0) value is incorrect
> kernel: [ 1.136371] amd_pstate: min_freq(0) or max_freq(0) or nominal_freq(0) value is incorrect
> kernel: [ 1.136390] amd_pstate: failed to register with return -19
> kernel: [ 1.138410] ledtrig-cpu: registered to indicate activity on CPUs
>
>
> Those warning message was introduced by commit:
> bff7d13c190ad98cf4f877189b022c75df4cb383 ("cpufreq: amd-pstate: add debug message while CPPC is supported and disabled by SBIOS)
> , which make sense.


If CPPC is disabed in the BIOS, then the _CPC objects shouldn't have
been created. And the error message that you should have seen is
"the _CPC object is not present in SBIOS or ACPI disabled".


Could you please share the family and model number of the platform where
you are observing this ?

--
Thanks and Regards
gautham.