qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PULL 00/43] target-arm queue
@ 2021-04-30 10:33 Peter Maydell
  2021-04-30 10:33 ` [PULL 01/43] hw/arm/smmuv3: Support 16K translation granule Peter Maydell
                   ` (44 more replies)
  0 siblings, 45 replies; 50+ messages in thread
From: Peter Maydell @ 2021-04-30 10:33 UTC (permalink / raw)
  To: qemu-devel

First arm pullreq for 6.1 cycle. The big stuff here is RTH's alignment series.

thanks
-- PMM

The following changes since commit ccdf06c1db192152ac70a1dd974c624f566cb7d4:

  Open 6.1 development tree (2021-04-30 11:15:40 +0100)

are available in the Git repository at:

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

for you to fetch changes up to a6091108aa44e9017af4ca13c43f55a629e3744c:

  hw/pci-host/gpex: Don't fault for unmapped parts of MMIO and PIO windows (2021-04-30 11:16:52 +0100)

----------------------------------------------------------------
target-arm queue:
 * hw/pci-host/gpex: Don't fault for unmapped parts of MMIO and PIO windows
 * hw: add compat machines for 6.1
 * Fault misaligned accesses where the architecture requires it
 * Fix some corner cases of MTE faults (notably with misaligned accesses)
 * Make Thumb store insns UNDEF for Rn==1111
 * hw/arm/smmuv3: Support 16K translation granule

----------------------------------------------------------------
Cornelia Huck (1):
      hw: add compat machines for 6.1

Kunkun Jiang (1):
      hw/arm/smmuv3: Support 16K translation granule

Peter Maydell (2):
      target/arm: Make Thumb store insns UNDEF for Rn==1111
      hw/pci-host/gpex: Don't fault for unmapped parts of MMIO and PIO windows

Richard Henderson (39):
      target/arm: Fix mte_checkN
      target/arm: Split out mte_probe_int
      target/arm: Fix unaligned checks for mte_check1, mte_probe1
      test/tcg/aarch64: Add mte-5
      target/arm: Replace MTEDESC ESIZE+TSIZE with SIZEM1
      target/arm: Merge mte_check1, mte_checkN
      target/arm: Rename mte_probe1 to mte_probe
      target/arm: Simplify sve mte checking
      target/arm: Remove log2_esize parameter to gen_mte_checkN
      target/arm: Fix decode of align in VLDST_single
      target/arm: Rename TBFLAG_A32, SCTLR_B
      target/arm: Rename TBFLAG_ANY, PSTATE_SS
      target/arm: Add wrapper macros for accessing tbflags
      target/arm: Introduce CPUARMTBFlags
      target/arm: Move mode specific TB flags to tb->cs_base
      target/arm: Move TBFLAG_AM32 bits to the top
      target/arm: Move TBFLAG_ANY bits to the bottom
      target/arm: Add ALIGN_MEM to TBFLAG_ANY
      target/arm: Adjust gen_aa32_{ld, st}_i32 for align+endianness
      target/arm: Merge gen_aa32_frob64 into gen_aa32_ld_i64
      target/arm: Fix SCTLR_B test for TCGv_i64 load/store
      target/arm: Adjust gen_aa32_{ld, st}_i64 for align+endianness
      target/arm: Enforce word alignment for LDRD/STRD
      target/arm: Enforce alignment for LDA/LDAH/STL/STLH
      target/arm: Enforce alignment for LDM/STM
      target/arm: Enforce alignment for RFE
      target/arm: Enforce alignment for SRS
      target/arm: Enforce alignment for VLDM/VSTM
      target/arm: Enforce alignment for VLDR/VSTR
      target/arm: Enforce alignment for VLDn (all lanes)
      target/arm: Enforce alignment for VLDn/VSTn (multiple)
      target/arm: Enforce alignment for VLDn/VSTn (single)
      target/arm: Use finalize_memop for aa64 gpr load/store
      target/arm: Use finalize_memop for aa64 fpr load/store
      target/arm: Enforce alignment for aa64 load-acq/store-rel
      target/arm: Use MemOp for size + endian in aa64 vector ld/st
      target/arm: Enforce alignment for aa64 vector LDn/STn (multiple)
      target/arm: Enforce alignment for aa64 vector LDn/STn (single)
      target/arm: Enforce alignment for sve LD1R

 include/hw/boards.h               |   3 +
 include/hw/i386/pc.h              |   3 +
 include/hw/pci-host/gpex.h        |   4 +
 target/arm/cpu.h                  | 105 ++++++++++-----
 target/arm/helper-a64.h           |   3 +-
 target/arm/internals.h            |  11 +-
 target/arm/translate-a64.h        |   2 +-
 target/arm/translate.h            |  38 ++++++
 target/arm/neon-ls.decode         |   4 +-
 hw/arm/smmuv3.c                   |   6 +-
 hw/arm/virt.c                     |   7 +-
 hw/core/machine.c                 |   5 +
 hw/i386/pc.c                      |   3 +
 hw/i386/pc_piix.c                 |  14 +-
 hw/i386/pc_q35.c                  |  13 +-
 hw/pci-host/gpex.c                |  56 +++++++-
 hw/ppc/spapr.c                    |  17 ++-
 hw/s390x/s390-virtio-ccw.c        |  14 +-
 target/arm/helper-a64.c           |   2 +-
 target/arm/helper.c               | 162 ++++++++++++----------
 target/arm/mte_helper.c           | 185 ++++++++++---------------
 target/arm/sve_helper.c           | 100 +++++---------
 target/arm/translate-a64.c        | 236 ++++++++++++++++----------------
 target/arm/translate-sve.c        |  11 +-
 target/arm/translate.c            | 274 ++++++++++++++++++++++----------------
 tests/tcg/aarch64/mte-5.c         |  44 ++++++
 target/arm/translate-neon.c.inc   | 117 ++++++++++++----
 target/arm/translate-vfp.c.inc    |  20 +--
 tests/tcg/aarch64/Makefile.target |   2 +-
 29 files changed, 878 insertions(+), 583 deletions(-)
 create mode 100644 tests/tcg/aarch64/mte-5.c


