[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 06/11] target/arm: Restrict ARMv7 R-profile cpus to TCG ac
From: |
Alex Bennée |
Subject: |
Re: [PATCH v6 06/11] target/arm: Restrict ARMv7 R-profile cpus to TCG accel |
Date: |
Mon, 01 Feb 2021 17:37:22 +0000 |
User-agent: |
mu4e 1.5.7; emacs 28.0.50 |
Philippe Mathieu-Daudé <philmd@redhat.com> writes:
> On 1/31/21 12:50 PM, Philippe Mathieu-Daudé wrote:
>> KVM requires the target cpu to be at least ARMv8 architecture
>> (support on ARMv7 has been dropped in commit 82bf7ae84ce:
>> "target/arm: Remove KVM support for 32-bit Arm hosts").
>>
>> Beside, KVM only supports A-profile, thus 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 | 2 ++
>> target/arm/Kconfig | 4 ++++
>> 3 files changed, 6 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 6c4bce4d637..4baf1f97694 100644
>> --- a/hw/arm/Kconfig
>> +++ b/hw/arm/Kconfig
>> @@ -360,8 +360,10 @@ config STM32F405_SOC
>>
>> config XLNX_ZYNQMP_ARM
>> bool
>> + default y if TCG && ARM
>
> The correct line is:
>
> "default y if TCG && AARCH64"
Ahh yes, TIL we had some R-profile cores in QEMU ;-)
with the fix:
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
--
Alex Bennée
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH v6 06/11] target/arm: Restrict ARMv7 R-profile cpus to TCG accel,
Alex Bennée <=