qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PULL 00/30] target-arm queue
@ 2022-10-25 16:39 Peter Maydell
  2022-10-25 16:39 ` [PULL 01/30] target/arm: Implement FEAT_E0PD Peter Maydell
                   ` (31 more replies)
  0 siblings, 32 replies; 42+ messages in thread
From: Peter Maydell @ 2022-10-25 16:39 UTC (permalink / raw)
  To: qemu-devel

Hi; this is the latest target-arm queue. Most of the patches
here are RTH's FEAT_HAFDBS finally landing. I've also included
the RNG-seed randomization patches from Jason, as well as a few
more minor things. The patches include a couple of regression
fixes:
 * the resettable patch fixes a SCSI reset regression
 * the 'do not re-randomize on snapshot load' patches fix
   record-and-replay regressions

thanks
-- PMM

The following changes since commit e750a7ace492f0b450653d4ad368a77d6f660fb8:

  Merge tag 'pull-9p-20221024' of https://github.com/cschoenebeck/qemu into staging (2022-10-24 14:27:12 -0400)

are available in the Git repository at:

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

for you to fetch changes up to e2114f701c78f76246e4b1872639dad94a6bdd21:

  rx: re-randomize rng-seed on reboot (2022-10-25 17:32:24 +0100)

----------------------------------------------------------------
target-arm queue:
 * Implement FEAT_E0PD
 * Implement FEAT_HAFDBS
 * honor HCR_E2H and HCR_TGE in arm_excp_unmasked()
 * hw/arm/virt: Fix devicetree warnings about the virtio-iommu node
 * hw/core/resettable: fix reset level counting
 * hw/hyperv/hyperv.c: Use device_cold_reset() instead of device_legacy_reset()
 * imx: reload cmp timer outside of the reload ptimer transaction
 * x86: do not re-randomize RNG seed on snapshot load
 * m68k/virt: do not re-randomize RNG seed on snapshot load
 * m68k/q800: do not re-randomize RNG seed on snapshot load
 * arm: re-randomize rng-seed on reboot
 * riscv: re-randomize rng-seed on reboot
 * mips/boston: re-randomize rng-seed on reboot
 * openrisc: re-randomize rng-seed on reboot
 * rx: re-randomize rng-seed on reboot

----------------------------------------------------------------
Ake Koomsin (1):
      target/arm: honor HCR_E2H and HCR_TGE in arm_excp_unmasked()

Axel Heider (1):
      target/imx: reload cmp timer outside of the reload ptimer transaction

Damien Hedde (1):
      hw/core/resettable: fix reset level counting

Jason A. Donenfeld (10):
      reset: allow registering handlers that aren't called by snapshot loading
      device-tree: add re-randomization helper function
      x86: do not re-randomize RNG seed on snapshot load
      arm: re-randomize rng-seed on reboot
      riscv: re-randomize rng-seed on reboot
      m68k/virt: do not re-randomize RNG seed on snapshot load
      m68k/q800: do not re-randomize RNG seed on snapshot load
      mips/boston: re-randomize rng-seed on reboot
      openrisc: re-randomize rng-seed on reboot
      rx: re-randomize rng-seed on reboot

Jean-Philippe Brucker (1):
      hw/arm/virt: Fix devicetree warnings about the virtio-iommu node

Peter Maydell (2):
      target/arm: Implement FEAT_E0PD
      hw/hyperv/hyperv.c: Use device_cold_reset() instead of device_legacy_reset()

