[Qemu-devel] [PULL 00/47] target-arm queue

Test checkpatch passed
Test docker-mingw@fedora failed
Test asan passed
Test docker-clang@ubuntu passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190201160653.13829-1-peter.maydell@linaro.org
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Riku Voipio <riku.voipio@iki.fi>, Richard Henderson <rth@twiddle.net>, Peter Crosthwaite <crosthwaite.peter@gmail.com>, Peter Maydell <peter.maydell@linaro.org>, Laurent Vivier <laurent@vivier.eu>
There is a newer version of this series
hw/arm/Makefile.objs                  |    2 +-
hw/misc/Makefile.objs                 |    1 +
hw/nvram/Makefile.objs                |    1 +
include/hw/arm/{iotkit.h => armsse.h} |  113 ++-
include/hw/arm/armv7m.h               |    1 +
include/hw/arm/nrf51_soc.h            |    2 +
include/hw/misc/armsse-cpuid.h        |   41 ++
include/hw/misc/iotkit-secctl.h       |    6 +-
include/hw/misc/iotkit-sysinfo.h      |    6 +
include/hw/nvram/nrf51_nvm.h          |   64 ++
include/qom/cpu.h                     |   16 +-
linux-user/aarch64/target_syscall.h   |    2 +
target/arm/cpu.h                      |   12 +-
exec.c                                |   10 +-
hw/arm/armsse.c                       | 1241 +++++++++++++++++++++++++++++++++
hw/arm/armv7m.c                       |   23 +-
hw/arm/boot.c                         |    4 -
hw/arm/iotkit.c                       |  759 --------------------
hw/arm/mps2-tz.c                      |  121 +++-
hw/arm/nrf51_soc.c                    |   44 +-
hw/intc/armv7m_nvic.c                 |    3 +-
hw/misc/armsse-cpuid.c                |  134 ++++
hw/misc/iotkit-secctl.c               |    5 +-
hw/misc/iotkit-sysinfo.c              |   15 +-
hw/nvram/nrf51_nvm.c                  |  388 +++++++++++
linux-user/aarch64/cpu_loop.c         |   31 +-
linux-user/elfload.c                  |   10 +
target/arm/arm-powerctl.c             |    3 -
target/arm/cpu.c                      |   41 +-
target/arm/cpu64.c                    |   75 --
target/arm/helper.c                   |  139 +++-
target/arm/translate-a64.c            |   59 +-
tests/microbit-test.c                 |  108 +++
MAINTAINERS                           |    6 +-
default-configs/arm-softmmu.mak       |    3 +-
hw/misc/trace-events                  |    4 +
36 files changed, 2552 insertions(+), 941 deletions(-)
rename include/hw/arm/{iotkit.h => armsse.h} (53%)
create mode 100644 include/hw/misc/armsse-cpuid.h
create mode 100644 include/hw/nvram/nrf51_nvm.h
create mode 100644 hw/arm/armsse.c
delete mode 100644 hw/arm/iotkit.c
create mode 100644 hw/misc/armsse-cpuid.c
create mode 100644 hw/nvram/nrf51_nvm.c
[Qemu-devel] [PULL 00/47] target-arm queue
Posted by Peter Maydell 5 years, 2 months ago
As promised, more Arm patches. The big thing in here is the
MPS2-AN521 board model.

thanks
-- PMM

The following changes since commit cfe6c547690b06fbce54a6d0f7b05dd7f18e36ea:

  Merge remote-tracking branch 'remotes/xanclic/tags/pull-block-2019-01-31' into staging (2019-01-31 19:26:09 +0000)

are available in the Git repository at:

  https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20190201

for you to fetch changes up to 7743b70ffe7a8ce168adce2cf50ad156b1fefb8c:

  tests/microbit-test: Add tests for nRF51 NVMC (2019-02-01 15:32:17 +0000)

----------------------------------------------------------------
target-arm queue:
 * New machine mps2-an521 -- this is a model of the AN521 FPGA image for the MPS2 devboard
 * Fix various places where we failed to UNDEF invalid A64 instructions
 * Don't UNDEF a valid FCMLA on 32-bit inputs
 * Fix some bugs in the newly-added PAuth implementation
 * microbit: Implement NVMC non-volatile memory controller

----------------------------------------------------------------
Aaron Lindsay OS (2):
      target/arm: Send interrupts on PMU counter overflow
      target/arm: Add a timer to predict PMU counter overflow

Julia Suvorova (1):
      arm: Clarify the logic of set_pc()

