[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 4/5] target/arm/cpu: Restrict v8M IDAU interface to Aarch32 CP
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v3 4/5] target/arm/cpu: Restrict v8M IDAU interface to Aarch32 CPUs |
Date: |
Mon, 4 May 2020 19:24:47 +0200 |
As IDAU is a v8M feature, restrict it to the Aarch32 CPUs.
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
target/arm/cpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/arm/cpu.c b/target/arm/cpu.c
index b4d73dd47c..a10f8c4044 100644
--- a/target/arm/cpu.c
+++ b/target/arm/cpu.c
@@ -2889,7 +2889,6 @@ static void arm_cpu_register_types(void)
const size_t cpu_count = ARRAY_SIZE(arm_cpus);
type_register_static(&arm_cpu_type_info);
- type_register_static(&idau_interface_type_info);
#ifdef CONFIG_KVM
type_register_static(&host_arm_cpu_type_info);
@@ -2898,6 +2897,7 @@ static void arm_cpu_register_types(void)
if (cpu_count) {
size_t i;
+ type_register_static(&idau_interface_type_info);
for (i = 0; i < cpu_count; ++i) {
arm_cpu_register(&arm_cpus[i]);
}
--
2.21.3
- [PATCH v3 0/5] target/arm: Restrict TCG cpus to TCG accel, Philippe Mathieu-Daudé, 2020/05/04
- [PATCH v3 1/5] target/arm/kvm: Inline set_feature() calls, Philippe Mathieu-Daudé, 2020/05/04
- [PATCH v3 2/5] target/arm: Make set_feature() available for other files, Philippe Mathieu-Daudé, 2020/05/04
- [PATCH v3 3/5] target/arm/cpu: Use ARRAY_SIZE() to iterate over ARMCPUInfo[], Philippe Mathieu-Daudé, 2020/05/04
- [PATCH v3 4/5] target/arm/cpu: Restrict v8M IDAU interface to Aarch32 CPUs,
Philippe Mathieu-Daudé <=
- [PATCH v3 5/5] target/arm: Restrict TCG cpus to TCG accel, Philippe Mathieu-Daudé, 2020/05/04
- Re: [PATCH v3 0/5] target/arm: Restrict TCG cpus to TCG accel, Peter Maydell, 2020/05/11