]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: x86: Use wbinvd_on_cpu() instead of an open-coded equivalent
authorSean Christopherson <seanjc@google.com>
Thu, 22 May 2025 23:37:29 +0000 (16:37 -0700)
committerSean Christopherson <seanjc@google.com>
Thu, 10 Jul 2025 16:43:43 +0000 (09:43 -0700)
commit55aed8c2dbc4d95121c20a509d95e2ef3c1d7d09
treedec93e3681366069336c82b77133b5d2dc7521d9
parent4fdc3431e03b9c11803f399f91837fca487029a1
KVM: x86: Use wbinvd_on_cpu() instead of an open-coded equivalent

Use wbinvd_on_cpu() to target a single CPU instead of open-coding an
equivalent, and drop KVM's wbinvd_ipi() now that all users have switched
to x86 library versions.

No functional change intended.

Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Link: https://lore.kernel.org/r/20250522233733.3176144-6-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/x86.c