]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge tag 'kvm-x86-mmu-6.17' of https://github.com/kvm-x86/linux into HEAD
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 28 Jul 2025 15:14:40 +0000 (11:14 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 29 Jul 2025 12:36:43 +0000 (08:36 -0400)
KVM x86 MMU changes for 6.17

 - Exempt nested EPT from the the !USER + CR0.WP logic, as EPT doesn't interact
   with CR0.WP.

 - Move the TDX hardware setup code to tdx.c to better co-locate TDX code
   and eliminate a few global symbols.

 - Dynamically allocation the shadow MMU's hashed page list, and defer
   allocating the hashed list until it's actually needed (the TDP MMU doesn't
   use the list).

1  2 
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/svm/svm.c
arch/x86/kvm/vmx/main.c
arch/x86/kvm/vmx/tdx.c
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/vmx/x86_ops.h
arch/x86/kvm/x86.c
arch/x86/kvm/x86.h

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index ffd72f036213f32dd4c6ab757d281ac1b77a663d,87e855276a88485104edf5a8d76ea50ad60ac00c..2b3424f638dbbca24f943bc58539162b69b6d012
@@@ -133,10 -133,9 +133,9 @@@ void tdx_vcpu_reset(struct kvm_vcpu *vc
  void tdx_vcpu_free(struct kvm_vcpu *vcpu);
  void tdx_vcpu_load(struct kvm_vcpu *vcpu, int cpu);
  int tdx_vcpu_pre_run(struct kvm_vcpu *vcpu);
 -fastpath_t tdx_vcpu_run(struct kvm_vcpu *vcpu, bool force_immediate_exit);
 +fastpath_t tdx_vcpu_run(struct kvm_vcpu *vcpu, u64 run_flags);
  void tdx_prepare_switch_to_guest(struct kvm_vcpu *vcpu);
  void tdx_vcpu_put(struct kvm_vcpu *vcpu);
- bool tdx_protected_apic_has_interrupt(struct kvm_vcpu *vcpu);
  int tdx_handle_exit(struct kvm_vcpu *vcpu,
                enum exit_fastpath_completion fastpath);
  
Simple merge
Simple merge