[PULL 00/18] target/xtensa updates for v7.1

Max Filippov posted 18 patches 2 years ago
Only 0 patches received!
There is a newer version of this series
MAINTAINERS                                   |    1 +
hw/xtensa/mx_pic.c                            |    2 +-
target/xtensa/core-lx106.c                    |   52 +
target/xtensa/core-lx106/core-isa.h           |  470 ++
target/xtensa/core-lx106/gdb-config.c.inc     |   83 +
target/xtensa/core-lx106/xtensa-modules.c.inc | 7668 +++++++++++++++++++++++++
target/xtensa/cores.list                      |    1 +
target/xtensa/cpu.c                           |   15 +
target/xtensa/cpu.h                           |    5 +
target/xtensa/op_helper.c                     |    7 +-
target/xtensa/translate.c                     |  173 +-
tests/tcg/xtensa/Makefile.softmmu-target      |    4 +-
tests/tcg/xtensa/crt.S                        |    2 +
tests/tcg/xtensa/test_break.S                 |   86 +-
tests/tcg/xtensa/test_mmu.S                   |  182 +-
tests/tcg/xtensa/test_phys_mem.S              |   10 +-
tests/tcg/xtensa/test_sr.S                    |    2 +
tests/tcg/xtensa/test_timer.S                 |   68 +-
tests/tcg/xtensaeb/Makefile.softmmu-target    |    5 +
19 files changed, 8575 insertions(+), 261 deletions(-)
create mode 100644 target/xtensa/core-lx106.c
create mode 100644 target/xtensa/core-lx106/core-isa.h
create mode 100644 target/xtensa/core-lx106/gdb-config.c.inc
create mode 100644 target/xtensa/core-lx106/xtensa-modules.c.inc
create mode 100644 tests/tcg/xtensaeb/Makefile.softmmu-target
[PULL 00/18] target/xtensa updates for v7.1
Posted by Max Filippov 2 years ago
Hello,

please pull the following updates for the target/xtensa.

The following changes since commit 823a3f11fb8f04c3c3cc0f95f968fef1bfc6534f:

  Update version for v7.0.0 release (2022-04-19 18:44:36 +0100)

are available in the Git repository at:

  https://github.com/OSLL/qemu-xtensa.git tags/20220506-xtensa

for you to fetch changes up to 5e1d80a3fc16d5dbe7d677af6ba4df94d68c75d2:

  tests/tcg/xtensa: fix vectors and checks in timer test (2022-04-27 10:15:23 -0700)

----------------------------------------------------------------
target/xtensa updates for v7.1:

- expand test coverage to big-endian, MMUv3, cores without windowed
  registers or loop option;
- import lx106 core (used in the esp8266 IoT chips);
- use tcg_constant_* in the front end;
- add clock input to the xtensa CPU;
- fix reset state of the xtensa MX PIC.

----------------------------------------------------------------
Max Filippov (17):
      tests/tcg/xtensa: allow testing big-endian cores
      target/xtensa: fix missing tcg_temp_free in gen_window_check
      target/xtensa: use tcg_contatnt_* for numeric literals
      target/xtensa: use tcg_constant_* for exceptions
      target/xtensa: use tcg_constant_* for TLB opcodes
      target/xtensa: use tcg_constant_* for numbered special registers
      target/xtensa: use tcg_constant_* for FPU conversion opcodes
      target/xtensa: use tcg_constant_* for remaining opcodes
      target/xtensa: add clock input to xtensa CPU
      hw/xtensa: fix reset value of MIROUT register of MX PIC
      tests/tcg/xtensa: fix build for cores without windowed registers
      tests/tcg/xtensa: restore vecbase SR after test
      tests/tcg/xtensa: fix watchpoint test
      tests/tcg/xtensa: remove dependency on the loop option
      tests/tcg/xtensa: enable autorefill phys_mem tests for MMUv3
      tests/tcg/xtensa: enable mmu tests for MMUv3
      tests/tcg/xtensa: fix vectors and checks in timer test

Simon Safar (1):
      target/xtensa: import core lx106

 MAINTAINERS                                   |    1 +
 hw/xtensa/mx_pic.c                            |    2 +-
 target/xtensa/core-lx106.c                    |   52 +
 target/xtensa/core-lx106/core-isa.h           |  470 ++
 target/xtensa/core-lx106/gdb-config.c.inc     |   83 +
 target/xtensa/core-lx106/xtensa-modules.c.inc | 7668 +++++++++++++++++++++++++
 target/xtensa/cores.list                      |    1 +
 target/xtensa/cpu.c                           |   15 +
 target/xtensa/cpu.h                           |    5 +
 target/xtensa/op_helper.c                     |    7 +-
 target/xtensa/translate.c                     |  173 +-
 tests/tcg/xtensa/Makefile.softmmu-target      |    4 +-
 tests/tcg/xtensa/crt.S                        |    2 +
 tests/tcg/xtensa/test_break.S                 |   86 +-
 tests/tcg/xtensa/test_mmu.S                   |  182 +-
 tests/tcg/xtensa/test_phys_mem.S              |   10 +-
 tests/tcg/xtensa/test_sr.S                    |    2 +
 tests/tcg/xtensa/test_timer.S                 |   68 +-
 tests/tcg/xtensaeb/Makefile.softmmu-target    |    5 +
 19 files changed, 8575 insertions(+), 261 deletions(-)
 create mode 100644 target/xtensa/core-lx106.c
 create mode 100644 target/xtensa/core-lx106/core-isa.h
 create mode 100644 target/xtensa/core-lx106/gdb-config.c.inc
 create mode 100644 target/xtensa/core-lx106/xtensa-modules.c.inc
 create mode 100644 tests/tcg/xtensaeb/Makefile.softmmu-target

