Re: [PATCH v4 0/7] KVM: SVM: Enable AVIC for Zen4+ (if x2AVIC)

From: Sean Christopherson
Date: Wed Sep 24 2025 - 14:45:43 EST


On Fri, 19 Sep 2025 14:59:27 -0700, Sean Christopherson wrote:
> Enable AVIC by default for Zen4+, so long as x2AVIC is supported (which should
> be the case if AVIC is supported).
>
> v4:
> - Collect tags. [Naveen]
> - Add missing "(AMD)" for Naveen's attribution. [Naveen]
> - Make svm_x86_ops globally visible, to match TDX, instead of passing in
> the struct as parameter to avic_hardware_setup(). [Naveen]
> - s/avic_want_avic_enabled/avic_want_enabled. [Naveen]
> - Print "AVIC enabled" in avic_harware_setup() so that it's close to the
> "x2AVIC enabled" message. [Naveen]
>
> [...]

Applied to kvm-x86 svm, thanks!

[1/7] KVM: SVM: Make svm_x86_ops globally visible, clean up on-HyperV usage
https://github.com/kvm-x86/linux/commit/44bfe1f0490d
[2/7] KVM: SVM: Move x2AVIC MSR interception helper to avic.c
https://github.com/kvm-x86/linux/commit/eb44ea6a7aac
[3/7] KVM: SVM: Update "APICv in x2APIC without x2AVIC" in avic.c, not svm.c
https://github.com/kvm-x86/linux/commit/a9095e4fc436
[4/7] KVM: SVM: Always print "AVIC enabled" separately, even when force enabled
https://github.com/kvm-x86/linux/commit/ce4253e21fa8
[5/7] KVM: SVM: Don't advise the user to do force_avic=y (when x2AVIC is detected)
https://github.com/kvm-x86/linux/commit/ad65dca2ca4c
[6/7] KVM: SVM: Move global "avic" variable to avic.c
https://github.com/kvm-x86/linux/commit/b14665353162
[7/7] KVM: SVM: Enable AVIC by default for Zen4+ if x2AVIC is support
https://github.com/kvm-x86/linux/commit/ca2967de5a5b

--
https://github.com/kvm-x86/linux/tree/next