Patch 1 adds support for up to 4096 vcpus with x2AVIC, and is unchanged since v1: http://lkml.kernel.org/r/20241008171156.11972-1-suravee.suthikulpanit@xxxxxxx Patch 2 is new and limits the value that is programmed into AVIC_PHYSICAL_MAX_INDEX in the VMCB based on the max APIC ID indicated by the VMM. - Naveen Naveen N Rao (AMD) (1): KVM: SVM: Limit AVIC physical max index based on configured max_vcpu_ids Suravee Suthikulpanit (1): KVM: SVM: Increase X2AVIC limit to 4096 vcpus arch/x86/include/asm/svm.h | 4 ++ arch/x86/kvm/svm/avic.c | 82 ++++++++++++++++++++++++++++---------- arch/x86/kvm/svm/svm.c | 6 +++ arch/x86/kvm/svm/svm.h | 1 + 4 files changed, 73 insertions(+), 20 deletions(-) base-commit: eb723766b1030a23c38adf2348b7c3d1409d11f0 -- 2.48.1