aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-07-28 11:41:02 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2025-07-29 08:36:46 -0400
commita10accaef40f1947cf8ad5ec01d306c37aa85897 (patch)
tree008e7e5c25311db430ee1be13a6e479a784c93df /arch/x86/kvm/x86.c
parentMerge tag 'kvm-x86-svm-6.17' of https://github.com/kvm-x86/linux into HEAD (diff)
parentx86/lib: Add WBINVD and WBNOINVD helpers to target multiple CPUs (diff)
downloadlinux-a10accaef40f1947cf8ad5ec01d306c37aa85897.tar.gz
linux-a10accaef40f1947cf8ad5ec01d306c37aa85897.zip
Merge tag 'x86_core_for_kvm' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip into HEAD
Immutable branch for KVM tree to put the KVM patches from https://lore.kernel.org/r/20250522233733.3176144-1-seanjc@google.com ontop. Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r--arch/x86/kvm/x86.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index ba269385a9fa..71314746ddd1 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -8159,8 +8159,7 @@ static int kvm_emulate_wbinvd_noskip(struct kvm_vcpu *vcpu)
int cpu = get_cpu();
cpumask_set_cpu(cpu, vcpu->arch.wbinvd_dirty_mask);
- on_each_cpu_mask(vcpu->arch.wbinvd_dirty_mask,
- wbinvd_ipi, NULL, 1);
+ wbinvd_on_cpus_mask(vcpu->arch.wbinvd_dirty_mask);
put_cpu();
cpumask_clear(vcpu->arch.wbinvd_dirty_mask);
} else