1 | v2: dropped the hw/acpi/ghes-stub.c changes, which produce a | 1 | The following changes since commit e3debd5e7d0ce031356024878a0a18b9d109354a: |
---|---|---|---|
2 | weird Meson error ("Tried to extract unknown source ghes-stub.c") | ||
3 | which didn't happen on my local builds; I'll investigate later... | ||
4 | 2 | ||
5 | -- PMM | 3 | Merge tag 'pull-request-2023-03-24' of https://gitlab.com/thuth/qemu into staging (2023-03-24 16:08:46 +0000) |
6 | |||
7 | The following changes since commit 1ea06abceec61b6f3ab33dadb0510b6e09fb61e2: | ||
8 | |||
9 | Merge remote-tracking branch 'remotes/berrange-gitlab/tags/misc-fixes-pull-request' into staging (2021-06-14 15:59:13 +0100) | ||
10 | 4 | ||
11 | are available in the Git repository at: | 5 | are available in the Git repository at: |
12 | 6 | ||
13 | https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20210616 | 7 | https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20230328 |
14 | 8 | ||
15 | for you to fetch changes up to 703235a303d6862a7e3f5c6aa9eff7471cb138b2: | 9 | for you to fetch changes up to 46e3b237c52e0c48bfd81bce020b51fbe300b23a: |
16 | 10 | ||
17 | include/qemu/int128.h: Add function to create Int128 from int64_t (2021-06-16 14:33:52 +0100) | 11 | target/arm/gdbstub: Only advertise M-profile features if TCG available (2023-03-28 10:53:40 +0100) |
18 | 12 | ||
19 | ---------------------------------------------------------------- | 13 | ---------------------------------------------------------------- |
20 | target-arm queue: | 14 | target-arm queue: |
21 | * hw/intc/arm_gicv3_cpuif: Tolerate spurious EOIR writes | 15 | * fix part of the "TCG-disabled builds are broken" issue |
22 | * handle some UNALLOCATED decode cases correctly rather | ||
23 | than asserting | ||
24 | * hw: virt: consider hw_compat_6_0 | ||
25 | * hw/arm: add quanta-gbs-bmc machine | ||
26 | * hw/intc/armv7m_nvic: Remove stale comment | ||
27 | * target/arm: Fix mte page crossing test | ||
28 | * hw/arm: quanta-q71l add pca954x muxes | ||
29 | * target/arm: First few parts of MVE support | ||
30 | 16 | ||
31 | ---------------------------------------------------------------- | 17 | ---------------------------------------------------------------- |
32 | Heinrich Schuchardt (1): | 18 | Philippe Mathieu-Daudé (1): |
33 | hw: virt: consider hw_compat_6_0 | 19 | target/arm/gdbstub: Only advertise M-profile features if TCG available |
34 | 20 | ||
35 | Jean-Philippe Brucker (1): | 21 | target/arm/gdbstub.c | 5 +++-- |
36 | hw/intc/arm_gicv3_cpuif: Tolerate spurious EOIR writes | 22 | 1 file changed, 3 insertions(+), 2 deletions(-) |
37 | 23 | ||
38 | Patrick Venture (5): | ||
39 | hw/arm: add quanta-gbs-bmc machine | ||
40 | hw/arm: quanta-gbs-bmc add i2c comments | ||
41 | hw/arm: gsj add i2c comments | ||
42 | hw/arm: gsj add pca9548 | ||
43 | hw/arm: quanta-q71l add pca954x muxes | ||
44 | |||
45 | Peter Maydell (14): | ||
46 | hw/intc/armv7m_nvic: Remove stale comment | ||
47 | target/arm: Provide and use H8 and H1_8 macros | ||
48 | target/arm: Enable FPSCR.QC bit for MVE | ||
49 | target/arm: Handle VPR semantics in existing code | ||
50 | target/arm: Add handling for PSR.ECI/ICI | ||
51 | target/arm: Let vfp_access_check() handle late NOCP checks | ||
52 | target/arm: Implement MVE LCTP | ||
53 | target/arm: Implement MVE WLSTP insn | ||
54 | target/arm: Implement MVE DLSTP | ||
55 | target/arm: Implement MVE LETP insn | ||
56 | target/arm: Add framework for MVE decode | ||
57 | target/arm: Move expand_pred_b() data to vec_helper.c | ||
58 | bitops.h: Provide hswap32(), hswap64(), wswap64() swapping operations | ||
59 | include/qemu/int128.h: Add function to create Int128 from int64_t | ||
60 | |||
61 | Richard Henderson (4): | ||
62 | target/arm: Diagnose UNALLOCATED in disas_simd_two_reg_misc_fp16 | ||
63 | target/arm: Remove fprintf from disas_simd_mod_imm | ||
64 | target/arm: Diagnose UNALLOCATED in disas_simd_three_reg_same_fp16 | ||
65 | target/arm: Fix mte page crossing test | ||
66 | |||
67 | include/qemu/bitops.h | 29 +++ | ||
68 | include/qemu/int128.h | 10 + | ||
69 | target/arm/translate-a32.h | 2 + | ||
70 | target/arm/translate.h | 9 + | ||
71 | target/arm/vec_internal.h | 9 + | ||
72 | target/arm/mve.decode | 20 ++ | ||
73 | target/arm/t32.decode | 15 +- | ||
74 | hw/arm/aspeed.c | 11 +- | ||
75 | hw/arm/npcm7xx_boards.c | 107 ++++++++++- | ||
76 | hw/arm/virt.c | 2 + | ||
77 | hw/intc/arm_gicv3_cpuif.c | 5 +- | ||
78 | hw/intc/armv7m_nvic.c | 6 - | ||
79 | target/arm/m_helper.c | 54 +++++- | ||
80 | target/arm/mte_helper.c | 2 +- | ||
81 | target/arm/sve_helper.c | 381 +++++++++++++------------------------- | ||
82 | target/arm/translate-a64.c | 87 +++++---- | ||
83 | target/arm/translate-m-nocp.c | 16 +- | ||
84 | target/arm/translate-mve.c | 29 +++ | ||
85 | target/arm/translate-vfp.c | 65 +++++-- | ||
86 | target/arm/translate.c | 300 ++++++++++++++++++++++++++++-- | ||
87 | target/arm/vec_helper.c | 116 +++++++++++- | ||
88 | target/arm/vfp_helper.c | 3 +- | ||
89 | tests/tcg/aarch64/mte-7.c | 31 ++++ | ||
90 | hw/arm/Kconfig | 2 + | ||
91 | target/arm/meson.build | 2 + | ||
92 | tests/tcg/aarch64/Makefile.target | 2 +- | ||
93 | 26 files changed, 967 insertions(+), 348 deletions(-) | ||
94 | create mode 100644 target/arm/mve.decode | ||
95 | create mode 100644 target/arm/translate-mve.c | ||
96 | create mode 100644 tests/tcg/aarch64/mte-7.c | ||
97 | diff view generated by jsdifflib |
New patch | |||
---|---|---|---|
1 | From: Philippe Mathieu-Daudé <philmd@linaro.org> | ||
1 | 2 | ||
3 | Cortex-M profile is only emulable from TCG accelerator. Restrict | ||
4 | the GDBstub features to its availability in order to avoid a link | ||
5 | error when TCG is not enabled: | ||
6 | |||
7 | Undefined symbols for architecture arm64: | ||
8 | "_arm_v7m_get_sp_ptr", referenced from: | ||
9 | _m_sysreg_get in target_arm_gdbstub.c.o | ||
10 | "_arm_v7m_mrs_control", referenced from: | ||
11 | _arm_gdb_get_m_systemreg in target_arm_gdbstub.c.o | ||
12 | ld: symbol(s) not found for architecture arm64 | ||
13 | clang: error: linker command failed with exit code 1 (use -v to see invocation) | ||
14 | |||
15 | Fixes: 7d8b28b8b5 ("target/arm: Implement gdbstub m-profile systemreg and secext") | ||
16 | Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> | ||
17 | Reviewed-by: Richard Henderson <richard.henderson@linaro.org> | ||
18 | Reviewed-by: Alex Bennée <alex.bennee@linaro.org> | ||
19 | Message-id: 20230322142902.69511-3-philmd@linaro.org | ||
20 | [PMM: add #include since I cherry-picked this patch from the series] | ||
21 | Signed-off-by: Peter Maydell <peter.maydell@linaro.org> | ||
22 | --- | ||
23 | target/arm/gdbstub.c | 5 +++-- | ||
24 | 1 file changed, 3 insertions(+), 2 deletions(-) | ||
25 | |||
26 | diff --git a/target/arm/gdbstub.c b/target/arm/gdbstub.c | ||
27 | index XXXXXXX..XXXXXXX 100644 | ||
28 | --- a/target/arm/gdbstub.c | ||
29 | +++ b/target/arm/gdbstub.c | ||
30 | @@ -XXX,XX +XXX,XX @@ | ||
31 | #include "cpu.h" | ||
32 | #include "exec/gdbstub.h" | ||
33 | #include "gdbstub/helpers.h" | ||
34 | +#include "sysemu/tcg.h" | ||
35 | #include "internals.h" | ||
36 | #include "cpregs.h" | ||
37 | |||
38 | @@ -XXX,XX +XXX,XX @@ void arm_cpu_register_gdb_regs_for_features(ARMCPU *cpu) | ||
39 | 2, "arm-vfp-sysregs.xml", 0); | ||
40 | } | ||
41 | } | ||
42 | - if (cpu_isar_feature(aa32_mve, cpu)) { | ||
43 | + if (cpu_isar_feature(aa32_mve, cpu) && tcg_enabled()) { | ||
44 | gdb_register_coprocessor(cs, mve_gdb_get_reg, mve_gdb_set_reg, | ||
45 | 1, "arm-m-profile-mve.xml", 0); | ||
46 | } | ||
47 | @@ -XXX,XX +XXX,XX @@ void arm_cpu_register_gdb_regs_for_features(ARMCPU *cpu) | ||
48 | arm_gen_dynamic_sysreg_xml(cs, cs->gdb_num_regs), | ||
49 | "system-registers.xml", 0); | ||
50 | |||
51 | - if (arm_feature(env, ARM_FEATURE_M)) { | ||
52 | + if (arm_feature(env, ARM_FEATURE_M) && tcg_enabled()) { | ||
53 | gdb_register_coprocessor(cs, | ||
54 | arm_gdb_get_m_systemreg, arm_gdb_set_m_systemreg, | ||
55 | arm_gen_dynamic_m_systemreg_xml(cs, cs->gdb_num_regs), | ||
56 | -- | ||
57 | 2.34.1 | ||
58 | |||
59 | diff view generated by jsdifflib |