:p
atchew
Login
Changes v1->v2: dropped all the patches for the bcm2828-mailbox qtest, which turns out to have portability problems on big-endian hosts and macos. thanks -- PMM The following changes since commit dccbaf0cc0f1744ffd7562a3dc60e4fc99fd9d44: Merge tag 'hw-misc-20240227' of https://github.com/philmd/qemu into staging (2024-02-27 10:11:07 +0000) are available in the Git repository at: https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20240227-1 for you to fetch changes up to 9c5c959dd748f2972e46a84b8d5f77794f515014: docs/system/arm: Add RPi4B to raspi.rst (2024-02-27 15:24:20 +0000) ---------------------------------------------------------------- target-arm queue: * Handle atomic updates of page tables entries in MMIO during PTW * Advertise Cortex-A53 erratum #843419 fix via REVIDR * MAINTAINERS: Cover hw/ide/ahci-allwinner.c with AllWinner A10 machine * misc: m48t59: replace qemu_system_reset_request() call with watchdog_perform_action() * misc: pxa2xx_timer: replace qemu_system_reset_request() call with watchdog_perform_action() * xlnx-versal-ospi: disable reentrancy detection for iomem_dac * sbsa-ref: Simplify init since PCIe is always enabled * stm32l4x5: Use TYPE_OR_IRQ when connecting STM32L4x5 EXTI fan-in IRQs * pl031: Update last RTCLR value on write in case it's read back * block: m25p80: Add support of mt35xu02gbba * xlnx-versal-virt: Add machine property ospi-flash * reset: refactor system reset to be three-phase aware * new board model raspi4b ---------------------------------------------------------------- Abhiram Tilak (2): misc: m48t59: replace qemu_system_reset_request() call with watchdog_perform_action() misc: pxa2xx_timer: replace qemu_system_reset_request() call with watchdog_perform_action() Ard Biesheuvel (1): target/arm: Advertise Cortex-A53 erratum #843419 fix via REVIDR Inès Varhol (2): hw/arm: Use TYPE_OR_IRQ when connecting STM32L4x5 EXTI fan-in IRQs tests/qtest: Check that EXTI fan-in irqs are correctly connected Jessica Clarke (1): pl031: Update last RTCLR value on write in case it's read back Jonathan Cameron (1): arm/ptw: Handle atomic updates of page tables entries in MMIO during PTW. Marcin Juszkiewicz (1): hw/arm/sbsa-ref: Simplify init since PCIe is always enabled Peter Maydell (9): system/bootdevice: Don't unregister reset handler in restore_boot_order() include/qom/object.h: New OBJECT_DEFINE_SIMPLE_TYPE{, _WITH_INTERFACES} macros hw/core: Add documentation and license comments to reset.h hw/core: Add ResetContainer which holds objects implementing Resettable hw/core/reset: Add qemu_{register, unregister}_resettable() hw/core/reset: Implement qemu_register_reset via qemu_register_resettable hw/core/machine: Use qemu_register_resettable for sysbus reset docs/devel/reset: Update to discuss system reset tests/avocado/boot_linux_console.py: Add Rpi4b boot tests Philippe Mathieu-Daudé (1): MAINTAINERS: Cover hw/ide/ahci-allwinner.c with AllWinner A10 machine Sai Pavan Boddu (3): xlnx-versal-ospi: disable reentrancy detection for iomem_dac block: m25p80: Add support of mt35xu02gbba arm: xlnx-versal-virt: Add machine property ospi-flash Sergey Kambalin (15): hw/arm/bcm2836: Split out common part of BCM283X classes hw/arm/bcm2853_peripherals: Split out common part of peripherals hw/arm/raspi: Split out raspi machine common part hw/arm: Introduce BCM2838 SoC hw/arm/bcm2838: Add GIC-400 to BCM2838 SoC hw/gpio: Add BCM2838 GPIO stub hw/gpio: Implement BCM2838 GPIO functionality hw/gpio: Connect SD controller to BCM2838 GPIO hw/arm: Add GPIO and SD to BCM2838 periph hw/arm: Introduce Raspberry PI 4 machine hw/arm/raspi4b: Temporarily disable unimplemented rpi4b devices hw/arm: Add memory region for BCM2837 RPiVid ASB hw/arm/bcm2838_peripherals: Add clock_isp stub hw/misc/bcm2835_property: Add missed BCM2835 properties docs/system/arm: Add RPi4B to raspi.rst MAINTAINERS | 11 + docs/devel/qom.rst | 34 ++- docs/devel/reset.rst | 44 +++- docs/system/arm/raspi.rst | 12 +- hw/block/m25p80_sfdp.h | 1 + include/hw/arm/bcm2835_peripherals.h | 29 ++- include/hw/arm/bcm2836.h | 27 ++- include/hw/arm/bcm2838.h | 31 +++ include/hw/arm/bcm2838_peripherals.h | 84 ++++++++ include/hw/arm/raspberrypi-fw-defs.h | 11 + include/hw/arm/raspi_platform.h | 38 +++- include/hw/arm/stm32l4x5_soc.h | 4 + include/hw/core/resetcontainer.h | 48 +++++ include/hw/display/bcm2835_fb.h | 2 + include/hw/gpio/bcm2838_gpio.h | 45 ++++ include/qom/object.h | 114 +++++++--- include/sysemu/reset.h | 113 ++++++++++ hw/arm/bcm2835_peripherals.c | 215 +++++++++++-------- hw/arm/bcm2836.c | 117 ++++++----- hw/arm/bcm2838.c | 263 +++++++++++++++++++++++ hw/arm/bcm2838_peripherals.c | 224 ++++++++++++++++++++ hw/arm/raspi.c | 130 +++++++----- hw/arm/raspi4b.c | 132 ++++++++++++ hw/arm/sbsa-ref.c | 5 +- hw/arm/stm32l4x5_soc.c | 80 ++++++- hw/arm/xlnx-versal-virt.c | 44 +++- hw/block/m25p80.c | 3 + hw/block/m25p80_sfdp.c | 36 ++++ hw/core/machine.c | 7 +- hw/core/reset.c | 166 ++++++++++++--- hw/core/resetcontainer.c | 77 +++++++ hw/gpio/bcm2838_gpio.c | 390 +++++++++++++++++++++++++++++++++++ hw/misc/bcm2835_property.c | 21 ++ hw/rtc/m48t59.c | 4 +- hw/rtc/pl031.c | 1 + hw/ssi/xlnx-versal-ospi.c | 6 + hw/timer/pxa2xx_timer.c | 3 +- system/bootdevice.c | 25 ++- target/arm/cpu64.c | 2 +- target/arm/ptw.c | 64 +++++- tests/qtest/stm32l4x5_exti-test.c | 37 ++++ hw/arm/meson.build | 2 + hw/arm/trace-events | 3 + hw/core/meson.build | 1 + hw/gpio/meson.build | 5 +- tests/avocado/boot_linux_console.py | 97 +++++++++ 46 files changed, 2503 insertions(+), 305 deletions(-) create mode 100644 include/hw/arm/bcm2838.h create mode 100644 include/hw/arm/bcm2838_peripherals.h create mode 100644 include/hw/core/resetcontainer.h create mode 100644 include/hw/gpio/bcm2838_gpio.h create mode 100644 hw/arm/bcm2838.c create mode 100644 hw/arm/bcm2838_peripherals.c create mode 100644 hw/arm/raspi4b.c create mode 100644 hw/core/resetcontainer.c create mode 100644 hw/gpio/bcm2838_gpio.c
v3->v4: Windows headers define an INT type which clashed with an enum value name in arm_gicv3_its.c... The following changes since commit eae587e8e3694b1aceab23239493fb4c7e1a80f5: Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2021-09-13' into staging (2021-09-13 11:00:30 +0100) are available in the Git repository at: https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20210913-3 for you to fetch changes up to 28e987a7e7edaa3ca7feeac65edca26145df8814: hw/arm/mps2.c: Mark internal-only I2C buses as 'full' (2021-09-13 21:01:08 +0100) ---------------------------------------------------------------- target-arm queue: * mark MPS2/MPS3 board-internal i2c buses as 'full' so that command line user-created devices are not plugged into them * Take an exception if PSTATE.IL is set * Support an emulated ITS in the virt board * Add support for kudo-bmc board * Probe for KVM_CAP_ARM_VM_IPA_SIZE when creating scratch VM * cadence_uart: Fix clock handling issues that prevented u-boot from running ---------------------------------------------------------------- Bin Meng (6): hw/misc: zynq_slcr: Correctly compute output clocks in the reset exit phase hw/char: cadence_uart: Disable transmit when input clock is disabled hw/char: cadence_uart: Move clock/reset check to uart_can_receive() hw/char: cadence_uart: Convert to memop_with_attrs() ops hw/char: cadence_uart: Ignore access when unclocked or in reset for uart_{read, write}() hw/char: cadence_uart: Log a guest error when device is unclocked or in reset Chris Rauer (1): hw/arm: Add support for kudo-bmc board. Marc Zyngier (1): hw/arm/virt: KVM: Probe for KVM_CAP_ARM_VM_IPA_SIZE when creating scratch VM Peter Maydell (5): target/arm: Take an exception if PSTATE.IL is set qdev: Support marking individual buses as 'full' hw/arm/mps2-tz.c: Add extra data parameter to MakeDevFn hw/arm/mps2-tz.c: Mark internal-only I2C buses as 'full' hw/arm/mps2.c: Mark internal-only I2C buses as 'full' Richard Henderson (1): target/arm: Merge disas_a64_insn into aarch64_tr_translate_insn Shashi Mallela (9): hw/intc: GICv3 ITS initial framework hw/intc: GICv3 ITS register definitions added hw/intc: GICv3 ITS command queue framework hw/intc: GICv3 ITS Command processing hw/intc: GICv3 ITS Feature enablement hw/intc: GICv3 redistributor ITS processing tests/data/acpi/virt: Add IORT files for ITS hw/arm/virt: add ITS support in virt GIC tests/data/acpi/virt: Update IORT files for ITS docs/system/arm/nuvoton.rst | 1 + hw/intc/gicv3_internal.h | 188 ++++- include/hw/arm/virt.h | 2 + include/hw/intc/arm_gicv3_common.h | 13 + include/hw/intc/arm_gicv3_its_common.h | 32 +- include/hw/qdev-core.h | 24 + target/arm/cpu.h | 1 + target/arm/kvm_arm.h | 4 +- target/arm/syndrome.h | 5 + target/arm/translate.h | 2 + hw/arm/mps2-tz.c | 92 ++- hw/arm/mps2.c | 12 +- hw/arm/npcm7xx_boards.c | 34 + hw/arm/virt.c | 29 +- hw/char/cadence_uart.c | 61 +- hw/intc/arm_gicv3.c | 14 + hw/intc/arm_gicv3_common.c | 13 + hw/intc/arm_gicv3_cpuif.c | 7 +- hw/intc/arm_gicv3_dist.c | 5 +- hw/intc/arm_gicv3_its.c | 1322 ++++++++++++++++++++++++++++++++ hw/intc/arm_gicv3_its_common.c | 7 +- hw/intc/arm_gicv3_its_kvm.c | 2 +- hw/intc/arm_gicv3_redist.c | 153 +++- hw/misc/zynq_slcr.c | 31 +- softmmu/qdev-monitor.c | 7 +- target/arm/helper-a64.c | 1 + target/arm/helper.c | 8 + target/arm/kvm.c | 7 +- target/arm/translate-a64.c | 255 +++--- target/arm/translate.c | 21 + hw/intc/meson.build | 1 + tests/data/acpi/virt/IORT | Bin 0 -> 124 bytes tests/data/acpi/virt/IORT.memhp | Bin 0 -> 124 bytes tests/data/acpi/virt/IORT.numamem | Bin 0 -> 124 bytes tests/data/acpi/virt/IORT.pxb | Bin 0 -> 124 bytes 35 files changed, 2144 insertions(+), 210 deletions(-) create mode 100644 hw/intc/arm_gicv3_its.c create mode 100644 tests/data/acpi/virt/IORT create mode 100644 tests/data/acpi/virt/IORT.memhp create mode 100644 tests/data/acpi/virt/IORT.numamem create mode 100644 tests/data/acpi/virt/IORT.pxb