[PATCH v3 0/3] Fix undefined operation VMXOFF during reboot and crash

From: David P. Reed
Date: Sat Jul 04 2020 - 16:46:49 EST


At the request of Sean Christopherson, the original patch was split
into three patches, each fixing a distinct issue related to the original
bug, of a hang due to VMXOFF causing an undefined operation fault
when the kernel reboots with CR4.VMXE set. The combination of
the patches is the complete fix to the reported bug, and a lurking
error in asm side effects.

David P. Reed (3):
Correct asm VMXOFF side effects
Fix undefined operation fault that can hang a cpu on crash or panic
Force all cpus to exit VMX root operation on crash/panic reliably

arch/x86/include/asm/virtext.h | 24 ++++++++++++++++--------
arch/x86/kernel/reboot.c | 20 +++++++-------------
2 files changed, 23 insertions(+), 21 deletions(-)

--
2.26.2