[Qemu-devel] [PULL 00/10] target/xtensa updates

Max Filippov posted 10 patches 6 years, 3 months ago
Only 0 patches received!
There is a newer version of this series
disas/xtensa.c                                     |     4 +-
hw/xtensa/Makefile.objs                            |     1 +
hw/xtensa/sim.c                                    |    38 +-
hw/xtensa/xtensa_memory.c                          |    55 +
hw/xtensa/xtensa_memory.h                          |    40 +
hw/xtensa/xtfpga.c                                 |   414 +-
target/xtensa/Makefile.objs                        |     2 +
target/xtensa/core-de212.c                         |    53 +
target/xtensa/core-de212/core-isa.h                |   622 +
target/xtensa/core-de212/gdb-config.c              |   198 +
target/xtensa/core-de212/xtensa-modules.c          | 14566 +++++++++++++++++++
target/xtensa/core-sample_controller.c             |    53 +
target/xtensa/core-sample_controller/core-isa.h    |   644 +
target/xtensa/core-sample_controller/gdb-config.c  |   141 +
.../xtensa/core-sample_controller/xtensa-modules.c | 11377 +++++++++++++++
target/xtensa/cpu.h                                |     7 +-
target/xtensa/overlay_tool.h                       |     8 +-
target/xtensa/translate.c                          |     4 +-
18 files changed, 28081 insertions(+), 146 deletions(-)
create mode 100644 hw/xtensa/xtensa_memory.c
create mode 100644 hw/xtensa/xtensa_memory.h
create mode 100644 target/xtensa/core-de212.c
create mode 100644 target/xtensa/core-de212/core-isa.h
create mode 100644 target/xtensa/core-de212/gdb-config.c
create mode 100644 target/xtensa/core-de212/xtensa-modules.c
create mode 100644 target/xtensa/core-sample_controller.c
create mode 100644 target/xtensa/core-sample_controller/core-isa.h
create mode 100644 target/xtensa/core-sample_controller/gdb-config.c
create mode 100644 target/xtensa/core-sample_controller/xtensa-modules.c
[Qemu-devel] [PULL 00/10] target/xtensa updates
Posted by Max Filippov 6 years, 3 months ago
Hi Peter,

please pull the following batch of updates for the target/xtensa.

The following changes since commit 997eba28a3ed5400a80f754bf3a1c8044b75b9ff:

  Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20180111' into staging (2018-01-11 14:34:41 +0000)

are available in the git repository at:

  git://github.com/OSLL/qemu-xtensa.git tags/20180119-xtensa

for you to fetch changes up to 8030ed759be52b2517356c3d0291c45cedc65fd9:

  target/xtensa: disas/xtensa: fix coverity warnings (2018-01-18 10:27:04 -0800)

----------------------------------------------------------------
target/xtensa updates:

- make mini-bootloader independent of the initial CPU state;
- add noMMU XTFPGA variants;
- add two noMMU cores: de212 and sample_controller;
- fix issues reported by coverity against xtensa translator and disassembler.

----------------------------------------------------------------
Max Filippov (10):
      hw/xtensa/xtfpga: rewrite mini bootloader
      hw/xtensa/xtfpga: clean up function/structure names
      target/xtensa: fix default sysrom/sysram addresses
      hw/xtensa: extract xtensa_create_memory_regions
      hw/xtensa/xtfpga: extract flash configuration
      hw/xtensa/xtfpga: support noMMU cores
      target/xtensa: add de212 core
      target/xtensa: use different default CPU for MMU/noMMU
      target/xtensa: add sample_controller core
      target/xtensa: disas/xtensa: fix coverity warnings

 disas/xtensa.c                                     |     4 +-
 hw/xtensa/Makefile.objs                            |     1 +
 hw/xtensa/sim.c                                    |    38 +-
 hw/xtensa/xtensa_memory.c                          |    55 +
 hw/xtensa/xtensa_memory.h                          |    40 +
 hw/xtensa/xtfpga.c                                 |   414 +-
 target/xtensa/Makefile.objs                        |     2 +
 target/xtensa/core-de212.c                         |    53 +
 target/xtensa/core-de212/core-isa.h                |   622 +
 target/xtensa/core-de212/gdb-config.c              |   198 +
 target/xtensa/core-de212/xtensa-modules.c          | 14566 +++++++++++++++++++
 target/xtensa/core-sample_controller.c             |    53 +
 target/xtensa/core-sample_controller/core-isa.h    |   644 +
 target/xtensa/core-sample_controller/gdb-config.c  |   141 +
 .../xtensa/core-sample_controller/xtensa-modules.c | 11377 +++++++++++++++
 target/xtensa/cpu.h                                |     7 +-
 target/xtensa/overlay_tool.h                       |     8 +-
 target/xtensa/translate.c                          |     4 +-
 18 files changed, 28081 insertions(+), 146 deletions(-)
 create mode 100644 hw/xtensa/xtensa_memory.c
 create mode 100644 hw/xtensa/xtensa_memory.h
 create mode 100644 target/xtensa/core-de212.c
 create mode 100644 target/xtensa/core-de212/core-isa.h
 create mode 100644 target/xtensa/core-de212/gdb-config.c
 create mode 100644 target/xtensa/core-de212/xtensa-modules.c
 create mode 100644 target/xtensa/core-sample_controller.c
 create mode 100644 target/xtensa/core-sample_controller/core-isa.h
 create mode 100644 target/xtensa/core-sample_controller/gdb-config.c
 create mode 100644 target/xtensa/core-sample_controller/xtensa-modules.c

