KVM x86 "misc" changes for 6.5. The most notable change is the addition of a maintainer handbook, both because of its content, and because there's a trivial conflict in maintainer-handbooks.rst with an in-flight patch from the arm-soc tree: https://lore.kernel.org/all/20230623122037.16eb8bec@xxxxxxxxxxxxxxxx The following changes since commit b9846a698c9aff4eb2214a06ac83638ad098f33f: KVM: VMX: add MSR_IA32_TSX_CTRL into msrs_to_save (2023-05-21 04:05:51 -0400) are available in the Git repository at: https://github.com/kvm-x86/linux.git tags/kvm-x86-misc-6.5 for you to fetch changes up to 63e2f55cabedf8a7ede928f7cf3ab028af44b9e9: Documentation/process: Add a maintainer handbook for KVM x86 (2023-06-22 14:25:38 -0700) ---------------------------------------------------------------- KVM x86 changes for 6.5: - Move handling of PAT out of MTRR code and dedup SVM+VMX code - Fix output of PIC poll command emulation when there's an interrupt - Fix a longstanding bug in the reporting of the number of entries returned by KVM_GET_CPUID2 - Add a maintainer's handbook to document KVM x86 processes, preferred coding style, testing expectations, etc. - Misc cleanups ---------------------------------------------------------------- Andy Shevchenko (1): KVM: x86: Remove PRIx* definitions as they are solely for user space Binbin Wu (1): KVM: x86: Fix a typo in Documentation/virt/kvm/x86/mmu.rst Chao Gao (1): KVM: x86: Correct the name for skipping VMENTER l1d flush Jinliang Zheng (1): KVM: x86: Fix poll command Ke Guo (1): KVM: SVM: Use kvm_pat_valid() directly instead of kvm_mtrr_valid() Michal Luczaj (1): KVM: x86: Clean up: remove redundant bool conversions Sean Christopherson (12): KVM: x86: Add helper to query if variable MTRR MSR is base (versus mask) KVM: x86: Add helper to get variable MTRR range from MSR index KVM: x86: Use MTRR macros to define possible MTRR MSR ranges KVM: x86: Move PAT MSR handling out of mtrr.c KVM: x86: Make kvm_mtrr_valid() static now that there are no external users KVM: x86: Move common handling of PAT MSR writes to kvm_set_msr_common() KVM: x86: Update number of entries for KVM_GET_CPUID2 on success, not failure KVM: selftests: Extend cpuid_test to verify KVM_GET_CPUID2 "nent" updates KVM: x86: Use cpu_feature_enabled() for PKU instead of #ifdef KVM: x86: Update comments about MSR lists exposed to userspace Documentation/process: Add a label for the tip tree handbook's coding style Documentation/process: Add a maintainer handbook for KVM x86 Wenyao Hai (1): KVM: VMX: Open code writing vCPU's PAT in VMX's MSR handler Documentation/process/maintainer-handbooks.rst | 1 + Documentation/process/maintainer-kvm-x86.rst | 390 ++++++++++++++++++++++++ Documentation/process/maintainer-tip.rst | 2 + Documentation/virt/kvm/x86/mmu.rst | 2 +- MAINTAINERS | 1 + arch/x86/kvm/cpuid.c | 13 +- arch/x86/kvm/i8259.c | 3 + arch/x86/kvm/lapic.c | 5 - arch/x86/kvm/mtrr.c | 64 ++-- arch/x86/kvm/svm/svm.c | 9 +- arch/x86/kvm/vmx/vmx.c | 11 +- arch/x86/kvm/x86.c | 56 ++-- arch/x86/kvm/x86.h | 1 - tools/testing/selftests/kvm/x86_64/cpuid_test.c | 21 ++ 14 files changed, 493 insertions(+), 86 deletions(-) create mode 100644 Documentation/process/maintainer-kvm-x86.rst