diff options
author | 2023-12-05 02:50:20 -0800 | |
---|---|---|
committer | 2024-01-31 22:03:16 +0100 | |
commit | 2e670358ec1829238c99fbff178e285d3eb43ef1 (patch) | |
tree | 23bb9894cd59296e66a6a8d99e945d3e7860803b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | x86/entry/calling: Allow PUSH_AND_CLEAR_REGS being used beyond actual entry code (diff) | |
download | wireguard-linux-2e670358ec1829238c99fbff178e285d3eb43ef1.tar.xz wireguard-linux-2e670358ec1829238c99fbff178e285d3eb43ef1.zip |
x86/entry: Add fred_entry_from_kvm() for VMX to handle IRQ/NMI
In IRQ/NMI induced VM exits, KVM VMX needs to execute the respective
handlers, which requires the software to create a FRED stack frame,
and use it to invoke the handlers. Add fred_irq_entry_from_kvm() for
this job.
Export fred_entry_from_kvm() because VMX can be compiled as a module.
Suggested-by: Sean Christopherson <seanjc@google.com>
Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Xin Li <xin3.li@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Tested-by: Shan Kang <shan.kang@intel.com>
Link: https://lore.kernel.org/r/20231205105030.8698-32-xin3.li@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions