qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PULL 00/48] target-arm queue
@ 2020-02-07 14:32 Peter Maydell
  2020-02-07 14:32 ` [PULL 01/48] target/arm/monitor: query-cpu-model-expansion crashed qemu when using machine type none Peter Maydell
                   ` (48 more replies)
  0 siblings, 49 replies; 53+ messages in thread
From: Peter Maydell @ 2020-02-07 14:32 UTC (permalink / raw)
  To: qemu-devel

The big thing here is RTH's patchset implementing ARMv8.1-VHE
emulation; otherwise just a handful of smaller fixes.

thanks
-- PMM

The following changes since commit 346ed3151f1c43e72c40cb55b392a1d4cface62c:

  Merge remote-tracking branch 'remotes/awilliam/tags/vfio-update-20200206.0' into staging (2020-02-07 11:52:15 +0000)

are available in the Git repository at:

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

for you to fetch changes up to af6c91b490e9b1bce7a168f8a9c848f3e60f616e:

  stellaris: delay timer_new to avoid memleaks (2020-02-07 14:04:28 +0000)

----------------------------------------------------------------
target-arm queue:
 * monitor: fix query-cpu-model-expansion crash when using machine type none
 * Support emulation of the ARMv8.1-VHE architecture feature
 * bcm2835_dma: fix bugs in TD mode handling
 * docs/arm-cpu-features: Make kvm-no-adjvtime comment clearer
 * stellaris, stm32f2xx_timer, armv7m_systick: fix minor memory leaks

----------------------------------------------------------------
Alex Bennée (1):
      target/arm: check TGE and E2H flags for EL0 pauth traps

Liang Yan (1):
      target/arm/monitor: query-cpu-model-expansion crashed qemu when using machine type none

Pan Nengyuan (3):
      armv7m_systick: delay timer_new to avoid memleaks
      stm32f2xx_timer: delay timer_new to avoid memleaks
      stellaris: delay timer_new to avoid memleaks

Philippe Mathieu-Daudé (1):
      docs/arm-cpu-features: Make kvm-no-adjvtime comment clearer

Rene Stange (2):
      bcm2835_dma: Fix the ylen loop in TD mode
      bcm2835_dma: Re-initialize xlen in TD mode

Richard Henderson (40):
      target/arm: Define isar_feature_aa64_vh
      target/arm: Enable HCR_E2H for VHE
      target/arm: Add CONTEXTIDR_EL2
      target/arm: Add TTBR1_EL2
      target/arm: Update CNTVCT_EL0 for VHE
      target/arm: Split out vae1_tlbmask
      target/arm: Split out alle1_tlbmask
      target/arm: Simplify tlb_force_broadcast alternatives
      target/arm: Rename ARMMMUIdx*_S12NSE* to ARMMMUIdx*_E10_*
      target/arm: Rename ARMMMUIdx_S2NS to ARMMMUIdx_Stage2
      target/arm: Rename ARMMMUIdx_S1NSE* to ARMMMUIdx_Stage1_E*
      target/arm: Rename ARMMMUIdx_S1SE[01] to ARMMMUIdx_SE10_[01]
      target/arm: Rename ARMMMUIdx*_S1E3 to ARMMMUIdx*_SE3
      target/arm: Rename ARMMMUIdx_S1E2 to ARMMMUIdx_E2
      target/arm: Recover 4 bits from TBFLAGs
      target/arm: Expand TBFLAG_ANY.MMUIDX to 4 bits
      target/arm: Rearrange ARMMMUIdxBit
      target/arm: Tidy ARMMMUIdx m-profile definitions
      target/arm: Reorganize ARMMMUIdx
      target/arm: Add regime_has_2_ranges
      target/arm: Update arm_mmu_idx for VHE
      target/arm: Update arm_sctlr for VHE
      target/arm: Update aa64_zva_access for EL2
      target/arm: Update ctr_el0_access for EL2
      target/arm: Add the hypervisor virtual counter
      target/arm: Update timer access for VHE
      target/arm: Update define_one_arm_cp_reg_with_opaque for VHE
      target/arm: Add VHE system register redirection and aliasing
      target/arm: Add VHE timer register redirection and aliasing
      target/arm: Flush tlb for ASID changes in EL2&0 translation regime
      target/arm: Flush tlbs for E2&0 translation regime
      target/arm: Update arm_phys_excp_target_el for TGE
      target/arm: Update {fp,sve}_exception_el for VHE
      target/arm: Update get_a64_user_mem_index for VHE
      target/arm: Update arm_cpu_do_interrupt_aarch64 for VHE
      target/arm: Enable ARMv8.1-VHE in -cpu max
      target/arm: Move arm_excp_unmasked to cpu.c
      target/arm: Pass more cpu state to arm_excp_unmasked
      target/arm: Use bool for unmasked in arm_excp_unmasked
      target/arm: Raise only one interrupt in arm_cpu_exec_interrupt

 target/arm/cpu-param.h     |    2 +-
 target/arm/cpu-qom.h       |    1 +
 target/arm/cpu.h           |  423 ++++++----------
 target/arm/internals.h     |   73 ++-
 target/arm/translate.h     |    4 +-
 hw/arm/stellaris.c         |    7 +-
 hw/dma/bcm2835_dma.c       |    8 +-
 hw/timer/armv7m_systick.c  |    6 +
 hw/timer/stm32f2xx_timer.c |    5 +
 target/arm/cpu.c           |  162 +++++-
 target/arm/cpu64.c         |    1 +
 target/arm/debug_helper.c  |   50 +-
 target/arm/helper-a64.c    |    2 +-
 target/arm/helper.c        | 1211 ++++++++++++++++++++++++++++++++------------
 target/arm/monitor.c       |   15 +-
 target/arm/pauth_helper.c  |   14 +-
 target/arm/translate-a64.c |   47 +-
 target/arm/translate.c     |   74 +--
 docs/arm-cpu-features.rst  |    2 +-
 19 files changed, 1415 insertions(+), 692 deletions(-)


^ permalink raw reply	[flat|nested] 53+ messages in thread
* [PULL 00/48] target-arm queue
@ 2020-10-27 11:43 Peter Maydell
  2020-10-27 13:22 ` no-reply
  2020-10-29 14:30 ` Peter Maydell
  0 siblings, 2 replies; 53+ messages in thread
From: Peter Maydell @ 2020-10-27 11:43 UTC (permalink / raw)
  To: qemu-devel

Last minute pullreq for arm related patches; quite large because
there were several series that only just made it through code review
in time.

thanks
-- PMM

The following changes since commit 091e3e3dbc499d84c004e1c50bc9870af37f6e99:

  Merge remote-tracking branch 'remotes/ericb/tags/pull-bitmaps-2020-10-26' into staging (2020-10-26 22:36:35 +0000)

are available in the Git repository at:

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

for you to fetch changes up to 32bd322a0134ed89db00f2b9b3894982db3dedcb:

  hw/timer/armv7m_systick: Rewrite to use ptimers (2020-10-27 11:15:31 +0000)

----------------------------------------------------------------
target-arm queue:
 * raspi: add model of cprman clock manager
 * sbsa-ref: add an SBSA generic watchdog device
 * arm/trace: Fix hex printing
 * raspi: Add models of Pi 3 model A+, Pi Zero and Pi A+
 * hw/arm/smmuv3: Set the restoration priority of the vSMMUv3 explicitly
 * Nuvoton NPCM7xx: Add USB, RNG, GPIO and watchdog support
 * hw/arm: fix min_cpus for xlnx-versal-virt platform
 * hw/arm/highbank: Silence warnings about missing fallthrough statements
 * linux-user: Support Aarch64 BTI
 * Armv7M systick: fix corner case bugs by rewriting to use ptimer

----------------------------------------------------------------
Dr. David Alan Gilbert (1):
      arm/trace: Fix hex printing

Hao Wu (1):
      hw/timer: Adding watchdog for NPCM7XX Timer.

Havard Skinnemoen (4):
      Move npcm7xx_timer_reached_zero call out of npcm7xx_timer_pause
      hw/misc: Add npcm7xx random number generator
      hw/arm/npcm7xx: Add EHCI and OHCI controllers
      hw/gpio: Add GPIO model for Nuvoton NPCM7xx

Luc Michel (14):
      hw/core/clock: provide the VMSTATE_ARRAY_CLOCK macro
      hw/core/clock: trace clock values in Hz instead of ns
      hw/arm/raspi: fix CPRMAN base address
      hw/arm/raspi: add a skeleton implementation of the CPRMAN
      hw/misc/bcm2835_cprman: add a PLL skeleton implementation
      hw/misc/bcm2835_cprman: implement PLLs behaviour
      hw/misc/bcm2835_cprman: add a PLL channel skeleton implementation
      hw/misc/bcm2835_cprman: implement PLL channels behaviour
      hw/misc/bcm2835_cprman: add a clock mux skeleton implementation
      hw/misc/bcm2835_cprman: implement clock mux behaviour
      hw/misc/bcm2835_cprman: add the DSI0HSCK multiplexer
      hw/misc/bcm2835_cprman: add sane reset values to the registers
      hw/char/pl011: add a clock input
      hw/arm/bcm2835_peripherals: connect the UART clock

Pavel Dovgalyuk (1):
      hw/arm: fix min_cpus for xlnx-versal-virt platform

Peter Maydell (2):
      hw/core/ptimer: Support ptimer being disabled by timer callback
      hw/timer/armv7m_systick: Rewrite to use ptimers

Philippe Mathieu-Daudé (10):
      linux-user/elfload: Avoid leaking interp_name using GLib memory API
      hw/arm/bcm2836: Restrict BCM283XInfo declaration to C source
      hw/arm/bcm2836: QOM'ify more by adding class_init() to each SoC type
      hw/arm/bcm2836: Introduce BCM283XClass::core_count
      hw/arm/bcm2836: Only provide "enabled-cpus" property to multicore SoCs
      hw/arm/bcm2836: Split out common realize() code
      hw/arm/bcm2836: Introduce the BCM2835 SoC
      hw/arm/raspi: Add the Raspberry Pi A+ machine
      hw/arm/raspi: Add the Raspberry Pi Zero machine
      hw/arm/raspi: Add the Raspberry Pi 3 model A+

Richard Henderson (11):
      linux-user/aarch64: Reset btype for signals
      linux-user: Set PAGE_TARGET_1 for TARGET_PROT_BTI
      include/elf: Add defines related to GNU property notes for AArch64
      linux-user/elfload: Fix coding style in load_elf_image
      linux-user/elfload: Adjust iteration over phdr
      linux-user/elfload: Move PT_INTERP detection to first loop
      linux-user/elfload: Use Error for load_elf_image
      linux-user/elfload: Use Error for load_elf_interp
      linux-user/elfload: Parse NT_GNU_PROPERTY_TYPE_0 notes
      linux-user/elfload: Parse GNU_PROPERTY_AARCH64_FEATURE_1_AND
      tests/tcg/aarch64: Add bti smoke tests

Shashi Mallela (2):
      hw/watchdog: Implement SBSA watchdog device
      hw/arm/sbsa-ref: add SBSA watchdog device

Thomas Huth (1):
      hw/arm/highbank: Silence warnings about missing fallthrough statements

Zenghui Yu (1):
      hw/arm/smmuv3: Set the restoration priority of the vSMMUv3 explicitly

 docs/system/arm/nuvoton.rst                |    6 +-
 hw/usb/hcd-ehci.h                          |    1 +
 include/elf.h                              |   22 +
 include/exec/cpu-all.h                     |    2 +
 include/hw/arm/bcm2835_peripherals.h       |    5 +-
 include/hw/arm/bcm2836.h                   |    9 +-
 include/hw/arm/npcm7xx.h                   |    8 +
 include/hw/arm/raspi_platform.h            |    5 +-
 include/hw/char/pl011.h                    |    1 +
 include/hw/clock.h                         |    5 +
 include/hw/gpio/npcm7xx_gpio.h             |   55 ++
 include/hw/misc/bcm2835_cprman.h           |  210 ++++++
 include/hw/misc/bcm2835_cprman_internals.h | 1019 ++++++++++++++++++++++++++++
 include/hw/misc/npcm7xx_clk.h              |    2 +
 include/hw/misc/npcm7xx_rng.h              |   34 +
 include/hw/timer/armv7m_systick.h          |    3 +-
 include/hw/timer/npcm7xx_timer.h           |   48 +-
 include/hw/watchdog/sbsa_gwdt.h            |   79 +++
 linux-user/qemu.h                          |    4 +
 linux-user/syscall_defs.h                  |    4 +
 target/arm/cpu.h                           |    5 +
 hw/arm/bcm2835_peripherals.c               |   15 +-
 hw/arm/bcm2836.c                           |  182 +++--
 hw/arm/highbank.c                          |    2 +
 hw/arm/npcm7xx.c                           |  126 +++-
 hw/arm/raspi.c                             |   41 ++
 hw/arm/sbsa-ref.c                          |   23 +
 hw/arm/smmuv3.c                            |    1 +
 hw/arm/xlnx-versal-virt.c                  |    1 +
 hw/char/pl011.c                            |   45 ++
 hw/core/clock.c                            |    6 +-
 hw/core/ptimer.c                           |    4 +
 hw/gpio/npcm7xx_gpio.c                     |  424 ++++++++++++
 hw/misc/bcm2835_cprman.c                   |  808 ++++++++++++++++++++++
 hw/misc/npcm7xx_clk.c                      |   28 +
 hw/misc/npcm7xx_rng.c                      |  180 +++++
 hw/timer/armv7m_systick.c                  |  124 ++--
 hw/timer/npcm7xx_timer.c                   |  270 ++++++--
 hw/usb/hcd-ehci-sysbus.c                   |   19 +
 hw/watchdog/sbsa_gwdt.c                    |  293 ++++++++
 linux-user/aarch64/signal.c                |   10 +-
 linux-user/elfload.c                       |  326 +++++++--
 linux-user/mmap.c                          |   16 +
 target/arm/translate-a64.c                 |    6 +-
 tests/qtest/npcm7xx_gpio-test.c            |  385 +++++++++++
 tests/qtest/npcm7xx_rng-test.c             |  278 ++++++++
 tests/qtest/npcm7xx_watchdog_timer-test.c  |  319 +++++++++
 tests/tcg/aarch64/bti-1.c                  |   62 ++
 tests/tcg/aarch64/bti-2.c                  |  116 ++++
 tests/tcg/aarch64/bti-crt.inc.c            |   51 ++
 MAINTAINERS                                |    1 +
 hw/arm/Kconfig                             |    1 +
 hw/arm/trace-events                        |    2 +-
 hw/char/trace-events                       |    1 +
 hw/core/trace-events                       |    4 +-
 hw/gpio/meson.build                        |    1 +
 hw/gpio/trace-events                       |    7 +
 hw/misc/meson.build                        |    2 +
 hw/misc/trace-events                       |    9 +
 hw/watchdog/Kconfig                        |    3 +
 hw/watchdog/meson.build                    |    1 +
 tests/qtest/meson.build                    |    6 +-
 tests/tcg/aarch64/Makefile.target          |   10 +
 tests/tcg/configure.sh                     |    4 +
 64 files changed, 5461 insertions(+), 279 deletions(-)
 create mode 100644 include/hw/gpio/npcm7xx_gpio.h
 create mode 100644 include/hw/misc/bcm2835_cprman.h
 create mode 100644 include/hw/misc/bcm2835_cprman_internals.h
 create mode 100644 include/hw/misc/npcm7xx_rng.h
 create mode 100644 include/hw/watchdog/sbsa_gwdt.h
 create mode 100644 hw/gpio/npcm7xx_gpio.c
 create mode 100644 hw/misc/bcm2835_cprman.c
 create mode 100644 hw/misc/npcm7xx_rng.c
 create mode 100644 hw/watchdog/sbsa_gwdt.c
 create mode 100644 tests/qtest/npcm7xx_gpio-test.c
 create mode 100644 tests/qtest/npcm7xx_rng-test.c
 create mode 100644 tests/qtest/npcm7xx_watchdog_timer-test.c
 create mode 100644 tests/tcg/aarch64/bti-1.c
 create mode 100644 tests/tcg/aarch64/bti-2.c
 create mode 100644 tests/tcg/aarch64/bti-crt.inc.c


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

