Re: [PATCH] cpufreq/amd-pstate: Bail out early in virtual machines and don't warn
From: Borislav Petkov
Date: Wed Jul 15 2026 - 18:59:23 EST
On Wed, Jul 15, 2026 at 04:32:53PM -0400, Jason Andryuk wrote:
> I think changing amd_cppc_supported() to return false for
> X86_FEATURE_HYPERVISOR makes sense and can remove the message. The
> heuristic there doesn't seem relevant when virtualized.
I don't maintain that code but if I were, I won't sprinkle if
X86_FEATURE_HYPERVISOR for no good reason. And the guest warning is not good
enough a reason.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette