All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xen-devel] [PATCH 0/3] xen: async_exception_* cleanup
@ 2020-02-17 11:17 Andrew Cooper
  2020-02-17 11:17 ` [Xen-devel] [PATCH 1/3] x86/nmi: Corrections and improvements to do_nmi_stats() Andrew Cooper
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Andrew Cooper @ 2020-02-17 11:17 UTC (permalink / raw)
  To: Xen-devel
  Cc: Stefano Stabellini, Julien Grall, Wei Liu, Andrew Cooper,
	Jan Beulich, Volodymyr Babchuk, Roger Pau Monné

This infrastructure is only compiled for x86, very x86 specific (so of no
interest to other architectures), and very broken.

Amongst other things, MCEs have a higher priority than NMIs, and there is no
such thing as masking an MCE.  In order to address these bugs (which will
completely change the infrastructure), start by moving it all out of common
code.

Andrew Cooper (3):
  x86/nmi: Corrections and improvements to do_nmi_stats()
  xen: Move async_exception_* infrastructure into x86
  xen/x86: Rename and simplify async_event_* infrastructure

 xen/arch/x86/cpu/mcheck/vmce.c     |  2 +-
 xen/arch/x86/cpu/vpmu.c            |  2 +-
 xen/arch/x86/domain.c              | 11 +++++++++++
 xen/arch/x86/domctl.c              |  2 +-
 xen/arch/x86/hvm/irq.c             |  8 ++++----
 xen/arch/x86/hvm/vioapic.c         |  2 +-
 xen/arch/x86/hvm/vlapic.c          |  2 +-
 xen/arch/x86/nmi.c                 | 26 +++++++++++++-------------
 xen/arch/x86/oprofile/nmi_int.c    |  2 +-
 xen/arch/x86/pv/callback.c         |  2 +-
 xen/arch/x86/pv/iret.c             | 14 +++++++-------
 xen/arch/x86/pv/traps.c            |  2 +-
 xen/arch/x86/x86_64/asm-offsets.c  | 10 +++++-----
 xen/arch/x86/x86_64/compat/entry.S | 12 ++++++------
 xen/arch/x86/x86_64/entry.S        | 12 ++++++------
 xen/common/domain.c                | 15 ---------------
 xen/include/asm-x86/domain.h       | 27 +++++++++++++++++----------
 xen/include/xen/sched.h            | 11 -----------
 18 files changed, 77 insertions(+), 85 deletions(-)

-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

end of thread, other threads:[~2020-02-20 18:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-17 11:17 [Xen-devel] [PATCH 0/3] xen: async_exception_* cleanup Andrew Cooper
2020-02-17 11:17 ` [Xen-devel] [PATCH 1/3] x86/nmi: Corrections and improvements to do_nmi_stats() Andrew Cooper
2020-02-18 16:07   ` Jan Beulich
2020-02-17 11:17 ` [Xen-devel] [PATCH 2/3] xen: Move async_exception_* infrastructure into x86 Andrew Cooper
2020-02-18 16:11   ` Jan Beulich
2020-02-18 16:23     ` Andrew Cooper
2020-02-17 11:17 ` [Xen-devel] [PATCH 3/3] xen/x86: Rename and simplify async_event_* infrastructure Andrew Cooper
2020-02-18 16:31   ` Jan Beulich
2020-02-20 18:24     ` Andrew Cooper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.