Richard Henderson (14):
      target/arm: Introduce regime_is_stage2
      target/arm: Add ptw_idx to S1Translate
      target/arm: Add isar predicates for FEAT_HAFDBS
      target/arm: Extract HA and HD in aa64_va_parameters
      target/arm: Move S1_ptw_translate outside arm_ld[lq]_ptw
      target/arm: Add ARMFault_UnsuppAtomicUpdate
      target/arm: Remove loop from get_phys_addr_lpae
      target/arm: Fix fault reporting in get_phys_addr_lpae
      target/arm: Don't shift attrs in get_phys_addr_lpae
      target/arm: Consider GP an attribute in get_phys_addr_lpae
      target/arm: Tidy merging of attributes from descriptor and table
      target/arm: Implement FEAT_HAFDBS, access flag portion
      target/arm: Implement FEAT_HAFDBS, dirty bit portion
      target/arm: Use the max page size in a 2-stage ptw

 docs/devel/reset.rst          |   8 +-
 docs/system/arm/emulation.rst |   2 +
 qapi/run-state.json           |   6 +-
 include/hw/boards.h           |   2 +-
 include/sysemu/device_tree.h  |   9 +
 include/sysemu/reset.h        |   5 +-
 target/arm/cpu.h              |  15 ++
 target/arm/internals.h        |  30 +++
 hw/arm/aspeed.c               |   4 +-
 hw/arm/boot.c                 |   2 +
 hw/arm/mps2-tz.c              |   4 +-
 hw/arm/virt.c                 |   5 +-
 hw/core/reset.c               |  17 +-
 hw/core/resettable.c          |   3 +-
 hw/hppa/machine.c             |   4 +-
 hw/hyperv/hyperv.c            |   2 +-
 hw/i386/microvm.c             |   4 +-
 hw/i386/pc.c                  |   6 +-
 hw/i386/x86.c                 |   2 +-
 hw/m68k/q800.c                |  33 ++-
 hw/m68k/virt.c                |  20 +-
 hw/mips/boston.c              |   3 +
 hw/openrisc/boot.c            |   3 +
 hw/ppc/pegasos2.c             |   4 +-
 hw/ppc/pnv.c                  |   4 +-
 hw/ppc/spapr.c                |   4 +-
 hw/riscv/boot.c               |   3 +
 hw/rx/rx-gdbsim.c             |   3 +
 hw/s390x/s390-virtio-ccw.c    |   4 +-
 hw/timer/imx_epit.c           |   9 +-
 migration/savevm.c            |   2 +-
 softmmu/device_tree.c         |  21 ++
 softmmu/runstate.c            |  11 +-
 target/arm/cpu.c              |  24 +-
 target/arm/cpu64.c            |   2 +
 target/arm/helper.c           |  31 ++-
 target/arm/ptw.c              | 524 +++++++++++++++++++++++++++---------------
 37 files changed, 572 insertions(+), 263 deletions(-)


^ permalink raw reply	[flat|nested] 42+ messages in thread
* [PULL 00/30] target-arm queue
@ 2023-02-16 17:10 Peter Maydell
  2023-02-20 13:38 ` Peter Maydell
  0 siblings, 1 reply; 42+ messages in thread
From: Peter Maydell @ 2023-02-16 17:10 UTC (permalink / raw)
  To: qemu-devel

The following changes since commit 003ba52a8b327180e284630b289c6ece5a3e08b9:

  Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2023-02-16 11:16:39 +0000)

are available in the Git repository at:

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

for you to fetch changes up to caf01d6a435d9f4a95aeae2f9fc6cb8b889b1fb8:

  tests/qtest: Restrict tpm-tis-devices-{swtpm}-test to CONFIG_TCG (2023-02-16 16:28:53 +0000)

----------------------------------------------------------------
target-arm queue:
 * Some mostly M-profile-related code cleanups
 * avocado: Retire the boot_linux.py AArch64 TCG tests
 * hw/arm/smmuv3: Add GBPA register
 * arm/virt: don't try to spell out the accelerator
 * hw/arm: Attach PSPI module to NPCM7XX SoC
 * Some cleanup/refactoring patches aiming towards
   allowing building Arm targets without CONFIG_TCG

----------------------------------------------------------------
Alex Bennée (1):
      tests/avocado: retire the Aarch64 TCG tests from boot_linux.py

Claudio Fontana (3):
      target/arm: rename handle_semihosting to tcg_handle_semihosting
      target/arm: wrap psci call with tcg_enabled
      target/arm: wrap call to aarch64_sve_change_el in tcg_enabled()

Cornelia Huck (1):
      arm/virt: don't try to spell out the accelerator

Fabiano Rosas (7):
      target/arm: Move PC alignment check
      target/arm: Move cpregs code out of cpu.h
      tests/avocado: Skip tests that require a missing accelerator
      tests/avocado: Tag TCG tests with accel:tcg
      target/arm: Use "max" as default cpu for the virt machine with KVM
      tests/qtest: arm-cpu-features: Match tests to required accelerators
      tests/qtest: Restrict tpm-tis-devices-{swtpm}-test to CONFIG_TCG

Hao Wu (3):
      MAINTAINERS: Add myself to maintainers and remove Havard
      hw/ssi: Add Nuvoton PSPI Module
      hw/arm: Attach PSPI module to NPCM7XX SoC

Jean-Philippe Brucker (2):
      hw/arm/smmu-common: Support 64-bit addresses
      hw/arm/smmu-common: Fix TTB1 handling

Mostafa Saleh (1):
      hw/arm/smmuv3: Add GBPA register

Philippe Mathieu-Daudé (12):
      hw/intc/armv7m_nvic: Use OBJECT_DECLARE_SIMPLE_TYPE() macro
      target/arm: Simplify arm_v7m_mmu_idx_for_secstate() for user emulation
      target/arm: Reduce arm_v7m_mmu_idx_[all/for_secstate_and_priv]() scope
      target/arm: Constify ID_PFR1 on user emulation
      target/arm: Convert CPUARMState::eabi to boolean
      target/arm: Avoid resetting CPUARMState::eabi field
      target/arm: Restrict CPUARMState::gicv3state to sysemu
      target/arm: Restrict CPUARMState::arm_boot_info to sysemu
      target/arm: Restrict CPUARMState::nvic to sysemu
      target/arm: Store CPUARMState::nvic as NVICState*
      target/arm: Declare CPU <-> NVIC helpers in 'hw/intc/armv7m_nvic.h'
      hw/arm: Add missing XLNX_ZYNQMP_ARM -> USB_DWC3 Kconfig dependency

 MAINTAINERS                            |   8 +-
 docs/system/arm/nuvoton.rst            |   2 +-
 hw/arm/smmuv3-internal.h               |   7 +
 include/hw/arm/npcm7xx.h               |   2 +
 include/hw/arm/smmu-common.h           |   2 -
 include/hw/arm/smmuv3.h                |   1 +
 include/hw/intc/armv7m_nvic.h          | 128 +++++++++++++++++-
 include/hw/ssi/npcm_pspi.h             |  53 ++++++++
 linux-user/user-internals.h            |   2 +-
 target/arm/cpregs.h                    |  98 ++++++++++++++
 target/arm/cpu.h                       | 228 ++-------------------------------
 target/arm/internals.h                 |  14 --
 hw/arm/npcm7xx.c                       |  25 +++-
 hw/arm/smmu-common.c                   |   4 +-
 hw/arm/smmuv3.c                        |  43 ++++++-
 hw/arm/virt.c                          |  10 +-
 hw/intc/armv7m_nvic.c                  |  38 ++----
 hw/ssi/npcm_pspi.c                     | 221 ++++++++++++++++++++++++++++++++
 linux-user/arm/cpu_loop.c              |   4 +-
 target/arm/cpu.c                       |   5 +-
 target/arm/cpu_tcg.c                   |   3 +
 target/arm/helper.c                    |  31 +++--
 target/arm/m_helper.c                  |  86 +++++++------
 target/arm/machine.c                   |  18 +--
 tests/qtest/arm-cpu-features.c         |  28 ++--
 hw/arm/Kconfig                         |   1 +
 hw/ssi/meson.build                     |   2 +-
 hw/ssi/trace-events                    |   5 +
 tests/avocado/avocado_qemu/__init__.py |   4 +
 tests/avocado/boot_linux.py            |  48 ++-----
 tests/avocado/boot_linux_console.py    |   1 +
 tests/avocado/machine_aarch64_virt.py  |  63 ++++++++-
 tests/avocado/reverse_debugging.py     |   8 ++
 tests/qtest/meson.build                |   4 +-
 34 files changed, 798 insertions(+), 399 deletions(-)
 create mode 100644 include/hw/ssi/npcm_pspi.h
 create mode 100644 hw/ssi/npcm_pspi.c


^ permalink raw reply	[flat|nested] 42+ messages in thread
* [PULL 00/30] target-arm queue
@ 2023-09-21 17:36 Peter Maydell
  2023-09-25 15:36 ` Stefan Hajnoczi
  0 siblings, 1 reply; 42+ messages in thread
From: Peter Maydell @ 2023-09-21 17:36 UTC (permalink / raw)
  To: qemu-devel

Hi; here's this week's arm pullreq. Mostly this is my
work on FEAT_MOPS and FEAT_HBC, but there are some
other bits and pieces in there too, including a recent
set of elf2dmp patches.

thanks
-- PMM

The following changes since commit 55394dcbec8f0c29c30e792c102a0edd50a52bf4:

  Merge tag 'pull-loongarch-20230920' of https://gitlab.com/gaosong/qemu into staging (2023-09-20 13:56:18 -0400)

are available in the Git repository at:

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

for you to fetch changes up to 231f6a7d66254a58bedbee458591b780e0a507b1:

  elf2dmp: rework PDB_STREAM_INDEXES::segments obtaining (2023-09-21 16:13:54 +0100)

