]> Gentwo Git Trees - linux/.git/commit
KVM: SVM: Always print "AVIC enabled" separately, even when force enabled
authorSean Christopherson <seanjc@google.com>
Fri, 19 Sep 2025 21:59:31 +0000 (14:59 -0700)
committerSean Christopherson <seanjc@google.com>
Tue, 23 Sep 2025 15:56:47 +0000 (08:56 -0700)
commitce4253e21fa8a4468474e26884196770cb560eae
tree553e9289d81d42445271fe1b5226ded1124fadbd
parenta9095e4fc4368052593c84472a8d374fefd3df71
KVM: SVM: Always print "AVIC enabled" separately, even when force enabled

Print the customary "AVIC enabled" informational message even when AVIC is
force enabled on a system that doesn't advertise supported for AVIC in
CPUID, as not printing the standard message can confuse users and tools.

Opportunistically clean up the scary message when AVIC is force enabled,
but keep it as separate message so that it is printed at level "warn",
versus the standard message only being printed for level "info".

Suggested-by: Naveen N Rao (AMD) <naveen@kernel.org>
Reviewed-by: Naveen N Rao (AMD) <naveen@kernel.org>
Tested-by: Naveen N Rao (AMD) <naveen@kernel.org>
Link: https://lore.kernel.org/r/20250919215934.1590410-5-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/avic.c