end of thread, other threads:[~2020-10-29 14:35 UTC | newest]

Thread overview: 53+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-07 14:32 [PULL 00/48] target-arm queue Peter Maydell
2020-02-07 14:32 ` [PULL 01/48] target/arm/monitor: query-cpu-model-expansion crashed qemu when using machine type none Peter Maydell
2020-02-07 14:32 ` [PULL 02/48] target/arm: Define isar_feature_aa64_vh Peter Maydell
2020-02-07 14:32 ` [PULL 03/48] target/arm: Enable HCR_E2H for VHE Peter Maydell
2020-02-07 14:32 ` [PULL 04/48] target/arm: Add CONTEXTIDR_EL2 Peter Maydell
2020-02-07 14:33 ` [PULL 05/48] target/arm: Add TTBR1_EL2 Peter Maydell
2020-02-07 14:33 ` [PULL 06/48] target/arm: Update CNTVCT_EL0 for VHE Peter Maydell
2020-02-07 14:33 ` [PULL 07/48] target/arm: Split out vae1_tlbmask Peter Maydell
2020-02-07 14:33 ` [PULL 08/48] target/arm: Split out alle1_tlbmask Peter Maydell
2020-02-07 14:33 ` [PULL 09/48] target/arm: Simplify tlb_force_broadcast alternatives Peter Maydell
2020-02-07 14:33 ` [PULL 10/48] target/arm: Rename ARMMMUIdx*_S12NSE* to ARMMMUIdx*_E10_* Peter Maydell
2020-02-07 14:33 ` [PULL 11/48] target/arm: Rename ARMMMUIdx_S2NS to ARMMMUIdx_Stage2 Peter Maydell
2020-02-07 14:33 ` [PULL 12/48] target/arm: Rename ARMMMUIdx_S1NSE* to ARMMMUIdx_Stage1_E* Peter Maydell
2020-02-07 14:33 ` [PULL 13/48] target/arm: Rename ARMMMUIdx_S1SE[01] to ARMMMUIdx_SE10_[01] Peter Maydell
2020-02-07 14:33 ` [PULL 14/48] target/arm: Rename ARMMMUIdx*_S1E3 to ARMMMUIdx*_SE3 Peter Maydell
2020-02-07 14:33 ` [PULL 15/48] target/arm: Rename ARMMMUIdx_S1E2 to ARMMMUIdx_E2 Peter Maydell
2020-02-07 14:33 ` [PULL 16/48] target/arm: Recover 4 bits from TBFLAGs Peter Maydell
2020-02-07 14:33 ` [PULL 17/48] target/arm: Expand TBFLAG_ANY.MMUIDX to 4 bits Peter Maydell
2020-02-07 14:33 ` [PULL 18/48] target/arm: Rearrange ARMMMUIdxBit Peter Maydell
2020-02-07 14:33 ` [PULL 19/48] target/arm: Tidy ARMMMUIdx m-profile definitions Peter Maydell
2020-02-07 14:33 ` [PULL 20/48] target/arm: Reorganize ARMMMUIdx Peter Maydell
2020-02-07 14:33 ` [PULL 21/48] target/arm: Add regime_has_2_ranges Peter Maydell
2020-02-07 14:33 ` [PULL 22/48] target/arm: Update arm_mmu_idx for VHE Peter Maydell
2020-02-07 14:33 ` [PULL 23/48] target/arm: Update arm_sctlr " Peter Maydell
2020-02-07 14:33 ` [PULL 24/48] target/arm: Update aa64_zva_access for EL2 Peter Maydell
2020-02-07 14:33 ` [PULL 25/48] target/arm: Update ctr_el0_access " Peter Maydell
2020-02-07 14:33 ` [PULL 26/48] target/arm: Add the hypervisor virtual counter Peter Maydell
2020-02-07 14:33 ` [PULL 27/48] target/arm: Update timer access for VHE Peter Maydell
2020-02-07 14:33 ` [PULL 28/48] target/arm: Update define_one_arm_cp_reg_with_opaque " Peter Maydell
2020-02-07 14:33 ` [PULL 29/48] target/arm: Add VHE system register redirection and aliasing Peter Maydell
2020-02-07 14:33 ` [PULL 30/48] target/arm: Add VHE timer " Peter Maydell
2020-02-07 14:33 ` [PULL 31/48] target/arm: Flush tlb for ASID changes in EL2&0 translation regime Peter Maydell
2020-02-07 14:33 ` [PULL 32/48] target/arm: Flush tlbs for E2&0 " Peter Maydell
2020-02-07 14:33 ` [PULL 33/48] target/arm: Update arm_phys_excp_target_el for TGE Peter Maydell
2020-02-07 14:33 ` [PULL 34/48] target/arm: Update {fp,sve}_exception_el for VHE Peter Maydell
2020-02-07 14:33 ` [PULL 35/48] target/arm: check TGE and E2H flags for EL0 pauth traps Peter Maydell
2020-02-07 14:33 ` [PULL 36/48] target/arm: Update get_a64_user_mem_index for VHE Peter Maydell
2020-02-07 14:33 ` [PULL 37/48] target/arm: Update arm_cpu_do_interrupt_aarch64 " Peter Maydell
2020-02-07 14:33 ` [PULL 38/48] target/arm: Enable ARMv8.1-VHE in -cpu max Peter Maydell
2020-02-07 14:33 ` [PULL 39/48] target/arm: Move arm_excp_unmasked to cpu.c Peter Maydell
2020-02-07 14:33 ` [PULL 40/48] target/arm: Pass more cpu state to arm_excp_unmasked Peter Maydell
2020-02-07 14:33 ` [PULL 41/48] target/arm: Use bool for unmasked in arm_excp_unmasked Peter Maydell
2020-02-07 14:33 ` [PULL 42/48] target/arm: Raise only one interrupt in arm_cpu_exec_interrupt Peter Maydell
2020-02-07 14:33 ` [PULL 43/48] bcm2835_dma: Fix the ylen loop in TD mode Peter Maydell
2020-02-07 14:33 ` [PULL 44/48] bcm2835_dma: Re-initialize xlen " Peter Maydell
2020-02-07 14:33 ` [PULL 45/48] docs/arm-cpu-features: Make kvm-no-adjvtime comment clearer Peter Maydell
2020-02-07 14:33 ` [PULL 46/48] armv7m_systick: delay timer_new to avoid memleaks Peter Maydell
2020-02-07 14:33 ` [PULL 47/48] stm32f2xx_timer: " Peter Maydell
2020-02-07 14:33 ` [PULL 48/48] stellaris: " Peter Maydell
2020-02-10 12:06 ` [PULL 00/48] target-arm queue Peter Maydell
  -- strict thread matches above, loose matches on Subject: below --
2020-10-27 11:43 Peter Maydell
2020-10-27 13:22 ` no-reply
2020-10-29 14:30 ` Peter Maydell

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).