1
target-arm queue. This has the "plumb txattrs through various
1
The following changes since commit e3debd5e7d0ce031356024878a0a18b9d109354a:
2
bits of exec.c" patches, and a collection of bug fixes from
3
various people.
4
2
5
v2: fix compile error on arm hosts...
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
thanks
8
-- PMM
9
10
11
The following changes since commit a3ac12fba028df90f7b3dbec924995c126c41022:
12
13
Merge remote-tracking branch 'remotes/ehabkost/tags/numa-next-pull-request' into staging (2018-05-31 11:12:36 +0100)
14
4
15
are available in the Git repository at:
5
are available in the Git repository at:
16
6
17
git://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20180531-1
7
https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20230328
18
8
19
for you to fetch changes up to 2f15b79280cf71b7991dfd3f0312a1797630e376:
9
for you to fetch changes up to 46e3b237c52e0c48bfd81bce020b51fbe300b23a:
20
10
21
KVM: GIC: Fix memory leak due to calling kvm_init_irq_routing twice (2018-05-31 16:32:35 +0100)
11
target/arm/gdbstub: Only advertise M-profile features if TCG available (2023-03-28 10:53:40 +0100)
22
12
23
----------------------------------------------------------------
13
----------------------------------------------------------------
24
target-arm queue:
14
target-arm queue:
25
* target/arm: Honour FPCR.FZ in FRECPX
15
* fix part of the "TCG-disabled builds are broken" issue
26
* MAINTAINERS: Add entries for newer MPS2 boards and devices
27
* hw/intc/arm_gicv3: Fix APxR<n> register dispatching
28
* arm_gicv3_kvm: fix bug in writing zero bits back to the in-kernel
29
GIC state
30
* tcg: Fix helper function vs host abi for float16
31
* arm: fix qemu crash on startup with -bios option
32
* arm: fix malloc type mismatch
33
* xlnx-zdma: Correct mem leaks and memset to zero on desc unaligned errors
34
* Correct CPACR reset value for v7 cores
35
* memory.h: Improve IOMMU related documentation
36
* exec: Plumb transaction attributes through various functions in
37
preparation for allowing IOMMUs to see them
38
* vmstate.h: Provide VMSTATE_BOOL_SUB_ARRAY
39
* ARM: ACPI: Fix use-after-free due to memory realloc
40
* KVM: GIC: Fix memory leak due to calling kvm_init_irq_routing twice
41
16
42
----------------------------------------------------------------
17
----------------------------------------------------------------
43
Francisco Iglesias (1):
18
Philippe Mathieu-Daudé (1):
44
xlnx-zdma: Correct mem leaks and memset to zero on desc unaligned errors
19
target/arm/gdbstub: Only advertise M-profile features if TCG available
45
20
46
Igor Mammedov (1):
21
target/arm/gdbstub.c | 5 +++--
47
arm: fix qemu crash on startup with -bios option
22
1 file changed, 3 insertions(+), 2 deletions(-)
48
23
49
Jan Kiszka (1):
50
hw/intc/arm_gicv3: Fix APxR<n> register dispatching
51
52
Paolo Bonzini (1):
53
arm: fix malloc type mismatch
54
55
Peter Maydell (17):
56
target/arm: Honour FPCR.FZ in FRECPX
57
MAINTAINERS: Add entries for newer MPS2 boards and devices
58
Correct CPACR reset value for v7 cores
59
memory.h: Improve IOMMU related documentation
60
Make tb_invalidate_phys_addr() take a MemTxAttrs argument
61
Make address_space_translate{, _cached}() take a MemTxAttrs argument
62
Make address_space_map() take a MemTxAttrs argument
63
Make address_space_access_valid() take a MemTxAttrs argument
64
Make flatview_extend_translation() take a MemTxAttrs argument
65
Make memory_region_access_valid() take a MemTxAttrs argument
66
Make MemoryRegion valid.accepts callback take a MemTxAttrs argument
67
Make flatview_access_valid() take a MemTxAttrs argument
68
Make flatview_translate() take a MemTxAttrs argument
69
Make address_space_get_iotlb_entry() take a MemTxAttrs argument
70
Make flatview_do_translate() take a MemTxAttrs argument
71
Make address_space_translate_iommu take a MemTxAttrs argument
72
vmstate.h: Provide VMSTATE_BOOL_SUB_ARRAY
73
74
Richard Henderson (1):
75
tcg: Fix helper function vs host abi for float16
76
77
Shannon Zhao (3):
78
arm_gicv3_kvm: increase clroffset accordingly
79
ARM: ACPI: Fix use-after-free due to memory realloc
80
KVM: GIC: Fix memory leak due to calling kvm_init_irq_routing twice
81
82
include/exec/exec-all.h | 5 +-
83
include/exec/helper-head.h | 2 +-
84
include/exec/memory-internal.h | 3 +-
85
include/exec/memory.h | 128 +++++++++++++++++++++++++++++++++++------
86
include/migration/vmstate.h | 3 +
87
include/sysemu/dma.h | 6 +-
88
accel/tcg/translate-all.c | 4 +-
89
exec.c | 95 ++++++++++++++++++------------
90
hw/arm/boot.c | 18 +++---
91
hw/arm/virt-acpi-build.c | 20 +++++--
92
hw/dma/xlnx-zdma.c | 10 +++-
93
hw/hppa/dino.c | 3 +-
94
hw/intc/arm_gic_kvm.c | 1 -
95
hw/intc/arm_gicv3_cpuif.c | 12 ++--
96
hw/intc/arm_gicv3_kvm.c | 2 +-
97
hw/nvram/fw_cfg.c | 12 ++--
98
hw/s390x/s390-pci-inst.c | 3 +-
99
hw/scsi/esp.c | 3 +-
100
hw/vfio/common.c | 3 +-
101
hw/virtio/vhost.c | 3 +-
102
hw/xen/xen_pt_msi.c | 3 +-
103
memory.c | 12 ++--
104
memory_ldst.inc.c | 18 +++---
105
target/arm/gdbstub.c | 3 +-
106
target/arm/helper-a64.c | 41 +++++++------
107
target/arm/helper.c | 90 ++++++++++++++++-------------
108
target/arm/kvm.c | 3 +-
109
target/ppc/mmu-hash64.c | 3 +-
110
target/riscv/helper.c | 2 +-
111
target/s390x/diag.c | 6 +-
112
target/s390x/excp_helper.c | 3 +-
113
target/s390x/mmu_helper.c | 3 +-
114
target/s390x/sigp.c | 3 +-
115
target/xtensa/op_helper.c | 3 +-
116
MAINTAINERS | 9 ++-
117
35 files changed, 355 insertions(+), 183 deletions(-)
118
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