]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/kvm/vmx: Move IRQ/NMI dispatch from KVM into x86 core
authorPeter Zijlstra <peterz@infradead.org>
Fri, 8 May 2026 09:18:29 +0000 (11:18 +0200)
committerThomas Gleixner <tglx@kernel.org>
Tue, 19 May 2026 18:25:51 +0000 (20:25 +0200)
commit0701c9e17bd903d95b2ddf7dd2e1d8be5027f331
tree3b724339c98fa56b47959946dbab989fc59ae763
parentb088fe35019433541225d315263d8477899e0657
x86/kvm/vmx: Move IRQ/NMI dispatch from KVM into x86 core

Move the VMX interrupt dispatch magic into the x86 core code. This
isolates KVM from the FRED/IDT decisions and reduces the amount of
EXPORT_SYMBOL_FOR_KVM().

Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Tested-by: "Verma, Vishal L" <vishal.l.verma@intel.com>
Tested-by: Zhao Liu <zhao1.liu@intel.com>
Tested-by: Zhao Liu <zhao1.liu@intel.com>
Tested-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Binbin Wu <binbin.wu@linxu.intel.com>
Acked-by: Sean Christopherson <seanjc@google.com>
Link: https://patch.msgid.link/20260508091829.GO3126523@noisy.programming.kicks-ass.net
12 files changed:
arch/x86/entry/Makefile
arch/x86/entry/common.c [new file with mode: 0644]
arch/x86/entry/entry.S
arch/x86/entry/entry_64_fred.S
arch/x86/include/asm/desc.h
arch/x86/include/asm/desc_defs.h
arch/x86/include/asm/entry-common.h
arch/x86/include/asm/fred.h
arch/x86/kernel/idt.c
arch/x86/kernel/nmi.c
arch/x86/kvm/vmx/vmenter.S
arch/x86/kvm/vmx/vmx.c