Skip to content

KVM: SVM: Add support for 4k vCPUs with x2AVIC

Naveen N Rao (AMD) kvm 4 versions – Applied

Status from this message: Applied to kvm-x86 svm, with a few minor tweak to drop the enable_apicv check

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest posting 2/27 patches 3 repliesApplied
  2. v4 posting 1/27 patches 0 repliesSuperseded
  3. v32 patches 11 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v22 patches2 repliesSuperseded

Patches in v4 posting 2/2 Applied

#Subject and filesSizeRepliesApplied
1/7KVM: SVM: Limit AVIC physical max index based on configured max_vcpu_idsarch/x86/kvm/svm/avic.c+5 -20 replies
2/7KVM: SVM: Add a helper to look up the max physical ID for AVICarch/x86/kvm/svm/avic.c+20 -60 replies
3/7KVM: SVM: Replace hard-coded value 0x1FF with the corresponding macroarch/x86/kvm/svm/avic.c+1 -10 replies
4/7KVM: SVM: Expand AVIC_PHYSICAL_MAX_INDEX_MASK to be a 12-bit fieldarch/x86/include/asm/svm.h+1 -10 replies
5/7KVM: SVM: Move AVIC Physical ID table allocation to vcpu_precreate()arch/x86/kvm/svm/avic.c arch/x86/kvm/svm/svm.c arch/x86/kvm/svm/svm.h+24 -40 replies
6/7x86/cpufeatures: Add X86_FEATURE_X2AVIC_EXTarch/x86/include/asm/cpufeatures.h arch/x86/kernel/cpu/scattered.c+2 -01 reply
7/7KVM: SVM: Add AVIC support for 4k vCPUs in x2AVIC modearch/x86/include/asm/svm.h arch/x86/kvm/svm/avic.c+35 -110 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchBorislav Petkov (AMD)
1/7
2/7
3/7
4/7
5/7
6/7A-b
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [RESEND v4 0/7] KVM: SVM: Add support for 4k vCPUs with x2AVIC

Nikunj pointed out that I have missed copying the x86 maintainers though I am adding a new CPUID feature bit. Re-sending this series for that reason.

--
This is v4 of the series posted here:
http://lkml.kernel.org/r/[email protected]

This series has been significantly re-worked based on the feedback received on v3, as well as to accommodate upstream changes to SVM and AVIC code. I have not picked up Vasant's and Pankaj's review tags for that purpose. Kindly review again.

- Naveen

Naveen N Rao (AMD) (7):
KVM: SVM: Limit AVIC physical max index based on configured
max_vcpu_ids
KVM: SVM: Add a helper to look up the max physical ID for AVIC
KVM: SVM: Replace hard-coded value 0x1FF with the corresponding macro
KVM: SVM: Expand AVIC_PHYSICAL_MAX_INDEX_MASK to be a 12-bit field
KVM: SVM: Move AVIC Physical ID table allocation to vcpu_precreate() x86/cpufeatures: Add X86_FEATURE_X2AVIC_EXT
KVM: SVM: Add AVIC support for 4k vCPUs in x2AVIC mode

 arch/x86/include/asm/cpufeatures.h |  1 +
 arch/x86/include/asm/svm.h         |  5 +-
 arch/x86/kvm/svm/svm.h             |  1 +
 arch/x86/kernel/cpu/scattered.c    |  1 +
 arch/x86/kvm/svm/avic.c            | 76 ++++++++++++++++++++++++------
 arch/x86/kvm/svm/svm.c             |  9 ++++
 6 files changed, 78 insertions(+), 15 deletions(-)

base-commit: ecbcc2461839e848970468b44db32282e5059925

Signature · 1 line
2.50.1