This is v4 of the series posted here:
http://lkml.kernel.org/r/cover.1740036492.git.naveen@kernel.org
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: 91b392ada892a2e8b1c621b9493c50f6fb49880f
--
2.50.1