From: Paolo Bonzini Date: Wed, 26 Apr 2023 19:49:23 +0000 (-0400) Subject: Merge tag 'kvm-x86-misc-6.4' of https://github.com/kvm-x86/linux into HEAD X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a1c288f87de7aff94e87724127eabb6cdb38b120;p=linux.git Merge tag 'kvm-x86-misc-6.4' of https://github.com/kvm-x86/linux into HEAD KVM x86 changes for 6.4: - Optimize CR0.WP toggling by avoiding an MMU reload when TDP is enabled, and by giving the guest control of CR0.WP when EPT is enabled on VMX (VMX-only because SVM doesn't support per-bit controls) - Add CR0/CR4 helpers to query single bits, and clean up related code where KVM was interpreting kvm_read_cr4_bits()'s "unsigned long" return as a bool - Move AMD_PSFD to cpufeatures.h and purge KVM's definition - Misc cleanups --- a1c288f87de7aff94e87724127eabb6cdb38b120