Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: 97cdd1b0a7a010702a1d118b74c3af3bb2edb35c https://github.com/qemu/qemu/commit/97cdd1b0a7a010702a1d118b74c3af3bb2edb35c Author: Tim Lee <timlee660...@gmail.com> Date: 2025-05-06 (Tue, 06 May 2025)
Changed paths: M hw/arm/npcm8xx_boards.c Log Message: ----------- hw/arm/npcm8xx_boards: Correct valid_cpu_types setting of NPCM8XX SoC NPCM8XX SoC is the successor of the NPCM7XX. It features quad-core Cortex-A35 (Armv8, 64-bit) CPUs and some additional peripherals. Correct the `valid_cpu_types` setting to match the NPCM8XX SoC. Cc: qemu-sta...@nongnu.org Fixes: 7e70eb3cad7c83 ("hw/arm: Add NPCM845 Evaluation board") Signed-off-by: Tim Lee <timlee660...@gmail.com> Message-id: 20250428022934.3081139-1-timlee660...@gmail.com Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> Reviewed-by: Tyrone Ting <kft...@nuvoton.com> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 90f0078d023fc364c870188075f530f84f652758 https://github.com/qemu/qemu/commit/90f0078d023fc364c870188075f530f84f652758 Author: Mads Ynddal <m.ynd...@samsung.com> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M target/arm/hvf/hvf.c Log Message: ----------- hvf: avoid repeatedly setting trap debug for each cpu hvf_arch_set_traps is already called from a context of a specific CPUState, so we don't need to do a nested CPU_FOREACH. It also results in an error from hv_vcpu_set_sys_reg, as it may only be called from the thread owning the vCPU. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2895 Tested-by: Daniel Gomez <da.go...@samsung.com> Signed-off-by: Mads Ynddal <m.ynd...@samsung.com> Reported-by: Daniel Gomez <da.go...@samsung.com> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Message-id: 20250402135229.28143-2-m...@ynddal.dk Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: d5bd8d8267eba7379d94e0c2e46e54dd475d9886 https://github.com/qemu/qemu/commit/d5bd8d8267eba7379d94e0c2e46e54dd475d9886 Author: Mads Ynddal <m.ynd...@samsung.com> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M accel/hvf/hvf-all.c Log Message: ----------- hvf: only update sysreg from owning thread hv_vcpu_set_sys_reg should only be called from the owning thread of the vCPU, so to avoid crashes, the call to hvf_update_guest_debug is dispatched to the individual threads. Tested-by: Daniel Gomez <da.go...@samsung.com> Signed-off-by: Mads Ynddal <m.ynd...@samsung.com> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Message-id: 20250402135229.28143-3-m...@ynddal.dk Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: e47a9e886f2df1c8aae47dae03f07d417bb73dd5 https://github.com/qemu/qemu/commit/e47a9e886f2df1c8aae47dae03f07d417bb73dd5 Author: Pierrick Bouvier <pierrick.bouv...@linaro.org> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M target/arm/ptw.c Log Message: ----------- target/arm/ptw: extract arm_mmu_idx_to_security_space We'll reuse this function later. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Message-id: 20250414153027.1486719-2-pierrick.bouv...@linaro.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: b6af88fafa586b1571b0db7f00356ad65a713061 https://github.com/qemu/qemu/commit/b6af88fafa586b1571b0db7f00356ad65a713061 Author: Pierrick Bouvier <pierrick.bouv...@linaro.org> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M target/arm/ptw.c Log Message: ----------- target/arm/ptw: get current security_space for current mmu_idx It should be equivalent to previous code. Allow to call common function to get a page address later. Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Message-id: 20250414153027.1486719-3-pierrick.bouv...@linaro.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 63201878f1cab185110f4d738ca41e05689aebd7 https://github.com/qemu/qemu/commit/63201878f1cab185110f4d738ca41e05689aebd7 Author: Pierrick Bouvier <pierrick.bouv...@linaro.org> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M target/arm/ptw.c Log Message: ----------- target/arm/ptw: extract arm_cpu_get_phys_page Allow to call that function easily several times in next commit. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Message-id: 20250414153027.1486719-4-pierrick.bouv...@linaro.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: e1781b38af5e5c2e8a4b8f11e3e54de393a82eb2 https://github.com/qemu/qemu/commit/e1781b38af5e5c2e8a4b8f11e3e54de393a82eb2 Author: Pierrick Bouvier <pierrick.bouv...@linaro.org> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M target/arm/ptw.c Log Message: ----------- target/arm/ptw: fix arm_cpu_get_phys_page_attrs_debug It was reported that QEMU monitor command gva2gpa was reporting unmapped memory for a valid access (qemu-system-aarch64), during a copy from kernel to user space (__arch_copy_to_user symbol in Linux) [1]. This was affecting cpu_memory_rw_debug also, which is used in numerous places in our codebase. After investigating, the problem was specific to arm_cpu_get_phys_page_attrs_debug. When performing user access from a privileged space, we need to do a second lookup for user mmu idx, following what get_a64_user_mem_index is doing at translation time. [1] https://lists.nongnu.org/archive/html/qemu-discuss/2025-04/msg00013.html Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Message-id: 20250414153027.1486719-5-pierrick.bouv...@linaro.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 1731ec33c38ccc9b7629182e896737d2e31789c0 https://github.com/qemu/qemu/commit/1731ec33c38ccc9b7629182e896737d2e31789c0 Author: Philippe Mathieu-Daudé <phi...@linaro.org> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M hw/arm/virt.c Log Message: ----------- hw/arm/virt: Remove deprecated virt-2.6 machine This machine has been supported for a period of more than 6 years. According to our versioned machine support policy (see commit ce80c4fa6ff "docs: document special exception for machine type deprecation & removal") it can now be removed. Reviewed-by: Thomas Huth <th...@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 514712d5277de5237a49a4852f0f90c51696f94c https://github.com/qemu/qemu/commit/514712d5277de5237a49a4852f0f90c51696f94c Author: Philippe Mathieu-Daudé <phi...@linaro.org> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M hw/arm/virt.c M include/hw/arm/virt.h Log Message: ----------- hw/arm/virt: Remove VirtMachineClass::no_pmu field The VirtMachineClass::no_pmu field was only used by virt-2.6 machine, which got removed. Remove it and simplify machvirt_init(). Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Thomas Huth <th...@redhat.com> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 7f48918a372120a63f18712aa27de5e13b76bbf7 https://github.com/qemu/qemu/commit/7f48918a372120a63f18712aa27de5e13b76bbf7 Author: Philippe Mathieu-Daudé <phi...@linaro.org> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M hw/arm/virt.c M include/hw/arm/virt.h Log Message: ----------- hw/arm/virt: Remove VirtMachineClass::disallow_affinity_adjustment The VirtMachineClass::disallow_affinity_adjustment field was only used by virt-2.6 machine, which got removed. Remove it and simplify virt_cpu_mp_affinity(). Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Reviewed-by: Thomas Huth <th...@redhat.com> [PMM: Remove now-unused variable] Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 390becbf7faa8e7ecb10386ec21d52e1fcb16c96 https://github.com/qemu/qemu/commit/390becbf7faa8e7ecb10386ec21d52e1fcb16c96 Author: Philippe Mathieu-Daudé <phi...@linaro.org> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M hw/arm/virt.c Log Message: ----------- hw/arm/virt: Remove deprecated virt-2.7 machine This machine has been supported for a period of more than 6 years. According to our versioned machine support policy (see commit ce80c4fa6ff "docs: document special exception for machine type deprecation & removal") it can now be removed. Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Reviewed-by: Thomas Huth <th...@redhat.com> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 8d23b1df72124d82441f1ca0b484b7a4cabc542e https://github.com/qemu/qemu/commit/8d23b1df72124d82441f1ca0b484b7a4cabc542e Author: Philippe Mathieu-Daudé <phi...@linaro.org> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M hw/arm/virt-acpi-build.c M hw/arm/virt.c M include/hw/arm/virt.h Log Message: ----------- hw/arm/virt: Remove VirtMachineClass::no_its field The VirtMachineClass::no_its field was only used by virt-2.7 machine, which got removed. Remove it and simplify virt_instance_init() and virt_acpi_build(). Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Thomas Huth <th...@redhat.com> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: f54854f98416e2da29cde1b2e4f97efec47af984 https://github.com/qemu/qemu/commit/f54854f98416e2da29cde1b2e4f97efec47af984 Author: Philippe Mathieu-Daudé <phi...@linaro.org> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M hw/arm/virt.c Log Message: ----------- hw/arm/virt: Remove deprecated virt-2.8 machine This machine has been supported for a period of more than 6 years. According to our versioned machine support policy (see commit ce80c4fa6ff "docs: document special exception for machine type deprecation & removal") it can now be removed. Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Reviewed-by: Thomas Huth <th...@redhat.com> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 2d53ca0b228b403c69fe0db0339cb3d1ef0839df https://github.com/qemu/qemu/commit/2d53ca0b228b403c69fe0db0339cb3d1ef0839df Author: Philippe Mathieu-Daudé <phi...@linaro.org> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M hw/arm/virt-acpi-build.c M hw/arm/virt.c M include/hw/arm/virt.h Log Message: ----------- hw/arm/virt: Remove VirtMachineClass::claim_edge_triggered_timers field The VirtMachineClass::claim_edge_triggered_timers field was only used by virt-2.8 machine, which got removed. Remove it and simplify fdt_add_timer_nodes() and build_gtdt(). Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Thomas Huth <th...@redhat.com> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 684dd748e0d4b14ddcedddcac5982bc36bedeb69 https://github.com/qemu/qemu/commit/684dd748e0d4b14ddcedddcac5982bc36bedeb69 Author: Philippe Mathieu-Daudé <phi...@linaro.org> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M hw/arm/virt.c Log Message: ----------- hw/arm/virt: Remove deprecated virt-2.9 machine This machine has been supported for a period of more than 6 years. According to our versioned machine support policy (see commit ce80c4fa6ff "docs: document special exception for machine type deprecation & removal") it can now be removed. Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Reviewed-by: Thomas Huth <th...@redhat.com> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 21119f57cbd161899542f00cf6bb5087dea3c4e6 https://github.com/qemu/qemu/commit/21119f57cbd161899542f00cf6bb5087dea3c4e6 Author: Philippe Mathieu-Daudé <phi...@linaro.org> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M hw/arm/virt.c Log Message: ----------- hw/arm/virt: Remove deprecated virt-2.10 machine This machine has been supported for a period of more than 6 years. According to our versioned machine support policy (see commit ce80c4fa6ff "docs: document special exception for machine type deprecation & removal") it can now be removed. Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Reviewed-by: Thomas Huth <th...@redhat.com> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: ea461b203833d37500ba87eb2b8c2129978dd631 https://github.com/qemu/qemu/commit/ea461b203833d37500ba87eb2b8c2129978dd631 Author: Philippe Mathieu-Daudé <phi...@linaro.org> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M hw/arm/virt.c Log Message: ----------- hw/arm/virt: Remove deprecated virt-2.11 machine This machine has been supported for a period of more than 6 years. According to our versioned machine support policy (see commit ce80c4fa6ff "docs: document special exception for machine type deprecation & removal") it can now be removed. Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Reviewed-by: Thomas Huth <th...@redhat.com> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 50e5b00067a7cf9a4770ed826b95a3add1c344a4 https://github.com/qemu/qemu/commit/50e5b00067a7cf9a4770ed826b95a3add1c344a4 Author: Philippe Mathieu-Daudé <phi...@linaro.org> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M hw/arm/virt.c M include/hw/arm/virt.h Log Message: ----------- hw/arm/virt: Remove VirtMachineClass::smbios_old_sys_ver field The VirtMachineClass::smbios_old_sys_ver field was only used by virt-2.11 machine, which got removed. Remove it and simplify virt_build_smbios(). Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Thomas Huth <th...@redhat.com> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: c51af4e8fb024e98a794e3fc919117d0538b02c9 https://github.com/qemu/qemu/commit/c51af4e8fb024e98a794e3fc919117d0538b02c9 Author: Philippe Mathieu-Daudé <phi...@linaro.org> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M hw/arm/virt.c Log Message: ----------- hw/arm/virt: Remove deprecated virt-2.12 machine This machine has been supported for a period of more than 6 years. According to our versioned machine support policy (see commit ce80c4fa6ff "docs: document special exception for machine type deprecation & removal") it can now be removed. Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Reviewed-by: Thomas Huth <th...@redhat.com> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 358a1bc71359f03bfb64154ed3238f7c571e7872 https://github.com/qemu/qemu/commit/358a1bc71359f03bfb64154ed3238f7c571e7872 Author: Philippe Mathieu-Daudé <phi...@linaro.org> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M hw/arm/virt.c M include/hw/arm/virt.h Log Message: ----------- hw/arm/virt: Remove VirtMachineClass::no_highmem_ecam field The VirtMachineClass::no_highmem_ecam field was only used by virt-2.12 machine, which got removed. Remove it and simplify virt_instance_init(). Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Thomas Huth <th...@redhat.com> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: cef2274dfab2e0a1795297b98dd89d59e1d01e85 https://github.com/qemu/qemu/commit/cef2274dfab2e0a1795297b98dd89d59e1d01e85 Author: Bernhard Beschow <shen...@gmail.com> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M MAINTAINERS M tests/functional/meson.build A tests/functional/test_aarch64_imx8mp_evk.py Log Message: ----------- tests/functional: Add test for imx8mp-evk board with USDHC coverage Introduce a functional test which boots Debian 12 on the imx8mp-evk board. Since the root filesystem resides on an SD card, the test also verifies the basic operation of the USDHC. Signed-off-by: Bernhard Beschow <shen...@gmail.com> Reviewed-by: Thomas Huth <th...@redhat.com> Message-id: 20250409202630.19667-1-shen...@gmail.com [PMM: added extra blank line as suggested by thuth; set timeout to 240s] Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: d5df2bb0faad0e766cdd9f705d41b6092391153a https://github.com/qemu/qemu/commit/d5df2bb0faad0e766cdd9f705d41b6092391153a Author: Tim Lee <timlee660...@gmail.com> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M hw/arm/npcm8xx.c M include/hw/arm/npcm8xx.h Log Message: ----------- hw/arm: Attach PSPI module to NPCM8XX SoC Nuvoton's PSPI is a general purpose SPI module which enables connections to SPI-based peripheral devices. Attach it to the NPCM8XX. Tested: NPCM8XX PSPI driver probed successfully from dmesg log. Signed-off-by: Tim Lee <timlee660...@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Hao Wu <wuhao...@google.com> Reviewed-by: Tyrone Ting <kft...@nuvoton.com> Message-id: 20250414020629.1867106-1-timlee660...@gmail.com Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 8ed7c0b6488a7f20318d6ba414f1cbcd0ed92afe https://github.com/qemu/qemu/commit/8ed7c0b6488a7f20318d6ba414f1cbcd0ed92afe Author: Peter Maydell <peter.mayd...@linaro.org> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M target/arm/tcg/translate.c Log Message: ----------- target/arm: Don't assert() for ISB/SB inside IT block If the guest code has an ISB or SB insn inside an IT block, we generate incorrect code which trips a TCG assertion: qemu-system-arm: ../tcg/tcg-op.c:3343: void tcg_gen_goto_tb(unsigned int): Assertion `(tcg_ctx->goto_tb_issue_mask & (1 << idx)) == 0' failed. This is because we call gen_goto_tb(dc, 1, ...) twice: brcond_i32 ZF,$0x0,ne,$L1 add_i32 pc,pc,$0x4 goto_tb $0x1 exit_tb $0x73d948001b81 set_label $L1 add_i32 pc,pc,$0x4 goto_tb $0x1 exit_tb $0x73d948001b81 Both calls are in arm_tr_tb_stop(), one for the DISAS_NEXT/DISAS_TOO_MANY handling, and one for the dc->condjump condition-failed codepath. The DISAS_NEXT handling doesn't have this problem because arm_post_translate_insn() does the handling of "emit the label for the condition-failed conditional execution" and so arm_tr_tb_stop() doesn't have dc->condjump set. But for DISAS_TOO_MANY we don't do that. Fix the bug by making arm_post_translate_insn() handle the DISAS_TOO_MANY case. This only affects the SB and ISB insns when used in Thumb mode inside an IT block: only these insns specifically set is_jmp to TOO_MANY, and their A32 encodings are unconditional. For the major TOO_MANY case (breaking the TB because it would cross a page boundary) we do that check and set is_jmp to TOO_MANY only after the call to arm_post_translate_insn(); so arm_post_translate_insn() sees is_jmp == DISAS_NEXT, and we emit the correct code for that situation. With this fix we generate the somewhat more sensible set of TCG ops: brcond_i32 ZF,$0x0,ne,$L1 set_label $L1 add_i32 pc,pc,$0x4 goto_tb $0x1 exit_tb $0x7c5434001b81 (NB: the TCG optimizer doesn't optimize out the jump-to-next, but we can't really avoid emitting it because we don't know at the point we're emitting the handling for the condexec check whether this insn is going to happen to be a nop for us or not.) Cc: qemu-sta...@nongnu.org Fixes: https://gitlab.com/qemu-project/qemu/-/issues/2942 Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-id: 20250501125544.727038-1-peter.mayd...@linaro.org Commit: 82707dd4f07613eed8d639956a43bddffca5cd5c https://github.com/qemu/qemu/commit/82707dd4f07613eed8d639956a43bddffca5cd5c Author: Peter Maydell <peter.mayd...@linaro.org> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M docs/devel/codebase.rst M docs/system/qemu-block-drivers.rst.inc Log Message: ----------- docs: Don't define duplicate label in qemu-block-drivers.rst.inc Sphinx requires that labels within documents are unique across the whole manual. This is because the "create a hyperlink" directive specifies only the name of the label, not a filename+label. Some Sphinx versions will warn about duplicate labels, but even if there is no warning there is still an ambiguity and no guarantee that the hyperlink will be created to the right target. For QEMU this is awkward, because we have various .rst.inc fragments which we include into multiple .rst files. If you define a label in the .rst.inc file then it will be a duplicate label. We have mostly worked around this by not putting labels into those .rst.inc files, or by adding "insert a label" functionality into the hxtool extension (see commit 1eeb432a953b0 "doc/sphinx/hxtool.py: add optional label argument to SRST directive"). Unfortunately in commit 7f6314427e78 ("docs/devel: add a codebase section") we accidentally added a duplicate label, because not all Sphinx versions warn about the mistake. In this case the link was only from the developer docs codebase summary, so as the simplest fix for the stable branch, we drop the link entirely. Cc: qemu-sta...@nongnu.org Fixes: 1eeb432a953b0 "doc/sphinx/hxtool.py: add optional label argument to SRST directive" Reported-by: Dario Faggioli <dfaggi...@suse.com> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Acked-by: Eric Blake <ebl...@redhat.com> Reviewed-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Message-id: 20250501093126.716667-1-peter.mayd...@linaro.org Commit: d3a161cdd56a768b89f164935033249dc16d5250 https://github.com/qemu/qemu/commit/d3a161cdd56a768b89f164935033249dc16d5250 Author: Peter Maydell <peter.mayd...@linaro.org> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M target/arm/arm-qmp-cmds.c M target/arm/kvm.c M target/arm/kvm_arm.h Log Message: ----------- target/arm/kvm: Drop support for kernels without KVM_ARM_PREFERRED_TARGET Our KVM code includes backwards compatibility support for ancient kernels which don't support the KVM_ARM_PREFERRED_TARGET ioctl. This ioctl was introduced in kernel commit 42c4e0c77ac91 in September 2013 and is in v3.12, so it's reasonable to assume it's present. (We already dropped support for kernels without KVM_CAP_DEVICE_CTRL, a feature added to the kernel in April 2013, in our commit 84f298ea3e; so there are only about six months' worth of kernels, from v3.9 to v3.11, that we don't already fail to run on and that this commit is dropping handling for.) Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-id: 20250318114222.1018200-1-peter.mayd...@linaro.org Commit: 30f7e6b6926451335cf9f95aff5439c6230d9329 https://github.com/qemu/qemu/commit/30f7e6b6926451335cf9f95aff5439c6230d9329 Author: Bernhard Beschow <shen...@gmail.com> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M hw/pci-host/designware.c Log Message: ----------- hw/pci-host/designware: Remove unused include The DEFINE_TYPES() macro doesn't need the qemu/module.h include. Fixes: 13a07eb146c8 ("hw/pci-host/designware: Declare CPU QOM types using DEFINE_TYPES() macro") Signed-off-by: Bernhard Beschow <shen...@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Message-id: 20250501183445.2389-2-shen...@gmail.com Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 4fb17d01ef35411280475c0a80e1312baad5dc12 https://github.com/qemu/qemu/commit/4fb17d01ef35411280475c0a80e1312baad5dc12 Author: Bernhard Beschow <shen...@gmail.com> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M hw/pci-host/designware.c Log Message: ----------- hw/pci-host/designware: Fix viewport configuration Commit 6970f91ac781, "hw/pci-host/designware: Use deposit/extract API" accidentally introduced a copy-and-paste error, causing Linux 6.14 to hang when initializing the PCIe bridge on the imx8mp-evk machine. This fix corrects the error. Fixes: 6970f91ac781 ("hw/pci-host/designware: Use deposit/extract API") Signed-off-by: Bernhard Beschow <shen...@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Message-id: 20250501183445.2389-3-shen...@gmail.com Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: eba837a31b9579e30cc6d7ecb4b5c2662a6ffaba https://github.com/qemu/qemu/commit/eba837a31b9579e30cc6d7ecb4b5c2662a6ffaba Author: Bernhard Beschow <shen...@gmail.com> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M hw/gpio/imx_gpio.c Log Message: ----------- hw/gpio/imx_gpio: Fix interpretation of GDIR polarity According to the i.MX 8M Plus reference manual, a GPIO pin is configured as an output when the corresponding bit in the GDIR register is set. The function imx_gpio_set_int_line() is intended to be a no-op if the pin is configured as an output, returning early in such cases. However, it inverts the condition. Fix this by returning early when the bit is set. cc: qemu-sta...@nongnu.org Fixes: f44272809779 ("i.MX: Add GPIO device") Signed-off-by: Bernhard Beschow <shen...@gmail.com> Message-id: 20250501183445.2389-4-shen...@gmail.com Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: ecb0cfb8a2b09fb0352b7adb83f18888be47a1cf https://github.com/qemu/qemu/commit/ecb0cfb8a2b09fb0352b7adb83f18888be47a1cf Author: Philippe Mathieu-Daudé <phi...@linaro.org> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M hw/arm/virt.c Log Message: ----------- hw/arm/virt: Update comment about Multiprocessor Affinity Register Support on ARMv7 has been dropped in commit 82bf7ae84ce ("target/arm: Remove KVM support for 32-bit Arm hosts"). Update the comment in virt_cpu_mp_affinity() to avoid mentioning it. Suggested-by: Andrew Jones <ajo...@ventanamicro.com> Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-id: 20250429153907.31866-2-phi...@linaro.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: bac2532735d485dc3da38ece44300ad0abf5b51c https://github.com/qemu/qemu/commit/bac2532735d485dc3da38ece44300ad0abf5b51c Author: Philippe Mathieu-Daudé <phi...@linaro.org> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M hw/arm/virt.c Log Message: ----------- hw/arm/virt: Remove deprecated virt-3.0 machine This machine has been supported for a period of more than 6 years. According to our versioned machine support policy (see commit ce80c4fa6ff "docs: document special exception for machine type deprecation & removal") it can now be removed. Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-id: 20250429153907.31866-3-phi...@linaro.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: c4aca607c199a3706ef77e123afed377fb913b4f https://github.com/qemu/qemu/commit/c4aca607c199a3706ef77e123afed377fb913b4f Author: Philippe Mathieu-Daudé <phi...@linaro.org> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M hw/arm/virt.c Log Message: ----------- hw/arm/virt: Remove deprecated virt-3.1 machine This machine has been supported for a period of more than 6 years. According to our versioned machine support policy (see commit ce80c4fa6ff "docs: document special exception for machine type deprecation & removal") it can now be removed. Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-id: 20250429153907.31866-4-phi...@linaro.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 607e1208b53ac713a76d158f4abc4cd2e8870051 https://github.com/qemu/qemu/commit/607e1208b53ac713a76d158f4abc4cd2e8870051 Author: Philippe Mathieu-Daudé <phi...@linaro.org> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M hw/arm/virt.c Log Message: ----------- hw/arm/virt: Remove deprecated virt-4.0 machine This machine has been supported for a period of more than 6 years. According to our versioned machine support policy (see commit ce80c4fa6ff "docs: document special exception for machine type deprecation & removal") it can now be removed. Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-id: 20250429153907.31866-5-phi...@linaro.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 57b6f8d07f1478375f85a4593a207e936c63ff59 https://github.com/qemu/qemu/commit/57b6f8d07f1478375f85a4593a207e936c63ff59 Author: Stefan Hajnoczi <stefa...@redhat.com> Date: 2025-05-07 (Wed, 07 May 2025) Changed paths: M MAINTAINERS M accel/hvf/hvf-all.c M docs/devel/codebase.rst M docs/system/qemu-block-drivers.rst.inc M hw/arm/npcm8xx.c M hw/arm/npcm8xx_boards.c M hw/arm/virt-acpi-build.c M hw/arm/virt.c M hw/gpio/imx_gpio.c M hw/pci-host/designware.c M include/hw/arm/npcm8xx.h M include/hw/arm/virt.h M target/arm/arm-qmp-cmds.c M target/arm/hvf/hvf.c M target/arm/kvm.c M target/arm/kvm_arm.h M target/arm/ptw.c M target/arm/tcg/translate.c M tests/functional/meson.build A tests/functional/test_aarch64_imx8mp_evk.py Log Message: ----------- Merge tag 'pull-target-arm-20250506' of https://git.linaro.org/people/pmaydell/qemu-arm into staging target-arm queue: * hw/arm/npcm8xx_boards: Correct valid_cpu_types setting of NPCM8XX SoC * arm/hvf: fix crashes when using gdbstub * target/arm/ptw: fix arm_cpu_get_phys_page_attrs_debug * hw/arm/virt: Remove deprecated old versions of 'virt' machine * tests/functional: Add test for imx8mp-evk board with USDHC coverage * hw/arm: Attach PSPI module to NPCM8XX SoC * target/arm: Don't assert() for ISB/SB inside IT block * docs: Don't define duplicate label in qemu-block-drivers.rst.inc * target/arm/kvm: Drop support for kernels without KVM_ARM_PREFERRED_TARGET * hw/pci-host/designware: Fix viewport configuration * hw/gpio/imx_gpio: Fix interpretation of GDIR polarity # -----BEGIN PGP SIGNATURE----- # # iQJNBAABCAA3FiEE4aXFk81BneKOgxXPPCUl7RQ2DN4FAmgaH50ZHHBldGVyLm1h # eWRlbGxAbGluYXJvLm9yZwAKCRA8JSXtFDYM3l4ED/0QOV6oev1ILqA1INBjY7Ct # VrjzjsynFnUkyU0MLKyuK+mBRYmeR1OWtIRTkbgIsRA23XqV4de/BhGsVCGrRA0r # VS/hV2kTQM0GYU2dCr9LpOC3jX0dDzft5uW9GjW/sW9infAwXRwKhGgkIV6q/G5V # Y6cMN7UXrOnomF8Spk5VvK8HH9OHV/fuSlWenk9X1bXPpVQ3jymqZ1eRSDXOzDdM # uP6lVdI3oHCpRPeXKa1EA8cfQa9M/y9XSzDIrF8OTZKVcIzbX8/XR+y74e4UMIvK # DD3nAuAXcezy3286Pu7OfciRBJfq3eFHZVXOKfQWFI3MStPmexKqoHm8JtQxXJOT # uJdaugItLahlPtNk41nAydYzYimK/MBKCWAfTqecEhZ9Cd64jeOPM9zXwRkXwyuu # n9XQUhm5Ll22urd4q2M8cCxKBP2OoaEBFS4Hn9uDpVDcWpRMLe2DP7ywzZjdLU9b # jLSlana5+wpMuwIasXlNzWgT37RA+xlDE2Snaz7K/Z3JV/XNZAZD6WXV72zTzhFs # EI10edHI+JXXlbT1Ev/yVv4cN9h/Kr3hyoOKat2ySaomW26H27wNPuvPTto4rCYU # 6VQJmJvwPSBWELI5eRbcN269K0ar1UXUsvDsy97cq35me3gFvfAZFksLpnPWKef6 # pvwwPuxLWQXs+chepuQyXA== # =c21p # -----END PGP SIGNATURE----- # gpg: Signature made Tue 06 May 2025 10:41:33 EDT # gpg: using RSA key E1A5C593CD419DE28E8315CF3C2525ED14360CDE # gpg: issuer "peter.mayd...@linaro.org" # gpg: Good signature from "Peter Maydell <peter.mayd...@linaro.org>" [full] # gpg: aka "Peter Maydell <pmayd...@gmail.com>" [full] # gpg: aka "Peter Maydell <pmayd...@chiark.greenend.org.uk>" [full] # gpg: aka "Peter Maydell <pe...@archaic.org.uk>" [unknown] # Primary key fingerprint: E1A5 C593 CD41 9DE2 8E83 15CF 3C25 25ED 1436 0CDE * tag 'pull-target-arm-20250506' of https://git.linaro.org/people/pmaydell/qemu-arm: (32 commits) hw/arm/virt: Remove deprecated virt-4.0 machine hw/arm/virt: Remove deprecated virt-3.1 machine hw/arm/virt: Remove deprecated virt-3.0 machine hw/arm/virt: Update comment about Multiprocessor Affinity Register hw/gpio/imx_gpio: Fix interpretation of GDIR polarity hw/pci-host/designware: Fix viewport configuration hw/pci-host/designware: Remove unused include target/arm/kvm: Drop support for kernels without KVM_ARM_PREFERRED_TARGET docs: Don't define duplicate label in qemu-block-drivers.rst.inc target/arm: Don't assert() for ISB/SB inside IT block hw/arm: Attach PSPI module to NPCM8XX SoC tests/functional: Add test for imx8mp-evk board with USDHC coverage hw/arm/virt: Remove VirtMachineClass::no_highmem_ecam field hw/arm/virt: Remove deprecated virt-2.12 machine hw/arm/virt: Remove VirtMachineClass::smbios_old_sys_ver field hw/arm/virt: Remove deprecated virt-2.11 machine hw/arm/virt: Remove deprecated virt-2.10 machine hw/arm/virt: Remove deprecated virt-2.9 machine hw/arm/virt: Remove VirtMachineClass::claim_edge_triggered_timers field hw/arm/virt: Remove deprecated virt-2.8 machine ... Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com> Compare: https://github.com/qemu/qemu/compare/6235ae1629c6...57b6f8d07f14 To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications