Patches applied successfully (
tree,
apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240425103958.3237225-1-peter.maydell@linaro.org
Maintainers: Tyrone Ting <kfting@nuvoton.com>, Hao Wu <wuhaotsh@google.com>, Alistair Francis <alistair@alistair23.me>, Peter Maydell <peter.maydell@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, Eric Auger <eric.auger@redhat.com>, Arnaud Minier <arnaud.minier@telecom-paris.fr>, "Inès Varhol" <ines.varhol@telecom-paris.fr>, Laurent Vivier <laurent@vivier.eu>, Gerd Hoffmann <kraxel@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Bin Meng <bin.meng@windriver.com>, Palmer Dabbelt <palmer@dabbelt.com>, Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Yanan Wang <wangyanan55@huawei.com>, "Daniel P. Berrangé" <berrange@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, "Maciej S. Szmigiero" <maciej.szmigiero@oracle.com>, Beniamino Galvani <b.galvani@gmail.com>, Strahinja Jankovic <strahinja.p.jankovic@gmail.com>, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, Nicholas Piggin <npiggin@gmail.com>, Daniel Henrique Barboza <danielhb413@gmail.com>, David Gibson <david@gibson.dropbear.id.au>, Harsh Prateek Bora <harshpb@linux.ibm.com>, Francisco Iglesias <francisco.iglesias@amd.com>, Pavel Pisa <pisa@cmp.felk.cvut.cz>, Vikram Garhwal <fnu.vikram@xilinx.com>, Jason Wang <jasowang@redhat.com>, Dmitry Fleytman <dmitry.fleytman@gmail.com>, Akihiko Odaki <akihiko.odaki@daynix.com>, Sriram Yagnaraman <sriram.yagnaraman@ericsson.com>, Huacai Chen <chenhuacai@kernel.org>, Jiaxun Yang <jiaxun.yang@flygoat.com>, "Cédric Le Goater" <clg@kaod.org>, "Frédéric Barrat" <fbarrat@linux.ibm.com>, Halil Pasic <pasic@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, Eric Farman <farman@linux.ibm.com>, Thomas Huth <thuth@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, David Hildenbrand <david@redhat.com>, Ilya Leoshkevich <iii@linux.ibm.com>, Titus Rwantare <titusr@google.com>, Michael Rolnik <mrolnik@gmail.com>, Brian Cain <bcain@quicinc.com>, Song Gao <gaosong@loongson.cn>, Aurelien Jarno <aurelien@aurel32.net>, Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>, Stafford Horne <shorne@gmail.com>, Weiwei Li <liwei1518@gmail.com>, Liu Zhiwei <zhiwei_liu@linux.alibaba.com>, Yoshinori Sato <ysato@users.sourceforge.jp>, Artyom Tarasenko <atar4qemu@gmail.com>, Bastian Koppelmann <kbastian@mail.uni-paderborn.de>, Max Filippov <jcmvbkbc@gmail.com>
MAINTAINERS | 1 +
docs/devel/reset.rst | 25 +-
docs/system/arm/b-l475e-iot01a.rst | 2 +-
docs/system/arm/emulation.rst | 1 +
scripts/coccinelle/reset-type.cocci | 133 ++++++++
hw/intc/gicv3_internal.h | 13 +
include/hw/arm/stm32l4x5_soc.h | 7 +
include/hw/char/stm32l4x5_usart.h | 67 ++++
include/hw/intc/arm_gic_common.h | 2 +
include/hw/intc/arm_gicv3_common.h | 14 +
include/hw/resettable.h | 5 +-
linux-user/flat.h | 5 +-
target/arm/cpu-features.h | 5 +
target/arm/cpu-qom.h | 5 +-
target/arm/cpu.h | 9 +
target/arm/internals.h | 21 ++
target/arm/tcg/helper-a64.h | 1 +
target/arm/tcg/a64.decode | 1 +
hw/adc/npcm7xx_adc.c | 2 +-
hw/arm/pxa2xx_pic.c | 2 +-
hw/arm/smmu-common.c | 2 +-
hw/arm/smmuv3.c | 4 +-
hw/arm/stellaris.c | 10 +-
hw/arm/stm32l4x5_soc.c | 83 ++++-
hw/arm/virt.c | 29 +-
hw/audio/asc.c | 2 +-
hw/char/cadence_uart.c | 2 +-
hw/char/sifive_uart.c | 2 +-
hw/char/stm32l4x5_usart.c | 637 ++++++++++++++++++++++++++++++++++++
hw/core/cpu-common.c | 2 +-
hw/core/qdev.c | 4 +-
hw/core/reset.c | 17 +-
hw/core/resettable.c | 8 +-
hw/display/virtio-vga.c | 4 +-
hw/dma/soc_dma.c | 4 +-
hw/gpio/npcm7xx_gpio.c | 2 +-
hw/gpio/pl061.c | 2 +-
hw/gpio/stm32l4x5_gpio.c | 2 +-
hw/hyperv/vmbus.c | 2 +-
hw/i2c/allwinner-i2c.c | 5 +-
hw/i2c/npcm7xx_smbus.c | 2 +-
hw/input/adb.c | 2 +-
hw/input/ps2.c | 12 +-
hw/intc/arm_gic_common.c | 2 +-
hw/intc/arm_gic_kvm.c | 4 +-
hw/intc/arm_gicv3.c | 67 +++-
hw/intc/arm_gicv3_common.c | 50 ++-
hw/intc/arm_gicv3_cpuif.c | 268 ++++++++++++++-
hw/intc/arm_gicv3_dist.c | 36 ++
hw/intc/arm_gicv3_its.c | 4 +-
hw/intc/arm_gicv3_its_common.c | 2 +-
hw/intc/arm_gicv3_its_kvm.c | 4 +-
hw/intc/arm_gicv3_kvm.c | 9 +-
hw/intc/arm_gicv3_redist.c | 22 ++
hw/intc/xics.c | 2 +-
hw/m68k/q800-glue.c | 2 +-
hw/misc/djmemc.c | 2 +-
hw/misc/iosb.c | 2 +-
hw/misc/mac_via.c | 8 +-
hw/misc/macio/cuda.c | 4 +-
hw/misc/macio/pmu.c | 4 +-
hw/misc/mos6522.c | 2 +-
hw/misc/npcm7xx_clk.c | 13 +-
hw/misc/npcm7xx_gcr.c | 12 +-
hw/misc/npcm7xx_mft.c | 2 +-
hw/misc/npcm7xx_pwm.c | 2 +-
hw/misc/stm32l4x5_exti.c | 2 +-
hw/misc/stm32l4x5_rcc.c | 10 +-
hw/misc/stm32l4x5_syscfg.c | 2 +-
hw/misc/xlnx-versal-cframe-reg.c | 2 +-
hw/misc/xlnx-versal-crl.c | 2 +-
hw/misc/xlnx-versal-pmc-iou-slcr.c | 2 +-
hw/misc/xlnx-versal-trng.c | 2 +-
hw/misc/xlnx-versal-xramc.c | 2 +-
hw/misc/xlnx-zynqmp-apu-ctrl.c | 2 +-
hw/misc/xlnx-zynqmp-crf.c | 2 +-
hw/misc/zynq_slcr.c | 4 +-
hw/net/can/xlnx-zynqmp-can.c | 2 +-
hw/net/e1000.c | 2 +-
hw/net/e1000e.c | 2 +-
hw/net/igb.c | 2 +-
hw/net/igbvf.c | 2 +-
hw/nvram/xlnx-bbram.c | 2 +-
hw/nvram/xlnx-versal-efuse-ctrl.c | 2 +-
hw/nvram/xlnx-zynqmp-efuse.c | 2 +-
hw/pci-bridge/cxl_root_port.c | 4 +-
hw/pci-bridge/pcie_root_port.c | 2 +-
hw/pci-host/bonito.c | 2 +-
hw/pci-host/pnv_phb.c | 4 +-
hw/pci-host/pnv_phb3_msi.c | 4 +-
hw/pci/pci.c | 4 +-
hw/rtc/mc146818rtc.c | 2 +-
hw/s390x/css-bridge.c | 2 +-
hw/sensor/adm1266.c | 2 +-
hw/sensor/adm1272.c | 4 +-
hw/sensor/isl_pmbus_vr.c | 10 +-
hw/sensor/max31785.c | 2 +-
hw/sensor/max34451.c | 2 +-
hw/ssi/npcm7xx_fiu.c | 2 +-
hw/timer/etraxfs_timer.c | 2 +-
hw/timer/npcm7xx_timer.c | 2 +-
hw/usb/hcd-dwc2.c | 8 +-
hw/usb/xlnx-versal-usb2-ctrl-regs.c | 2 +-
hw/virtio/virtio-pci.c | 2 +-
linux-user/flatload.c | 293 +----------------
target/arm/cpu.c | 151 ++++++++-
target/arm/helper.c | 101 +++++-
target/arm/tcg/cpu64.c | 1 +
target/arm/tcg/helper-a64.c | 16 +-
target/arm/tcg/translate-a64.c | 19 ++
target/avr/cpu.c | 4 +-
target/cris/cpu.c | 4 +-
target/hexagon/cpu.c | 4 +-
target/i386/cpu.c | 4 +-
target/loongarch/cpu.c | 4 +-
target/m68k/cpu.c | 4 +-
target/microblaze/cpu.c | 4 +-
target/mips/cpu.c | 4 +-
target/openrisc/cpu.c | 4 +-
target/ppc/cpu_init.c | 4 +-
target/riscv/cpu.c | 4 +-
target/rx/cpu.c | 4 +-
target/sh4/cpu.c | 4 +-
target/sparc/cpu.c | 4 +-
target/tricore/cpu.c | 4 +-
target/xtensa/cpu.c | 4 +-
tests/qtest/stm32l4x5_usart-test.c | 315 ++++++++++++++++++
hw/arm/Kconfig | 1 +
hw/char/Kconfig | 3 +
hw/char/meson.build | 1 +
hw/char/trace-events | 12 +
hw/intc/trace-events | 2 +
tests/qtest/meson.build | 4 +-
133 files changed, 2239 insertions(+), 537 deletions(-)
create mode 100644 scripts/coccinelle/reset-type.cocci
create mode 100644 include/hw/char/stm32l4x5_usart.h
create mode 100644 hw/char/stm32l4x5_usart.c
create mode 100644 tests/qtest/stm32l4x5_usart-test.c