-- 
Thanks.
-- Max

Re: [Qemu-devel] [PULL 00/10] target/xtensa updates
Posted by Peter Maydell 6 years, 2 months ago
On 19 January 2018 at 20:03, Max Filippov <jcmvbkbc@gmail.com> wrote:
> Hi Peter,
>
> please pull the following batch of updates for the target/xtensa.
>
> The following changes since commit 997eba28a3ed5400a80f754bf3a1c8044b75b9ff:
>
>   Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20180111' into staging (2018-01-11 14:34:41 +0000)
>
> are available in the git repository at:
>
>   git://github.com/OSLL/qemu-xtensa.git tags/20180119-xtensa
>
> for you to fetch changes up to 8030ed759be52b2517356c3d0291c45cedc65fd9:
>
>   target/xtensa: disas/xtensa: fix coverity warnings (2018-01-18 10:27:04 -0800)
>
> ----------------------------------------------------------------
> target/xtensa updates:
>
> - make mini-bootloader independent of the initial CPU state;
> - add noMMU XTFPGA variants;
> - add two noMMU cores: de212 and sample_controller;
> - fix issues reported by coverity against xtensa translator and disassembler.
>
> ----------------------------------------------------------------

This merge fails make check (all hosts):

QTEST_QEMU_BINARY=xtensaeb-softmmu/qemu-system-xtensaeb
QTEST_QEMU_IMG=qemu-img MALLOC_PERTURB_=${MALLOC_PERTURB_:-$((
${RANDOM:-0} % 255 + 1))} gtester -k --verbose -m=quick
tests/qmp-test tests/device-introspect-test tests/qom-test
tests/test-hmp
[...]

TEST: tests/qom-test... (pid=28150)
  /xtensaeb/qom/lx60:                                                  OK
  /xtensaeb/qom/ml605:                                                 OK
  /xtensaeb/qom/kc705:                                                 OK
  /xtensaeb/qom/lx60-nommu:                                            **
ERROR:/home/peter.maydell/qemu/qom/object.c:488:object_new_with_type:
assertion failed: (type != NULL)
Broken pipe
FAIL
GTester: last random seed: R02S503ca4c02ea3c0d048fa6ddad7f72d6b
(pid=28164)
  /xtensaeb/qom/lx200:                                                 OK
  /xtensaeb/qom/none:                                                  OK
  /xtensaeb/qom/lx200-nommu:                                           **
ERROR:/home/peter.maydell/qemu/qom/object.c:488:object_new_with_type:
assertion failed: (type != NULL)
Broken pipe
FAIL
GTester: last random seed: R02S354e3434cb9a78bcc813c3a564053150
(pid=28174)
  /xtensaeb/qom/ml605-nommu:                                           **
ERROR:/home/peter.maydell/qemu/qom/object.c:488:object_new_with_type:
assertion failed: (type != NULL)
Broken pipe
FAIL
GTester: last random seed: R02S15ab1f19833d9f4724ff6a760af17841
(pid=28179)
  /xtensaeb/qom/sim:                                                   OK
  /xtensaeb/qom/kc705-nommu:                                           **
ERROR:/home/peter.maydell/qemu/qom/object.c:488:object_new_with_type:
assertion failed: (type != NULL)
Broken pipe
FAIL
GTester: last random seed: R02Sfbce6559af977ed9aaa201d5f8525f99
(pid=28187)
FAIL: tests/qom-test

All the -nommu machines seem to fail qom-test with this assertion.
(Possibly the just-applied machine.next pullreq included something
that means your queue needs fixes?)

thanks
-- PMM