----------------------------------------------------------------
target-arm queue:
 * target/m68k: Add URL to semihosting spec
 * docs/devel/loads-stores: Fix git grep regexes
 * hw/arm/boot: Set SCR_EL3.FGTEn when booting kernel
 * linux-user: Correct SME feature names reported in cpuinfo
 * linux-user: Add missing arm32 hwcaps
 * Don't skip MTE checks for LDRT/STRT at EL0
 * Implement FEAT_HBC
 * Implement FEAT_MOPS
 * audio/jackaudio: Avoid dynamic stack allocation
 * sbsa-ref: add non-secure EL2 virtual timer
 * elf2dmp: improve Win2022, Win11 and large dumps

----------------------------------------------------------------
Fabian Vogt (1):
      hw/arm/boot: Set SCR_EL3.FGTEn when booting kernel

Marcin Juszkiewicz (1):
      sbsa-ref: add non-secure EL2 virtual timer

Peter Maydell (23):
      target/m68k: Add URL to semihosting spec
      docs/devel/loads-stores: Fix git grep regexes
      linux-user/elfload.c: Correct SME feature names reported in cpuinfo
      linux-user/elfload.c: Add missing arm and arm64 hwcap values
      linux-user/elfload.c: Report previously missing arm32 hwcaps
      target/arm: Update AArch64 ID register field definitions
      target/arm: Update user-mode ID reg mask values
      target/arm: Implement FEAT_HBC
      target/arm: Remove unused allocation_tag_mem() argument
      target/arm: Don't skip MTE checks for LDRT/STRT at EL0
      target/arm: Implement FEAT_MOPS enable bits
      target/arm: Pass unpriv bool to get_a64_user_mem_index()
      target/arm: Define syndrome function for MOPS exceptions
      target/arm: New function allocation_tag_mem_probe()
      target/arm: Implement MTE tag-checking functions for FEAT_MOPS
      target/arm: Implement the SET* instructions
      target/arm: Define new TB flag for ATA0
      target/arm: Implement the SETG* instructions
      target/arm: Implement MTE tag-checking functions for FEAT_MOPS copies
      target/arm: Implement the CPY* instructions
      target/arm: Enable FEAT_MOPS for CPU 'max'
      audio/jackaudio: Avoid dynamic stack allocation in qjack_client_init
      audio/jackaudio: Avoid dynamic stack allocation in qjack_process()

Viktor Prutyanov (5):
      elf2dmp: replace PE export name check with PDB name check
      elf2dmp: introduce physical block alignment
      elf2dmp: introduce merging of physical memory runs
      elf2dmp: use Linux mmap with MAP_NORESERVE when possible
      elf2dmp: rework PDB_STREAM_INDEXES::segments obtaining

 docs/devel/loads-stores.rst    |  40 +-
 docs/system/arm/emulation.rst  |   2 +
 contrib/elf2dmp/addrspace.h    |   1 +
 contrib/elf2dmp/pdb.h          |   2 +-
 contrib/elf2dmp/qemu_elf.h     |   2 +
 target/arm/cpu.h               |  35 ++
 target/arm/internals.h         |  55 +++
 target/arm/syndrome.h          |  12 +
 target/arm/tcg/helper-a64.h    |  14 +
 target/arm/tcg/translate.h     |   4 +-
 target/arm/tcg/a64.decode      |  38 +-
 audio/jackaudio.c              |  21 +-
 contrib/elf2dmp/addrspace.c    |  31 +-
 contrib/elf2dmp/main.c         | 154 ++++----
 contrib/elf2dmp/pdb.c          |  15 +-
 contrib/elf2dmp/qemu_elf.c     |  68 +++-
 hw/arm/boot.c                  |   4 +
 hw/arm/sbsa-ref.c              |   2 +
 linux-user/elfload.c           |  72 +++-
 target/arm/helper.c            |  39 +-
 target/arm/tcg/cpu64.c         |   5 +
 target/arm/tcg/helper-a64.c    | 878 +++++++++++++++++++++++++++++++++++++++++
 target/arm/tcg/hflags.c        |  21 +
 target/arm/tcg/mte_helper.c    | 281 +++++++++++--
 target/arm/tcg/translate-a64.c | 164 +++++++-
 target/m68k/m68k-semi.c        |   4 +
 tests/tcg/aarch64/sysregs.c    |   4 +-
 27 files changed, 1768 insertions(+), 200 deletions(-)


^ permalink raw reply	[flat|nested] 42+ messages in thread

