lkml.org 
[lkml]   [2021]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[GIT PULL] Second batch of KVM changes for Linux 5.16 merge window
Date
Linus,

The following changes since commit debe436e77c72fcee804fb867f275e6d31aa999c:

Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 (2021-11-10 17:05:37 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus

for you to fetch changes up to 84886c262ebcfa40751ed508268457af8a20c1aa:

Merge tag 'kvmarm-fixes-5.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into kvm-master (2021-11-12 16:01:55 -0500)

----------------------------------------------------------------
New x86 features:

* Guest API and guest kernel support for SEV live migration

* SEV and SEV-ES intra-host migration

Bugfixes and cleanups for x86:

* Fix misuse of gfn-to-pfn cache when recording guest steal time / preempted status

* Fix selftests on APICv machines

* Fix sparse warnings

* Fix detection of KVM features in CPUID

* Cleanups for bogus writes to MSR_KVM_PV_EOI_EN

* Fixes and cleanups for MSR bitmap handling

* Cleanups for INVPCID

* Make x86 KVM_SOFT_MAX_VCPUS consistent with other architectures

Bugfixes for ARM:

* Fix finalization of host stage2 mappings

* Tighten the return value of kvm_vcpu_preferred_target()

* Make sure the extraction of ESR_ELx.EC is limited to architected bits

----------------------------------------------------------------
Ashish Kalra (3):
EFI: Introduce the new AMD Memory Encryption GUID.
x86/kvm: Add guest support for detecting and enabling SEV Live Migration feature.
x86/kvm: Add kexec support for SEV Live Migration.

Brijesh Singh (2):
x86/kvm: Add AMD SEV specific Hypercall3
mm: x86: Invoke hypercall when page encryption status is changed

David Woodhouse (1):
KVM: x86: Fix recording of guest steal time / preempted status

Jim Mattson (1):
kvm: x86: Convert return type of *is_valid_rdpmc_ecx() to bool

Junaid Shahid (1):
kvm: mmu: Use fast PF path for access tracking of huge pages when possible

Mark Rutland (1):
KVM: arm64: Extract ESR_ELx.EC only

Maxim Levitsky (1):
KVM: x86: inhibit APICv when KVM_GUESTDBG_BLOCKIRQ active

Paolo Bonzini (8):
Merge branch 'kvm-guest-sev-migration' into kvm-master
KVM: generalize "bugged" VM to "dead" VM
KVM: SEV: provide helpers to charge/uncharge misc_cg
Merge branch 'kvm-sev-move-context' into kvm-master
Merge branch 'kvm-5.16-fixes' into kvm-master
KVM: x86: move guest_pv_has out of user_access section
KVM: SEV: unify cgroup cleanup code for svm_vm_migrate_from
Merge tag 'kvmarm-fixes-5.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into kvm-master

Paul Durrant (1):
KVM: x86: Make sure KVM_CPUID_FEATURES really are KVM_CPUID_FEATURES

Peter Gonda (5):
KVM: SEV: Refactor out sev_es_state struct
KVM: SEV: Add support for SEV intra host migration
KVM: SEV: Add support for SEV-ES intra host migration
selftest: KVM: Add open sev dev helper
selftest: KVM: Add intra host migration tests

Quentin Perret (1):
KVM: arm64: Fix host stage-2 finalization

Randy Dunlap (1):
KVM: arm64: nvhe: Fix a non-kernel-doc comment

Sean Christopherson (6):
KVM: x86/mmu: Properly dereference rcu-protected TDP MMU sptep iterator
KVM: x86: Add helper to consolidate core logic of SET_CPUID{2} flows
KVM: nVMX: Query current VMCS when determining if MSR bitmaps are in use
KVM: nVMX: Handle dynamic MSR intercept toggling
KVM: VMX: Macrofy the MSR bitmap getters and setters
KVM: nVMX: Clean up x2APIC MSR handling for L2

Vipin Sharma (2):
KVM: VMX: Add a helper function to retrieve the GPR index for INVPCID, INVVPID, and INVEPT
KVM: Move INVPCID type check from vmx and svm to the common kvm_handle_invpcid()

Vitaly Kuznetsov (3):
KVM: x86: Rename kvm_lapic_enable_pv_eoi()
KVM: x86: Don't update vcpu->arch.pv_eoi.msr_val when a bogus value was written to MSR_KVM_PV_EOI_EN
KVM: x86: Drop arbitrary KVM_SOFT_MAX_VCPUS

YueHaibing (1):
KVM: arm64: Change the return type of kvm_vcpu_preferred_target()

Documentation/virt/kvm/api.rst | 14 +
arch/arm64/include/asm/esr.h | 1 +
arch/arm64/include/asm/kvm_host.h | 2 +-
arch/arm64/kvm/arm.c | 5 +-
arch/arm64/kvm/guest.c | 7 +-
arch/arm64/kvm/hyp/hyp-entry.S | 2 +-
arch/arm64/kvm/hyp/nvhe/host.S | 2 +-
arch/arm64/kvm/hyp/nvhe/setup.c | 14 +-
arch/arm64/kvm/hyp/nvhe/sys_regs.c | 2 +-
arch/x86/include/asm/kvm_host.h | 6 +-
arch/x86/include/asm/kvm_para.h | 12 +
arch/x86/include/asm/mem_encrypt.h | 4 +
arch/x86/include/asm/paravirt.h | 6 +
arch/x86/include/asm/paravirt_types.h | 1 +
arch/x86/include/asm/processor.h | 5 +-
arch/x86/include/asm/set_memory.h | 1 +
arch/x86/include/uapi/asm/kvm_para.h | 1 +
arch/x86/kernel/kvm.c | 109 +++++++-
arch/x86/kernel/paravirt.c | 1 +
arch/x86/kvm/cpuid.c | 93 +++++--
arch/x86/kvm/hyperv.c | 4 +-
arch/x86/kvm/lapic.c | 23 +-
arch/x86/kvm/lapic.h | 2 +-
arch/x86/kvm/mmu/mmu.c | 10 +-
arch/x86/kvm/mmu/tdp_mmu.c | 2 +-
arch/x86/kvm/pmu.c | 2 +-
arch/x86/kvm/pmu.h | 4 +-
arch/x86/kvm/svm/avic.c | 3 +-
arch/x86/kvm/svm/pmu.c | 5 +-
arch/x86/kvm/svm/sev.c | 299 +++++++++++++++++----
arch/x86/kvm/svm/svm.c | 14 +-
arch/x86/kvm/svm/svm.h | 28 +-
arch/x86/kvm/vmx/nested.c | 166 +++++-------
arch/x86/kvm/vmx/pmu_intel.c | 7 +-
arch/x86/kvm/vmx/vmx.c | 73 +----
arch/x86/kvm/vmx/vmx.h | 33 +++
arch/x86/kvm/x86.c | 147 +++++++---
arch/x86/mm/mem_encrypt.c | 72 ++++-
arch/x86/mm/pat/set_memory.c | 6 +
include/linux/efi.h | 1 +
include/linux/kvm_host.h | 12 +-
include/uapi/linux/kvm.h | 1 +
tools/testing/selftests/kvm/Makefile | 3 +-
tools/testing/selftests/kvm/include/kvm_util.h | 1 +
.../selftests/kvm/include/x86_64/svm_util.h | 2 +
tools/testing/selftests/kvm/lib/kvm_util.c | 24 +-
tools/testing/selftests/kvm/lib/x86_64/svm.c | 13 +
.../selftests/kvm/x86_64/sev_migrate_tests.c | 203 ++++++++++++++
virt/kvm/kvm_main.c | 10 +-
49 files changed, 1088 insertions(+), 370 deletions(-)
create mode 100644 tools/testing/selftests/kvm/x86_64/sev_migrate_tests.c

\
 
 \ /
  Last update: 2021-11-12 23:04    [W:0.081 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site