Skip to content

Fixes to NMI shootdown

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/traps: Export the exception_table[] function pointer table to Cxen/arch/x86/hvm/vmx/vmx.c xen/arch/x86/x86_64/entry.S xen/include/asm-x86/processor.h+8 -40 replies
2/3x86/traps: Use write_atomic() when updating potentially-live descriptorsxen/include/asm-x86/desc.h xen/include/asm-x86/processor.h+6 -22 replies
3/3x86/nmi: Fix shootdown of pcpus running in VMX non-root modexen/arch/x86/crash.c xen/arch/x86/x86_64/entry.S xen/include/asm-x86/processor.h+24 -453 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Fixes to NMI shootdown

This series fixes an issue introduced by c/s 7dd3b06ff

On my testbox I can observe the cpu which doesn't get shot down to still be executing after the crash kernel has finished running.

[   25.806178] sd 2:0:0:0: [sda] Synchronizing SCSI cache
[   25.812038] Restarting system.
[   25.815121] reboot: machine restart
(XEN) [  192.854548] vmx.c:3030:d1v0 Bad vmexit (reason 0x3)
(XEN) [  192.859861] domain_crash called from vmx.c:3031
(XEN) [  192.864900] Domain 1 (vcpu#0) crashed on cpu#1:
(XEN) [  192.869967] ----[ Xen-4.4.1  x86_64  debug=y  Not tainted ]----
(XEN) [  192.8

PXELINUX 3.70 2008-06-30 Copyright (C) 1994-2008 H. Peter Anvin boot:
Booting from local disk...

where exit reason 3 is for receving an INIT.

Andrew Cooper (3):
x86/traps: Export the exception_table[] function pointer table to C x86/traps: Use write_atomic() when updating potentially-live
descriptors
x86/nmi: Fix shootdown of pcpus running in VMX non-root mode

 xen/arch/x86/crash.c            |   59 ++++++++++++++++-----------------------
 xen/arch/x86/hvm/vmx/vmx.c      |    2 +-
 xen/arch/x86/x86_64/entry.S     |   14 ++--------
 xen/include/asm-x86/desc.h      |    3 +-
 xen/include/asm-x86/processor.h |   11 ++++++--
 5 files changed, 38 insertions(+), 51 deletions(-)
Signature · 1 line
1.7.10.4