Skip to content

Fix undefined operation VMXOFF during reboot and crash

David P. Reed lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 13 repliesIn review
  2. v2 posting 2/21 patch 1 replySuperseded
  3. v2 posting 1/21 patch 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch10 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Correct asm VMXOFF side effectsarch/x86/include/asm/virtext.h+4 -41 reply
2/3Fix undefined operation fault that can hang a cpu on crash or panicarch/x86/include/asm/virtext.h+14 -68 replies
3/3Force all cpus to exit VMX root operation on crash/panic reliablyarch/x86/kernel/reboot.c+7 -134 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchRandy DunlapAndy Lutomirski
1/3A-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

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(-)
Signature · 1 line
2.26.2