[Xen-devel] [PATCH 0/3] xen: async_exception_* cleanup

Andrew Cooper posted 3 patches 4 years, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/xen tags/patchew/20200217111740.7298-1-andrew.cooper3@citrix.com
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(-)
[Xen-devel] [PATCH 0/3] xen: async_exception_* cleanup
Posted by Andrew Cooper 4 years, 2 months ago
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