[kvm-unit-tests v3 00/13] powerpc: updates, P10, PNV support

Nicholas Piggin
2023-03-27T12:45:37Z

This series is growing a bit I'm sorry. v2 series added extra interrupt
vectors support which was actually wrong because interrupt handling
code can only cope with 0x100-size vectors and new ones are 0x80 and
0x20. It managed to work because those alias to the 0x100 boundary, but
if more than one handler were installed in the same 0x100-aligned
block it would crash. So a couple of patches added to cope with that.

Thanks,
Nick

Nicholas Piggin (13):
MAINTAINERS: Update powerpc list
powerpc: Add local variant of SPR test
powerpc: Add some checking to exception handler install
powerpc: Abstract H_CEDE calls into a sleep functions
powerpc: Add ISA v3.1 (POWER10) support to SPR test
powerpc: Extract some common helpers and defines to headers
powerpc/sprs: Specify SPRs with data rather than code
powerpc/spapr_vpa: Add basic VPA tests
powerpc: Expand exception handler vector granularity
powerpc: Add support for more interrupts including HV interrupts
powerpc: Discover runtime load address dynamically
powerpc: Support powernv machine with QEMU TCG
powerpc/sprs: Test hypervisor registers on powernv machine

MAINTAINERS | 2 +-
lib/powerpc/asm/handlers.h | 2 +-
lib/powerpc/asm/hcall.h | 1 +
lib/powerpc/asm/ppc_asm.h | 6 +
lib/powerpc/asm/processor.h | 55 ++-
lib/powerpc/handlers.c | 10 +-
lib/powerpc/hcall.c | 4 +-
lib/powerpc/io.c | 27 +-
lib/powerpc/io.h | 6 +
lib/powerpc/processor.c | 80 ++++-
lib/powerpc/setup.c | 8 +-
lib/ppc64/asm/opal.h | 15 +
lib/ppc64/asm/vpa.h | 62 ++++
lib/ppc64/opal-calls.S | 46 +++
lib/ppc64/opal.c | 74 +++++
powerpc/Makefile.ppc64 | 4 +-
powerpc/cstart64.S | 105 ++++--
powerpc/run | 35 +-
powerpc/spapr_hcall.c | 9 +-
powerpc/spapr_vpa.c | 172 ++++++++++
powerpc/sprs.c | 645 ++++++++++++++++++++++++++----------
powerpc/tm.c | 20 +-
powerpc/unittests.cfg | 6 +
23 files changed, 1138 insertions(+), 256 deletions(-)
create mode 100644 lib/ppc64/asm/opal.h
create mode 100644 lib/ppc64/asm/vpa.h
create mode 100644 lib/ppc64/opal-calls.S
create mode 100644 lib/ppc64/opal.c
create mode 100644 powerpc/spapr_vpa.c

--
2.37.2