Peter Maydell (33):
      armv7m: Don't assume the NVIC's CPU is CPU 0
      armv7m: Make cpu object a child of the armv7m container
      armv7m: Pass through start-powered-off CPU property
      hw/arm/iotkit: Rename IoTKit to ARMSSE
      hw/arm/iotkit: Refactor into abstract base class and subclass
      hw/arm/iotkit: Rename 'iotkit' local variables and functions
      hw/arm/iotkit: Rename files to hw/arm/armsse.[ch]
      hw/misc/iotkit-secctl: Support 4 internal MPCs
      hw/arm/armsse: Make number of SRAM banks parameterised
      hw/arm/armsse: Make SRAM bank size configurable
      hw/arm/armsse: Support dual-CPU configuration
      hw/arm/armsse: Give each CPU its own view of memory
      hw/arm/armsse: Put each CPU in its own cluster object
      iotkit-sysinfo: Make SYS_VERSION and SYS_CONFIG configurable
      hw/arm/armsse: Add unimplemented-device stubs for MHUs
      hw/arm/armsse: Add unimplemented-device stubs for PPUs
      hw/arm/armsse: Add unimplemented-device stub for cache control registers
      hw/arm/armsse: Add unimplemented-device stub for CPU local control registers
      hw/misc/armsse-cpuid: Implement SSE-200 CPU_IDENTITY register block
      hw/arm/armsse: Add CPU_IDENTITY block to SSE-200
      hw/arm/armsse: Add SSE-200 model
      hw/arm/mps2-tz: Add IRQ infrastructure to support SSE-200
      hw/arm/mps2-tz: Add mps2-an521 model
      target/arm/translate-a64: Don't underdecode system instructions
      target/arm/translate-a64: Don't underdecode PRFM
      target/arm/translate-a64: Don't underdecode SIMD ld/st multiple
      target/arm/translate-a64: Don't underdecode SIMD ld/st single
      target/arm/translate-a64: Don't underdecode add/sub extended register
      target/arm/translate-a64: Don't underdecode FP insns
      target/arm/translate-a64: Don't underdecode SDOT and UDOT
      exec.c: Don't reallocate IOMMUNotifiers that are in use
      target/arm/translate-a64: Fix FCMLA decoding error
      target/arm/translate-a64: Fix mishandling of size in FCMLA decode

Remi Denis-Courmont (2):
      target/arm: fix AArch64 virtual address space size
      target/arm: fix decoding of B{,L}RA{A,B}

Richard Henderson (5):
      target/arm: Enable API, APK bits in SCR, HCR
      target/arm: Always enable pac keys for user-only
      aarch64-linux-user: Update HWCAP bits from linux 5.0-rc1
      aarch64-linux-user: Enable HWCAP bits for PAuth
      linux-user: Initialize aarch64 pac keys

Steffen Görtz (3):
      hw/nvram/nrf51_nvm: Add nRF51 non-volatile memories
      arm: Instantiate NRF51 special NVM's and NVMC
      tests/microbit-test: Add tests for nRF51 NVMC

kumar sourav (1):
      hw/arm/nrf51_soc: set object owner in memory_region_init_ram

 hw/arm/Makefile.objs                  |    2 +-
 hw/misc/Makefile.objs                 |    1 +
 hw/nvram/Makefile.objs                |    1 +
 include/hw/arm/{iotkit.h => armsse.h} |  113 ++-
 include/hw/arm/armv7m.h               |    1 +
 include/hw/arm/nrf51_soc.h            |    2 +
 include/hw/misc/armsse-cpuid.h        |   41 ++
 include/hw/misc/iotkit-secctl.h       |    6 +-
 include/hw/misc/iotkit-sysinfo.h      |    6 +
 include/hw/nvram/nrf51_nvm.h          |   64 ++
 include/qom/cpu.h                     |   16 +-
 linux-user/aarch64/target_syscall.h   |    2 +
 target/arm/cpu.h                      |   12 +-
 exec.c                                |   10 +-
 hw/arm/armsse.c                       | 1241 +++++++++++++++++++++++++++++++++
 hw/arm/armv7m.c                       |   23 +-
 hw/arm/boot.c                         |    4 -
 hw/arm/iotkit.c                       |  759 --------------------
 hw/arm/mps2-tz.c                      |  121 +++-
 hw/arm/nrf51_soc.c                    |   44 +-
 hw/intc/armv7m_nvic.c                 |    3 +-
 hw/misc/armsse-cpuid.c                |  134 ++++
 hw/misc/iotkit-secctl.c               |    5 +-
 hw/misc/iotkit-sysinfo.c              |   15 +-
 hw/nvram/nrf51_nvm.c                  |  388 +++++++++++
 linux-user/aarch64/cpu_loop.c         |   31 +-
 linux-user/elfload.c                  |   10 +
 target/arm/arm-powerctl.c             |    3 -
 target/arm/cpu.c                      |   41 +-
 target/arm/cpu64.c                    |   75 --
 target/arm/helper.c                   |  139 +++-
 target/arm/translate-a64.c            |   59 +-
 tests/microbit-test.c                 |  108 +++
 MAINTAINERS                           |    6 +-
 default-configs/arm-softmmu.mak       |    3 +-
 hw/misc/trace-events                  |    4 +
 36 files changed, 2552 insertions(+), 941 deletions(-)
 rename include/hw/arm/{iotkit.h => armsse.h} (53%)
 create mode 100644 include/hw/misc/armsse-cpuid.h
 create mode 100644 include/hw/nvram/nrf51_nvm.h
 create mode 100644 hw/arm/armsse.c
 delete mode 100644 hw/arm/iotkit.c
 create mode 100644 hw/misc/armsse-cpuid.c
 create mode 100644 hw/nvram/nrf51_nvm.c