-- 
Thanks.
-- Max
Re: [PULL 00/18] target/xtensa updates for v7.1
Posted by Richard Henderson 2 years ago
On 5/6/22 14:52, Max Filippov wrote:
> Hello,
> 
> please pull the following updates for the target/xtensa.
> 
> The following changes since commit 823a3f11fb8f04c3c3cc0f95f968fef1bfc6534f:
> 
>    Update version for v7.0.0 release (2022-04-19 18:44:36 +0100)
> 
> are available in the Git repository at:
> 
>    https://github.com/OSLL/qemu-xtensa.git tags/20220506-xtensa
> 
> for you to fetch changes up to 5e1d80a3fc16d5dbe7d677af6ba4df94d68c75d2:
> 
>    tests/tcg/xtensa: fix vectors and checks in timer test (2022-04-27 10:15:23 -0700)
> 
> ----------------------------------------------------------------
> target/xtensa updates for v7.1:
> 
> - expand test coverage to big-endian, MMUv3, cores without windowed
>    registers or loop option;
> - import lx106 core (used in the esp8266 IoT chips);
> - use tcg_constant_* in the front end;
> - add clock input to the xtensa CPU;
> - fix reset state of the xtensa MX PIC.

Auto-merging MAINTAINERS

Auto-merging target/xtensa/cpu.h

Auto-merging target/xtensa/translate.c

Auto-merging tests/tcg/xtensa/Makefile.softmmu-target

CONFLICT (content): Merge conflict in tests/tcg/xtensa/Makefile.softmmu-target


This branch is based on the v7.0 tag.  You need to rebase to master branch.


r~


> 
> ----------------------------------------------------------------
> Max Filippov (17):
>        tests/tcg/xtensa: allow testing big-endian cores
>        target/xtensa: fix missing tcg_temp_free in gen_window_check
>        target/xtensa: use tcg_contatnt_* for numeric literals
>        target/xtensa: use tcg_constant_* for exceptions
>        target/xtensa: use tcg_constant_* for TLB opcodes
>        target/xtensa: use tcg_constant_* for numbered special registers
>        target/xtensa: use tcg_constant_* for FPU conversion opcodes
>        target/xtensa: use tcg_constant_* for remaining opcodes
>        target/xtensa: add clock input to xtensa CPU
>        hw/xtensa: fix reset value of MIROUT register of MX PIC
>        tests/tcg/xtensa: fix build for cores without windowed registers
>        tests/tcg/xtensa: restore vecbase SR after test
>        tests/tcg/xtensa: fix watchpoint test
>        tests/tcg/xtensa: remove dependency on the loop option
>        tests/tcg/xtensa: enable autorefill phys_mem tests for MMUv3
>        tests/tcg/xtensa: enable mmu tests for MMUv3
>        tests/tcg/xtensa: fix vectors and checks in timer test
> 
> Simon Safar (1):
>        target/xtensa: import core lx106
> 
>   MAINTAINERS                                   |    1 +
>   hw/xtensa/mx_pic.c                            |    2 +-
>   target/xtensa/core-lx106.c                    |   52 +
>   target/xtensa/core-lx106/core-isa.h           |  470 ++
>   target/xtensa/core-lx106/gdb-config.c.inc     |   83 +
>   target/xtensa/core-lx106/xtensa-modules.c.inc | 7668 +++++++++++++++++++++++++
>   target/xtensa/cores.list                      |    1 +
>   target/xtensa/cpu.c                           |   15 +
>   target/xtensa/cpu.h                           |    5 +
>   target/xtensa/op_helper.c                     |    7 +-
>   target/xtensa/translate.c                     |  173 +-
>   tests/tcg/xtensa/Makefile.softmmu-target      |    4 +-
>   tests/tcg/xtensa/crt.S                        |    2 +
>   tests/tcg/xtensa/test_break.S                 |   86 +-
>   tests/tcg/xtensa/test_mmu.S                   |  182 +-
>   tests/tcg/xtensa/test_phys_mem.S              |   10 +-
>   tests/tcg/xtensa/test_sr.S                    |    2 +
>   tests/tcg/xtensa/test_timer.S                 |   68 +-
>   tests/tcg/xtensaeb/Makefile.softmmu-target    |    5 +
>   19 files changed, 8575 insertions(+), 261 deletions(-)
>   create mode 100644 target/xtensa/core-lx106.c
>   create mode 100644 target/xtensa/core-lx106/core-isa.h
>   create mode 100644 target/xtensa/core-lx106/gdb-config.c.inc
>   create mode 100644 target/xtensa/core-lx106/xtensa-modules.c.inc
>   create mode 100644 tests/tcg/xtensaeb/Makefile.softmmu-target
>