^ permalink raw reply	[flat|nested] 50+ messages in thread
* [PULL 00/43] target-arm queue
@ 2023-12-19 19:12 Peter Maydell
  2023-12-20 16:03 ` Stefan Hajnoczi
  0 siblings, 1 reply; 50+ messages in thread
From: Peter Maydell @ 2023-12-19 19:12 UTC (permalink / raw)
  To: qemu-devel

Hi; here's the first target-arm pullreq for the 9.0 cycle.
The bulk of this is some cleanup/refactoring in the Arm
KVM code.

thanks
-- PMM

The following changes since commit bd00730ec0f621706d0179768436f82c39048499:

  Open 9.0 development tree (2023-12-19 09:46:22 -0500)

are available in the Git repository at:

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

for you to fetch changes up to 6f9c3aaa34e937d8deaab44671e7562e4027436b:

  fsl-imx: add simple RTC emulation for i.MX6 and i.MX7 boards (2023-12-19 18:03:32 +0000)

----------------------------------------------------------------
target-arm queue:
 * arm/kvm: drop the split between "common KVM support" and
   "64-bit KVM support", since 32-bit Arm KVM no longer exists
 * arm/kvm: clean up APIs to be consistent about CPU arguments
 * Don't implement *32_EL2 registers when EL1 is AArch64 only
 * Restrict DC CVAP & DC CVADP instructions to TCG accel
 * Restrict TCG specific helpers
 * Propagate MDCR_EL2.HPMN into PMCR_EL0.N
 * Include missing 'exec/exec-all.h' header
 * fsl-imx: add simple RTC emulation for i.MX6 and i.MX7 boards

----------------------------------------------------------------
Chao Du (1):
      target/arm: kvm64: remove a redundant KVM_CAP_SET_GUEST_DEBUG probe

Jean-Philippe Brucker (1):
      target/arm/helper: Propagate MDCR_EL2.HPMN into PMCR_EL0.N

Nikita Ostrenkov (1):
      fsl-imx: add simple RTC emulation for i.MX6 and i.MX7 boards

Peter Maydell (1):
      target/arm: Don't implement *32_EL2 registers when EL1 is AArch64 only

Philippe Mathieu-Daudé (19):
      hw/intc/arm_gicv3: Include missing 'qemu/error-report.h' header
      target/arm/kvm: Remove unused includes
      target/arm/kvm: Have kvm_arm_add_vcpu_properties take a ARMCPU argument
      target/arm/kvm: Have kvm_arm_sve_set_vls take a ARMCPU argument
      target/arm/kvm: Have kvm_arm_sve_get_vls take a ARMCPU argument
      target/arm/kvm: Have kvm_arm_set_device_attr take a ARMCPU argument
      target/arm/kvm: Have kvm_arm_pvtime_init take a ARMCPU argument
      target/arm/kvm: Have kvm_arm_pmu_init take a ARMCPU argument
      target/arm/kvm: Have kvm_arm_pmu_set_irq take a ARMCPU argument
      target/arm/kvm: Have kvm_arm_vcpu_init take a ARMCPU argument
      target/arm/kvm: Have kvm_arm_vcpu_finalize take a ARMCPU argument
      target/arm/kvm: Have kvm_arm_[get|put]_virtual_time take ARMCPU argument
      target/arm/kvm: Have kvm_arm_verify_ext_dabt_pending take a ARMCPU arg
      target/arm/kvm: Have kvm_arm_handle_dabt_nisv take a ARMCPU argument
      target/arm/kvm: Have kvm_arm_handle_debug take a ARMCPU argument
      target/arm/kvm: Have kvm_arm_hw_debug_active take a ARMCPU argument
      target/arm: Restrict TCG specific helpers
      target/arm: Restrict DC CVAP & DC CVADP instructions to TCG accel
      target/arm/tcg: Including missing 'exec/exec-all.h' header

Richard Henderson (20):
      accel/kvm: Make kvm_has_guest_debug static
      target/arm/kvm: Merge kvm_arm_init_debug into kvm_arch_init
      target/arm/kvm: Move kvm_arm_verify_ext_dabt_pending and unexport
      target/arm/kvm: Move kvm_arm_copy_hw_debug_data and unexport
      target/arm/kvm: Move kvm_arm_hw_debug_active and unexport
      target/arm/kvm: Move kvm_arm_handle_debug and unexport
      target/arm/kvm: Unexport kvm_arm_{get, put}_virtual_time
      target/arm/kvm: Inline kvm_arm_steal_time_supported
      target/arm/kvm: Move kvm_arm_get_host_cpu_features and unexport
      target/arm/kvm: Use a switch for kvm_arm_cpreg_level
      target/arm/kvm: Move kvm_arm_cpreg_level and unexport
      target/arm/kvm: Move kvm_arm_reg_syncs_via_cpreg_list and unexport
      target/arm/kvm: Merge kvm64.c into kvm.c
      target/arm/kvm: Unexport kvm_arm_vcpu_init
      target/arm/kvm: Unexport kvm_arm_vcpu_finalize
      target/arm/kvm: Unexport kvm_arm_init_cpreg_list
      target/arm/kvm: Init cap_has_inject_serror_esr in kvm_arch_init
      target/arm/kvm: Unexport kvm_{get,put}_vcpu_events
      target/arm/kvm: Unexport and tidy kvm_arm_sync_mpstate_to_{kvm, qemu}
      target/arm/kvm: Unexport kvm_arm_vm_state_change

 include/hw/misc/imx7_snvs.h    |    7 +-
 target/arm/kvm_arm.h           |  231 +------
 accel/kvm/kvm-all.c            |    2 +-
 hw/arm/virt.c                  |    9 +-
 hw/intc/arm_gicv3_its_kvm.c    |    1 +
 hw/misc/imx7_snvs.c            |   93 ++-
 target/arm/cpu.c               |    2 +-
 target/arm/cpu64.c             |    2 +-
 target/arm/debug_helper.c      |   23 +-
 target/arm/helper.c            |  117 ++--
 target/arm/kvm.c               | 1409 ++++++++++++++++++++++++++++++++++++++--
 target/arm/kvm64.c             | 1290 ------------------------------------
 target/arm/tcg/op_helper.c     |   55 ++
 target/arm/tcg/translate-a64.c |    1 +
 hw/misc/trace-events           |    4 +-
 target/arm/meson.build         |    2 +-
 16 files changed, 1592 insertions(+), 1656 deletions(-)
 delete mode 100644 target/arm/kvm64.c


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

end of thread, other threads:[~2023-12-20 17:27 UTC | newest]

Thread overview: 50+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-30 10:33 [PULL 00/43] target-arm queue Peter Maydell
2021-04-30 10:33 ` [PULL 01/43] hw/arm/smmuv3: Support 16K translation granule Peter Maydell
2021-04-30 10:33 ` [PULL 02/43] target/arm: Make Thumb store insns UNDEF for Rn==1111 Peter Maydell
2021-04-30 10:33 ` [PULL 03/43] target/arm: Fix mte_checkN Peter Maydell
2021-04-30 10:33 ` [PULL 04/43] target/arm: Split out mte_probe_int Peter Maydell
2021-04-30 10:33 ` [PULL 05/43] target/arm: Fix unaligned checks for mte_check1, mte_probe1 Peter Maydell
2021-04-30 10:34 ` [PULL 06/43] test/tcg/aarch64: Add mte-5 Peter Maydell
2021-04-30 10:34 ` [PULL 07/43] target/arm: Replace MTEDESC ESIZE+TSIZE with SIZEM1 Peter Maydell
2021-04-30 10:34 ` [PULL 08/43] target/arm: Merge mte_check1, mte_checkN Peter Maydell
2021-04-30 10:34 ` [PULL 09/43] target/arm: Rename mte_probe1 to mte_probe Peter Maydell
2021-04-30 10:34 ` [PULL 10/43] target/arm: Simplify sve mte checking Peter Maydell
2021-04-30 10:34 ` [PULL 11/43] target/arm: Remove log2_esize parameter to gen_mte_checkN Peter Maydell
2021-04-30 10:34 ` [PULL 12/43] target/arm: Fix decode of align in VLDST_single Peter Maydell
2021-04-30 10:34 ` [PULL 13/43] target/arm: Rename TBFLAG_A32, SCTLR_B Peter Maydell
2021-04-30 10:34 ` [PULL 14/43] target/arm: Rename TBFLAG_ANY, PSTATE_SS Peter Maydell
2021-04-30 10:34 ` [PULL 15/43] target/arm: Add wrapper macros for accessing tbflags Peter Maydell
2021-04-30 10:34 ` [PULL 16/43] target/arm: Introduce CPUARMTBFlags Peter Maydell
2021-04-30 10:34 ` [PULL 17/43] target/arm: Move mode specific TB flags to tb->cs_base Peter Maydell
2021-04-30 10:34 ` [PULL 18/43] target/arm: Move TBFLAG_AM32 bits to the top Peter Maydell
2021-04-30 10:34 ` [PULL 19/43] target/arm: Move TBFLAG_ANY bits to the bottom Peter Maydell
2021-04-30 10:34 ` [PULL 20/43] target/arm: Add ALIGN_MEM to TBFLAG_ANY Peter Maydell
2021-04-30 10:34 ` [PULL 21/43] target/arm: Adjust gen_aa32_{ld, st}_i32 for align+endianness Peter Maydell
2021-04-30 10:34 ` [PULL 22/43] target/arm: Merge gen_aa32_frob64 into gen_aa32_ld_i64 Peter Maydell
2021-04-30 10:34 ` [PULL 23/43] target/arm: Fix SCTLR_B test for TCGv_i64 load/store Peter Maydell
2021-04-30 10:34 ` [PULL 24/43] target/arm: Adjust gen_aa32_{ld, st}_i64 for align+endianness Peter Maydell
2021-04-30 10:34 ` [PULL 25/43] target/arm: Enforce word alignment for LDRD/STRD Peter Maydell
2021-04-30 10:34 ` [PULL 26/43] target/arm: Enforce alignment for LDA/LDAH/STL/STLH Peter Maydell
2021-04-30 10:34 ` [PULL 27/43] target/arm: Enforce alignment for LDM/STM Peter Maydell
2021-04-30 10:34 ` [PULL 28/43] target/arm: Enforce alignment for RFE Peter Maydell
2021-04-30 10:34 ` [PULL 29/43] target/arm: Enforce alignment for SRS Peter Maydell
2021-04-30 10:34 ` [PULL 30/43] target/arm: Enforce alignment for VLDM/VSTM Peter Maydell
2021-04-30 10:34 ` [PULL 31/43] target/arm: Enforce alignment for VLDR/VSTR Peter Maydell
2021-04-30 10:34 ` [PULL 32/43] target/arm: Enforce alignment for VLDn (all lanes) Peter Maydell
2021-04-30 10:34 ` [PULL 33/43] target/arm: Enforce alignment for VLDn/VSTn (multiple) Peter Maydell
2021-04-30 10:34 ` [PULL 34/43] target/arm: Enforce alignment for VLDn/VSTn (single) Peter Maydell
2021-04-30 10:34 ` [PULL 35/43] target/arm: Use finalize_memop for aa64 gpr load/store Peter Maydell
2021-04-30 10:34 ` [PULL 36/43] target/arm: Use finalize_memop for aa64 fpr load/store Peter Maydell
2021-04-30 10:34 ` [PULL 37/43] target/arm: Enforce alignment for aa64 load-acq/store-rel Peter Maydell
2021-04-30 10:34 ` [PULL 38/43] target/arm: Use MemOp for size + endian in aa64 vector ld/st Peter Maydell
2021-04-30 10:34 ` [PULL 39/43] target/arm: Enforce alignment for aa64 vector LDn/STn (multiple) Peter Maydell
2021-04-30 10:34 ` [PULL 40/43] target/arm: Enforce alignment for aa64 vector LDn/STn (single) Peter Maydell
2021-04-30 10:34 ` [PULL 41/43] target/arm: Enforce alignment for sve LD1R Peter Maydell
2021-04-30 10:34 ` [PULL 42/43] hw: add compat machines for 6.1 Peter Maydell
2021-04-30 10:34 ` [PULL 43/43] hw/pci-host/gpex: Don't fault for unmapped parts of MMIO and PIO windows Peter Maydell
2021-04-30 11:18 ` [PULL 00/43] target-arm queue no-reply
2021-04-30 12:45 ` Peter Maydell
2023-12-19 19:12 Peter Maydell
2023-12-20 16:03 ` Stefan Hajnoczi
2023-12-20 17:23   ` Peter Maydell
2023-12-20 17:26     ` 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).