Skip to content
Snippets Groups Projects
Commit de318ab7 authored by Waiman Long's avatar Waiman Long
Browse files

x86/kvm/vmx: Make noinstr clean

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2090231


CVE: CVE-2022-23816
CVE: CVE-2022-23825
CVE: CVE-2022-29900
CVE: CVE-2022-29901

commit 742ab6df
Author: Peter Zijlstra <peterz@infradead.org>
Date:   Tue, 14 Jun 2022 23:15:32 +0200

    x86/kvm/vmx: Make noinstr clean

    The recent mmio_stale_data fixes broke the noinstr constraints:

      vmlinux.o: warning: objtool: vmx_vcpu_enter_exit+0x15b: call to wrmsrl.constprop.0() leaves .noinstr.text section
      vmlinux.o: warning: objtool: vmx_vcpu_enter_exit+0x1bf: call to kvm_arch_has_assigned_device() leaves .noinstr.text section

    make it all happy again.

Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>

Signed-off-by: default avatarWaiman Long <longman@redhat.com>
parent 3b86cd14
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment