mbox series

[0/4] target/xtensa: provide configuration with MPU

Message ID 20240112042128.3569220-1-jcmvbkbc@gmail.com
Headers show
Series target/xtensa: provide configuration with MPU | expand

Message

Max Filippov Jan. 12, 2024, 4:21 a.m. UTC
Hello,

this series adds xtensa core 'sample_controller32' with 32 foreground
entry MPU, adds missing translation for the 'wsr.mpucfg' opcode and
makes xtensa/tcg/tests work with the new core.

Max Filippov (4):
  target/xtensa: add translation for wsr.mpucfg
  target/xtensa: import sample_controller32 core
  tests/tcg/xtensa: tidy test linker script
  tests/tcg/xtensa: fix SR test for configs with MPU

 target/xtensa/core-sample_controller32.c      |    52 +
 .../core-sample_controller32/core-isa.h       |   739 +
 .../core-sample_controller32/core-matmap.h    |   106 +
 .../core-sample_controller32/gdb-config.c.inc |   144 +
 .../xtensa-modules.c.inc                      | 11845 ++++++++++++++++
 target/xtensa/cores.list                      |     1 +
 target/xtensa/translate.c                     |     9 +
 tests/tcg/xtensa/linker.ld.S                  |    34 +-
 tests/tcg/xtensa/test_sr.S                    |    16 +-
 9 files changed, 12921 insertions(+), 25 deletions(-)
 create mode 100644 target/xtensa/core-sample_controller32.c
 create mode 100644 target/xtensa/core-sample_controller32/core-isa.h
 create mode 100644 target/xtensa/core-sample_controller32/core-matmap.h
 create mode 100644 target/xtensa/core-sample_controller32/gdb-config.c.inc
 create mode 100644 target/xtensa/core-sample_controller32/xtensa-modules.c.inc