end of thread, other threads:[~2023-09-25 15:37 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-25 16:39 [PULL 00/30] target-arm queue Peter Maydell
2022-10-25 16:39 ` [PULL 01/30] target/arm: Implement FEAT_E0PD Peter Maydell
2022-10-25 16:39 ` [PULL 02/30] hw/arm/virt: Fix devicetree warnings about the virtio-iommu node Peter Maydell
2022-10-25 16:39 ` [PULL 03/30] target/arm: honor HCR_E2H and HCR_TGE in arm_excp_unmasked() Peter Maydell
2022-10-25 16:39 ` [PULL 04/30] hw/core/resettable: fix reset level counting Peter Maydell
2022-10-25 16:39 ` [PULL 05/30] hw/hyperv/hyperv.c: Use device_cold_reset() instead of device_legacy_reset() Peter Maydell
2022-10-25 16:39 ` [PULL 06/30] target/imx: reload cmp timer outside of the reload ptimer transaction Peter Maydell
2022-10-25 16:39 ` [PULL 07/30] target/arm: Introduce regime_is_stage2 Peter Maydell
2022-10-25 16:39 ` [PULL 08/30] target/arm: Add ptw_idx to S1Translate Peter Maydell
2022-10-31 23:14   ` Philippe Mathieu-Daudé
2022-11-01 10:10     ` Philippe Mathieu-Daudé
2022-11-01 16:57       ` Philippe Mathieu-Daudé
2022-10-25 16:39 ` [PULL 09/30] target/arm: Add isar predicates for FEAT_HAFDBS Peter Maydell
2022-10-25 16:39 ` [PULL 10/30] target/arm: Extract HA and HD in aa64_va_parameters Peter Maydell
2022-10-25 16:39 ` [PULL 11/30] target/arm: Move S1_ptw_translate outside arm_ld[lq]_ptw Peter Maydell
2022-10-25 16:39 ` [PULL 12/30] target/arm: Add ARMFault_UnsuppAtomicUpdate Peter Maydell
2022-10-25 16:39 ` [PULL 13/30] target/arm: Remove loop from get_phys_addr_lpae Peter Maydell
2022-10-25 16:39 ` [PULL 14/30] target/arm: Fix fault reporting in get_phys_addr_lpae Peter Maydell
2022-10-25 16:39 ` [PULL 15/30] target/arm: Don't shift attrs " Peter Maydell
2022-10-25 16:39 ` [PULL 16/30] target/arm: Consider GP an attribute " Peter Maydell
2022-10-25 16:39 ` [PULL 17/30] target/arm: Tidy merging of attributes from descriptor and table Peter Maydell
2022-10-25 16:39 ` [PULL 18/30] target/arm: Implement FEAT_HAFDBS, access flag portion Peter Maydell
2022-10-25 16:39 ` [PULL 19/30] target/arm: Implement FEAT_HAFDBS, dirty bit portion Peter Maydell
2022-10-25 16:39 ` [PULL 20/30] target/arm: Use the max page size in a 2-stage ptw Peter Maydell
2022-10-25 16:39 ` [PULL 21/30] reset: allow registering handlers that aren't called by snapshot loading Peter Maydell
2022-10-25 16:39 ` [PULL 22/30] device-tree: add re-randomization helper function Peter Maydell
2022-10-25 16:39 ` [PULL 23/30] x86: do not re-randomize RNG seed on snapshot load Peter Maydell
2022-10-25 16:39 ` [PULL 24/30] arm: re-randomize rng-seed on reboot Peter Maydell
2022-10-25 16:39 ` [PULL 25/30] riscv: " Peter Maydell
2022-10-25 16:39 ` [PULL 26/30] m68k/virt: do not re-randomize RNG seed on snapshot load Peter Maydell
2022-10-25 16:39 ` [PULL 27/30] m68k/q800: " Peter Maydell
2022-10-25 16:39 ` [PULL 28/30] mips/boston: re-randomize rng-seed on reboot Peter Maydell
2022-10-25 16:39 ` [PULL 29/30] openrisc: " Peter Maydell
2022-10-25 16:39 ` [PULL 30/30] rx: " Peter Maydell
2022-10-26 14:49 ` [PULL 00/30] target-arm queue Stefan Hajnoczi
2022-10-26 15:26   ` Jason A. Donenfeld
2022-10-26 14:51 ` Stefan Hajnoczi
2022-10-27 10:36   ` Peter Maydell
  -- strict thread matches above, loose matches on Subject: below --
2023-02-16 17:10 Peter Maydell
2023-02-20 13:38 ` Peter Maydell
2023-09-21 17:36 Peter Maydell
2023-09-25 15:36 ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).