Kernel 6.11 and amd_pstate

I get this at boot since 6.11:

0.554690] amd_pstate: min_freq(0) or max_freq(0) or nominal_freq(0) value is incorrect
[    0.554738] fbcon: Taking over console
[    0.564743] amd_pstate: min_freq(0) or max_freq(0) or nominal_freq(0) value is incorrect
[    0.574705] amd_pstate: min_freq(0) or max_freq(0) or nominal_freq(0) value is incorrect
[    0.582313] amd_pstate: min_freq(0) or max_freq(0) or nominal_freq(0) value is incorrect
[    0.592312] amd_pstate: min_freq(0) or max_freq(0) or nominal_freq(0) value is incorrect
[    0.601341] amd_pstate: min_freq(0) or max_freq(0) or nominal_freq(0) value is incorrect
[    0.611343] amd_pstate: min_freq(0) or max_freq(0) or nominal_freq(0) value is incorrect
[    0.621342] amd_pstate: min_freq(0) or max_freq(0) or nominal_freq(0) value is incorrect
[    0.631343] amd_pstate: min_freq(0) or max_freq(0) or nominal_freq(0) value is incorrect
[    0.641343] amd_pstate: min_freq(0) or max_freq(0) or nominal_freq(0) value is incorrect
[    0.651343] amd_pstate: min_freq(0) or max_freq(0) or nominal_freq(0) value is incorrect
[    0.661347] amd_pstate: min_freq(0) or max_freq(0) or nominal_freq(0) value is incorrect
[    0.661435] amd_pstate: failed to register with return -19

Is there a known way to fix it? I could not find anything so far.

Have you checked posts regarding amd pstate? There are many.

ex:

I have the very same messages popping up since the latest kernel update.

I followed the steps to enable pstate (currently running acpi-cpufreq) in your link but it doesn’t seem to work at all.

I read a lot, yes.
Maybe there is some misunderstanding- i am not neccessarily trying to “make it work”.
I am noticing these kernel messages since kernel 6.11 (these do not appear with the lts kernel at all), which seem to indicate that the kernel itself is trying to activate amd p-state; which obviously fails.
So what i would like to achieve is either to tell the kernel not trying to load amd p state, or make it work. I tried the latter without avail. Most likely because the BIOS shows no ccpc option at all anyway.

I don’t know what your hardware is but it’s possible these are just messaging that one doesn’t need to worry about. I have one laptop that is an amd 4700u that also doesn’t enable amd pstate but i haven’t checked to see if it has this same messaging. I’ll have to check on that one.

I worry about it (a tiny bit at least) as it slows down the boot process.

How much? Do you see a difference in “systemd-analyze time”? I do not want to discourage you to follow up on your topic. I am also a big fan of clean log files. I am just curious about the real impact to the boot process.

@dreadnought
On my amd 4700u it only shows this.

dmesg shows about 100ms for the pstate initialization process and error messages, followed by 800ms with nothing happening at all. So 1 second roughly.
You know, i can feel it. :stuck_out_tongue:
Somehow i was hopeful i could turn this off via kernel options.

I see this but not sure if it gets fixed in later kernels.

https://lore.kernel.org/lkml/df99663b-23bd-43ac-b277-cd6700f16809@app.fastmail.com/T/

In this link they say that this message is only showing if CPCC is disabled in the BIOS. Is that the case here?

My CPPC setting was set to “auto” before, but now that I’ve set it to “enabled”, I still get the same error messages as OP posted.
It was listed underneath CPU settings @dreadnought

Me and OP are both getting error messages in regards to amd_pstate because the newer Linux kernel enables the amd_pstate driver by default, but it’s doesn’t seem to be working correctly (I’m still running acpi-cpufreq despite trying to get amd_pstate to work).

If CPPC was at fault for me and/or OP, either of us would be getting an error that CPPC hadn’t been enabled (like mentioned in the lore.kernel.org link posted earlier).

> amd_pstate: min_freq(0) or max_freq(0) or nominal_freq(0) value is incorrect

This happens on your platform because the ACPI CPPC version on your
platform is v2 doesn't advertise the nominal_freq and lowest_freq.

EDIT: I have updated my motherboard BIOS, the errors have disappeared and I’m now running amd_pstate!

2 Likes

Yes i think so because I have no setting for CPPC in the Bios on this HP laptop. But I don’t get these error messages either so I really don’t know. I’ve never been able to make amdpstate work on this 4700u.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.