x86/traps: Simplify exception setup
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | x86/traps: Move cpu_init() out of trap_init()xen/ xen/ | +2 | 1 reply | |
| 2/4 | x86/traps: Move percpu_traps_init() into traps-setup.cxen/ xen/ xen/ +4 more | +20 | 2 replies | |
| 3/4 | x86/traps: Move trap_init() into traps-setup.cxen/ xen/ xen/ +3 more | +70 | 1 reply | |
| 4/4 | x86/traps: Introduce early_traps_init() and simplify setupxen/ xen/ xen/ +2 more | +34 | 6 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Jan Beulich |
|---|---|
| 1/4 | A-b |
| 2/4 | A-b |
| 3/4 | A-b |
| 4/4 | R-b R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [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
Signature · 1 line
2.39.5