Skip to content

xen/x86: implement NMI continuation

Juergen Gross xen-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 3 repliesIn review
  2. v43 patches 12 repliesSuperseded
  3. v33 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v22 patches4 repliesSuperseded

Changes in v5 from the cover letter

- addressed comments

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xen/x86: add nmi continuation frameworkxen/arch/x86/apic.c xen/arch/x86/genapic/x2apic.c xen/arch/x86/smp.c +2 more+43 -42 replies
2/3xen/oprofile: use NMI continuation for sending virq to guestxen/arch/x86/oprofile/nmi_int.c xen/arch/x86/traps.c xen/include/asm-x86/xenoprof.h+28 -21 reply
3/3xen/x86: issue pci_serr error message via NMI continuationxen/arch/x86/traps.c xen/include/asm-x86/softirq.h+17 -90 replies

Reviews trailers per patch

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

PatchJan Beulich
1/3R-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 v5 thread

Cover letter [PATCH v5 0/3] xen/x86: implement NMI continuation

Move sending of a virq event for oprofile to the local vcpu from NMI to normal interrupt context.

This has been tested with a small test patch using the continuation framework of patch 1 for all NMIs and doing a print to console in the continuation handler.

Version 1 of this small series was sent to the security list before.

Changes in V3:
- switched to self-IPI instead of softirq
- added patch 3

Changes in V4:
- use less generic approach

Changes in V5:
- addressed comments

Juergen Gross (3):
xen/x86: add nmi continuation framework xen/oprofile: use NMI continuation for sending virq to guest xen/x86: issue pci_serr error message via NMI continuation

 xen/arch/x86/apic.c             | 13 +++++++---
 xen/arch/x86/genapic/x2apic.c   |  1 +
 xen/arch/x86/oprofile/nmi_int.c | 19 ++++++++++++--
 xen/arch/x86/smp.c              |  1 +
 xen/arch/x86/traps.c            | 46 ++++++++++++++++++++++++++++-----
 xen/include/asm-x86/nmi.h       | 11 +++++++-
 xen/include/asm-x86/softirq.h   |  5 ++--
 xen/include/asm-x86/xenoprof.h  |  7 +++++
 8 files changed, 88 insertions(+), 15 deletions(-)
Signature · 1 line
2.26.2