mbox series

[v2,0/2] KVM: SVM: Add support for 4096 vcpus with x2AVIC

Message ID cover.1738563890.git.naveen@kernel.org (mailing list archive)
Headers show
Series KVM: SVM: Add support for 4096 vcpus with x2AVIC | expand

Message

Naveen N Rao Feb. 3, 2025, 6:37 a.m. UTC
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@amd.com

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