]> git.dujemihanovic.xyz Git - linux.git/commitdiff
Merge tag 'kvmarm-fixes-6.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorPaolo Bonzini <pbonzini@redhat.com>
Sun, 6 Oct 2024 07:59:22 +0000 (03:59 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Sun, 6 Oct 2024 07:59:22 +0000 (03:59 -0400)
KVM/arm64 fixes for 6.12, take #1

- Fix pKVM error path on init, making sure we do not change critical
  system registers as we're about to fail

- Make sure that the host's vector length is at capped by a value
  common to all CPUs

- Fix kvm_has_feat*() handling of "negative" features, as the current
  code is pretty broken

- Promote Joey to the status of official reviewer, while James steps
  down -- hopefully only temporarly

1  2 
arch/x86/include/asm/reboot.h
arch/x86/kvm/mmu/mmu.c

index 2d8525a5147843b9d5818f7a735708406863b46e,c02183d3cdd7e8d5c712fb2d04b3b080ea653f80..ecd58ea9a837b194b62fcba3946e7557c007c996
@@@ -31,8 -31,10 +31,10 @@@ void cpu_emergency_register_virt_callba
  void cpu_emergency_unregister_virt_callback(cpu_emergency_virt_cb *callback);
  void cpu_emergency_disable_virtualization(void);
  #else
+ static inline void cpu_emergency_register_virt_callback(cpu_emergency_virt_cb *callback) {}
+ static inline void cpu_emergency_unregister_virt_callback(cpu_emergency_virt_cb *callback) {}
  static inline void cpu_emergency_disable_virtualization(void) {}
 -#endif /* CONFIG_KVM_INTEL || CONFIG_KVM_AMD */
 +#endif /* CONFIG_KVM_X86 */
  
  typedef void (*nmi_shootdown_cb)(int, struct pt_regs*);
  void nmi_shootdown_cpus(nmi_shootdown_cb callback);
Simple merge