[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 06/11] target/arm: Restrict ARMv7 R-profile cpus to TCG accel
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v5 06/11] target/arm: Restrict ARMv7 R-profile cpus to TCG accel |
Date: |
Sat, 30 Jan 2021 02:52:22 +0100 |
A KVM-only build won't be able to run R-profile cpus.
Only enable the following ARMv7 R-Profile CPUs when TCG is available:
- Cortex-R5
- Cortex-R5F
The following machine is no more built when TCG is disabled:
- xlnx-zcu102 Xilinx ZynqMP ZCU102 board with 4xA53s and 2xR5Fs
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
default-configs/devices/aarch64-softmmu.mak | 1 -
hw/arm/Kconfig | 7 +++++++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/default-configs/devices/aarch64-softmmu.mak
b/default-configs/devices/aarch64-softmmu.mak
index 958b1e08e40..a4202f56817 100644
--- a/default-configs/devices/aarch64-softmmu.mak
+++ b/default-configs/devices/aarch64-softmmu.mak
@@ -3,6 +3,5 @@
# We support all the 32 bit boards so need all their config
include arm-softmmu.mak
-CONFIG_XLNX_ZYNQMP_ARM=y
CONFIG_XLNX_VERSAL=y
CONFIG_SBSA_REF=y
diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
index daab7081994..320428bf97e 100644
--- a/hw/arm/Kconfig
+++ b/hw/arm/Kconfig
@@ -11,6 +11,11 @@ config ARM_V6
depends on TCG
select ARM_COMPATIBLE_SEMIHOSTING
+config ARM_V7R
+ bool
+ depends on TCG
+ select ARM_COMPATIBLE_SEMIHOSTING
+
config ARM_VIRT
bool
imply PCI_DEVICES
@@ -377,8 +382,10 @@ config STM32F405_SOC
config XLNX_ZYNQMP_ARM
bool
+ default y if TCG
select AHCI
select ARM_GIC
+ select ARM_V7R
select CADENCE
select DDC
select DPCD
--
2.26.2
- [PATCH v5 00/11] Support disabling TCG on ARM (part 2), Philippe Mathieu-Daudé, 2021/01/29
- [PATCH v5 04/11] target/arm: Restrict ARMv5 cpus to TCG accel, Philippe Mathieu-Daudé, 2021/01/29
- [PATCH v5 05/11] target/arm: Restrict ARMv6 cpus to TCG accel, Philippe Mathieu-Daudé, 2021/01/29
- [PATCH v5 06/11] target/arm: Restrict ARMv7 R-profile cpus to TCG accel,
Philippe Mathieu-Daudé <=
- [PATCH v5 07/11] target/arm: Restrict ARMv7 M-profile cpus to TCG accel, Philippe Mathieu-Daudé, 2021/01/29
- [PATCH v5 08/11] target/arm: Make m_helper.c optional via CONFIG_ARM_V7M, Philippe Mathieu-Daudé, 2021/01/29
- [PATCH v5 09/11] target/arm: Reorder meson.build rules, Philippe Mathieu-Daudé, 2021/01/29
- [PATCH v5 10/11] target/arm: Do not build TCG objects when TCG is off, Philippe Mathieu-Daudé, 2021/01/29
- [PATCH v5 11/11] .travis.yml: Add a KVM-only Aarch64 job, Philippe Mathieu-Daudé, 2021/01/29