mbox series

[RFC,v3,0/5] Port PPC64/PowerNV MMU tests to QEMU

Message ID 20220418191100.270334-1-leandro.lupori@eldorado.org.br (mailing list archive)
Headers show
Series Port PPC64/PowerNV MMU tests to QEMU | expand

Message

Leandro Lupori April 18, 2022, 7:10 p.m. UTC
Changes from v2:
- Added semihosting support for ppc64
- Use semihosting calls to exit tests, instead of using Processor
Attention instruction
- Use semihosting calls for console output, instead of programming
emulated serial hardware

Leandro Lupori (5):
  ppc64: Add semihosting support
  ppc64: Fix semihosting on ppc64le
  tests/tcg/ppc64: Add basic softmmu test support
  tests/tcg/ppc64: Add MMU test sources
  tests/tcg/ppc64: Build PowerNV and LE tests

 MAINTAINERS                               |   2 +
 configs/devices/ppc64-softmmu/default.mak |   3 +
 include/exec/softmmu-semi.h               |  23 +-
 qemu-options.hx                           |  18 +-
 semihosting/arm-compat-semi.c             |  33 +
 target/ppc/cpu.h                          |   3 +-
 target/ppc/excp_helper.c                  |   9 +
 target/ppc/translate.c                    |  14 +
 tests/tcg/ppc64/Makefile.softmmu-rules    |  34 +
 tests/tcg/ppc64/Makefile.softmmu-target   | 125 ++++
 tests/tcg/ppc64/system/include/asm.h      |  68 ++
 tests/tcg/ppc64/system/lib/boot.S         |  84 +++
 tests/tcg/ppc64/system/lib/powerpc.lds    |  27 +
 tests/tcg/ppc64/system/mmu-head.S         | 142 ++++
 tests/tcg/ppc64/system/mmu.c              | 764 ++++++++++++++++++++++
 tests/tcg/ppc64/system/mmu.h              |   9 +
 16 files changed, 1346 insertions(+), 12 deletions(-)
 create mode 100644 tests/tcg/ppc64/Makefile.softmmu-rules
 create mode 100644 tests/tcg/ppc64/Makefile.softmmu-target
 create mode 100644 tests/tcg/ppc64/system/include/asm.h
 create mode 100644 tests/tcg/ppc64/system/lib/boot.S
 create mode 100644 tests/tcg/ppc64/system/lib/powerpc.lds
 create mode 100644 tests/tcg/ppc64/system/mmu-head.S
 create mode 100644 tests/tcg/ppc64/system/mmu.c
 create mode 100644 tests/tcg/ppc64/system/mmu.h