[PATCH v3 0/3] xen/x86: implement NMI continuation

Juergen Gross posted 3 patches 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/xen tags/patchew/20201016085350.10233-1-jgross@suse.com
Maintainers: Andrew Cooper <andrew.cooper3@citrix.com>, Wei Liu <wl@xen.org>, Jan Beulich <jbeulich@suse.com>, "Roger Pau Monné" <roger.pau@citrix.com>
xen/arch/x86/apic.c             | 13 +++++--
xen/arch/x86/oprofile/nmi_int.c |  9 ++++-
xen/arch/x86/traps.c            | 61 +++++++++++++++++++++++++++++----
xen/include/asm-x86/nmi.h       | 13 ++++++-
xen/include/asm-x86/softirq.h   |  5 ++-
5 files changed, 87 insertions(+), 14 deletions(-)

[PATCH v3 0/3] xen/x86: implement NMI continuation

Posted by Juergen Gross 1 week ago
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

Juergen Gross (3):
  xen/x86: add nmi continuation framework
  xen/oprofile: use set_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/oprofile/nmi_int.c |  9 ++++-
 xen/arch/x86/traps.c            | 61 +++++++++++++++++++++++++++++----
 xen/include/asm-x86/nmi.h       | 13 ++++++-
 xen/include/asm-x86/softirq.h   |  5 ++-
 5 files changed, 87 insertions(+), 14 deletions(-)

-- 
2.26.2