[PATCH 0/3] Early exception handlers on Power

Shawn Anastasio posted 3 patches 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/cover.1695942864.git.sanastasio@raptorengineering.com
There is a newer version of this series
xen/arch/ppc/include/asm/config.h    |   3 +
xen/arch/ppc/include/asm/processor.h |  31 +++++++
xen/arch/ppc/ppc64/Makefile          |   2 +
xen/arch/ppc/ppc64/asm-offsets.c     |   1 +
xen/arch/ppc/ppc64/exceptions-asm.S  | 122 +++++++++++++++++++++++++++
xen/arch/ppc/ppc64/exceptions.c      | 102 ++++++++++++++++++++++
xen/arch/ppc/ppc64/head.S            |   2 +-
xen/arch/ppc/setup.c                 |  11 +++
xen/arch/ppc/xen.lds.S               |   7 ++
9 files changed, 280 insertions(+), 1 deletion(-)
create mode 100644 xen/arch/ppc/ppc64/exceptions-asm.S
create mode 100644 xen/arch/ppc/ppc64/exceptions.c
[PATCH 0/3] Early exception handlers on Power
Posted by Shawn Anastasio 7 months ago
Hello all,

This series implements a basic exception handler and the required
support infrastructure on Power. Currently the handler just dumps all
registers to the serial console and nothing else, but even this is
useful for debugging during early bring-up.

An additional patch to fix the stack setup code in head.S is also
included.

Thanks,

Shawn Anastasio (3):
  xen/ppc: Fix stack initialization in head.S
  xen/ppc: Add .text.exceptions section for exception vectors
  xen/ppc: Implement a basic exception handler

 xen/arch/ppc/include/asm/config.h    |   3 +
 xen/arch/ppc/include/asm/processor.h |  31 +++++++
 xen/arch/ppc/ppc64/Makefile          |   2 +
 xen/arch/ppc/ppc64/asm-offsets.c     |   1 +
 xen/arch/ppc/ppc64/exceptions-asm.S  | 122 +++++++++++++++++++++++++++
 xen/arch/ppc/ppc64/exceptions.c      | 102 ++++++++++++++++++++++
 xen/arch/ppc/ppc64/head.S            |   2 +-
 xen/arch/ppc/setup.c                 |  11 +++
 xen/arch/ppc/xen.lds.S               |   7 ++
 9 files changed, 280 insertions(+), 1 deletion(-)
 create mode 100644 xen/arch/ppc/ppc64/exceptions-asm.S
 create mode 100644 xen/arch/ppc/ppc64/exceptions.c

--
2.30.2