Re: [PATCH] KVM: SVM: Remove redundant TLB flush on guest CR4.PGE change
From: Sean Christopherson
Date: Wed Dec 18 2024 - 21:45:43 EST
On Wed, 27 Nov 2024 15:53:12 -0800, Sean Christopherson wrote:
> Drop SVM's direct TLB flush when CR4.PGE is toggled and NPT is enabled, as
> KVM already guarantees TLBs are flushed appropriately.
>
> For the call from cr_trap(), kvm_post_set_cr4() requests TLB_FLUSH_GUEST
> (which is a superset of TLB_FLUSH_CURRENT) when CR4.PGE is toggled,
> regardless of whether or not KVM is using TDP.
>
> [...]
Applied to kvm-x86 svm, thanks!
[1/1] KVM: SVM: Remove redundant TLB flush on guest CR4.PGE change
https://github.com/kvm-x86/linux/commit/036e78a942b4
--
https://github.com/kvm-x86/linux/tree/next