xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] xen/x86: implement NMI continuation as softirq
@ 2020-10-07 13:30 Juergen Gross
  2020-10-07 13:30 ` [PATCH v2 1/2] xen/x86: add nmi continuation framework Juergen Gross
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Juergen Gross @ 2020-10-07 13:30 UTC (permalink / raw)
  To: xen-devel
  Cc: Juergen Gross, Jan Beulich, Andrew Cooper, Roger Pau Monné,
	Wei Liu, George Dunlap, Ian Jackson, Julien Grall,
	Stefano Stabellini

Move sending of a virq event for oprofile to the local vcpu from NMI
to softirq 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.

Juergen Gross (2):
  xen/x86: add nmi continuation framework
  xen/oprofile: use set_nmi_continuation() for sending virq to guest

 xen/arch/x86/oprofile/nmi_int.c |  9 +++++++-
 xen/arch/x86/traps.c            | 37 +++++++++++++++++++++++++++++++++
 xen/include/asm-x86/nmi.h       |  8 ++++++-
 xen/include/xen/softirq.h       |  5 ++++-
 4 files changed, 56 insertions(+), 3 deletions(-)

-- 
2.26.2



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-10-15 10:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-07 13:30 [PATCH v2 0/2] xen/x86: implement NMI continuation as softirq Juergen Gross
2020-10-07 13:30 ` [PATCH v2 1/2] xen/x86: add nmi continuation framework Juergen Gross
2020-10-08  8:43   ` Roger Pau Monné
2020-10-08  8:58     ` Jürgen Groß
2020-10-07 13:30 ` [PATCH v2 2/2] xen/oprofile: use set_nmi_continuation() for sending virq to guest Juergen Gross
2020-10-15 10:49 ` [PATCH v2 0/2] xen/x86: implement NMI continuation as softirq Roger Pau Monné
2020-10-15 10:52   ` Jürgen Groß

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).