Re: [Qemu-devel] [PULL 00/47] target-arm queue
Posted by Peter Maydell 5 years, 2 months ago
On Fri, 1 Feb 2019 at 16:06, Peter Maydell <peter.maydell@linaro.org> wrote:
>
> As promised, more Arm patches. The big thing in here is the
> MPS2-AN521 board model.
>
> thanks
> -- PMM
>
> The following changes since commit cfe6c547690b06fbce54a6d0f7b05dd7f18e36ea:
>
>   Merge remote-tracking branch 'remotes/xanclic/tags/pull-block-2019-01-31' into staging (2019-01-31 19:26:09 +0000)
>
> are available in the Git repository at:
>
>   https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20190201
>
> for you to fetch changes up to 7743b70ffe7a8ce168adce2cf50ad156b1fefb8c:
>
>   tests/microbit-test: Add tests for nRF51 NVMC (2019-02-01 15:32:17 +0000)
>
> ----------------------------------------------------------------
> target-arm queue:
>  * New machine mps2-an521 -- this is a model of the AN521 FPGA image for the MPS2 devboard
>  * Fix various places where we failed to UNDEF invalid A64 instructions
>  * Don't UNDEF a valid FCMLA on 32-bit inputs
>  * Fix some bugs in the newly-added PAuth implementation
>  * microbit: Implement NVMC non-volatile memory controller
>

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/4.0
for any user-visible changes.

-- PMM

Re: [Qemu-devel] [PULL 00/47] target-arm queue
Posted by no-reply@patchew.org 5 years, 2 months ago
Patchew URL: https://patchew.org/QEMU/20190201160653.13829-1-peter.maydell@linaro.org/



Hi,

This series failed the docker-mingw@fedora build test. Please find the testing commands and
their output below. If you have Docker installed, you can probably reproduce it
locally.

=== TEST SCRIPT BEGIN ===
#!/bin/bash
time make docker-test-mingw@fedora SHOW_ENV=1 J=14
=== TEST SCRIPT END ===


Configure options:
--enable-werror --target-list=x86_64-softmmu,aarch64-softmmu --prefix=/tmp/qemu-test/install --python=/usr/bin/python3 --cross-prefix=x86_64-w64-mingw32- --enable-trace-backends=simple --enable-gnutls --enable-nettle --enable-curl --enable-vnc --enable-bzip2 --enable-guest-agent --with-sdlabi=2.0
ERROR: unknown option --with-sdlabi=2.0
Try '/tmp/qemu-test/src/configure --help' for more information
# QEMU configure log Sun Feb  3 15:00:00 UTC 2019
# Configured with: '/tmp/qemu-test/src/configure' '--enable-werror' '--target-list=x86_64-softmmu,aarch64-softmmu' '--prefix=/tmp/qemu-test/install' '--python=/usr/bin/python3' '--cross-prefix=x86_64-w64-mingw32-' '--enable-trace-backends=simple' '--enable-gnutls' '--enable-nettle' '--enable-curl' '--enable-vnc' '--enable-bzip2' '--enable-guest-agent' '--with-sdlabi=2.0'
---
funcs: do_compiler do_cc compile_object check_define main
lines: 92 122 617 634 0
x86_64-w64-mingw32-gcc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -std=gnu99 -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
config-temp/qemu-conf.c:2:2: error: #error __linux__ not defined
 #error __linux__ not defined
  ^~~~~

---
funcs: do_compiler do_cc compile_object check_define main
lines: 92 122 617 686 0
x86_64-w64-mingw32-gcc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -std=gnu99 -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
config-temp/qemu-conf.c:2:2: error: #error __i386__ not defined
 #error __i386__ not defined
  ^~~~~

---
funcs: do_compiler do_cc compile_object check_define main
lines: 92 122 617 689 0
x86_64-w64-mingw32-gcc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -std=gnu99 -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
config-temp/qemu-conf.c:2:2: error: #error __ILP32__ not defined
 #error __ILP32__ not defined
  ^~~~~

---
lines: 92 128 920 0
x86_64-w64-mingw32-gcc -mthreads -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -std=gnu99 -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -g -liberty
/usr/lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -liberty
collect2: error: ld returned 1 exit status
Failed to run 'configure'
Traceback (most recent call last):
  File "./tests/docker/docker.py", line 563, in <module>


The full log is available at
http://patchew.org/logs/20190201160653.13829-1-peter.maydell@linaro.org/testing.docker-mingw@fedora/?type=message.
---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to patchew-devel@redhat.com