[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/4] x86/traps: Simplify exception setup



This is a small series pulled out of the FRED work.

It is cleanup of our init APIs, moving logic into traps-setup.c, and a
simplificiation of early exception setup prior to having exception support.

In the future, it will be traps_init() deciding whether to activate FRED or
not, so we'll always be using IDT for early exception handling.

https://gitlab.com/xen-project/people/andyhhp/xen/-/pipelines/1720849629
https://cirrus-ci.com/build/6194032705011712

Andrew Cooper (4):
  x86/traps: Move cpu_init() out of trap_init()
  x86/traps: Move percpu_traps_init() into traps-setup.c
  x86/traps: Move trap_init() into traps-setup.c
  x86/traps: Introduce early_traps_init() and simplify setup

 xen/arch/x86/acpi/power.c         |   1 +
 xen/arch/x86/include/asm/msr.h    |   2 -
 xen/arch/x86/include/asm/system.h |   3 -
 xen/arch/x86/include/asm/traps.h  |   6 ++
 xen/arch/x86/setup.c              |   8 ++-
 xen/arch/x86/smpboot.c            |   1 +
 xen/arch/x86/traps-setup.c        | 113 ++++++++++++++++++++++++++++++
 xen/arch/x86/traps.c              |  84 ----------------------
 8 files changed, 126 insertions(+), 92 deletions(-)


base-commit: e7e0d485e993e97b1c816adcfc610e7c7258ce96
-- 
2.39.5




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.