[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH 21/40] target/arm: Remove aarch64 check from aarch64_host_obj
From: |
Richard Henderson |
Subject: |
[RFC PATCH 21/40] target/arm: Remove aarch64 check from aarch64_host_object_init |
Date: |
Tue, 3 Jan 2023 10:16:27 -0800 |
Since kvm32 was removed, all kvm hosts support aarch64.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/arm/cpu64.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c
index 28b5a07244..668e979a24 100644
--- a/target/arm/cpu64.c
+++ b/target/arm/cpu64.c
@@ -1095,10 +1095,8 @@ static void aarch64_host_object_init(Object *obj)
#if defined(CONFIG_KVM)
ARMCPU *cpu = ARM_CPU(obj);
kvm_arm_set_cpu_features_from_host(cpu);
- if (arm_feature(&cpu->env, ARM_FEATURE_AARCH64)) {
- aarch64_add_sve_properties(obj);
- aarch64_add_pauth_properties(obj);
- }
+ aarch64_add_sve_properties(obj);
+ aarch64_add_pauth_properties(obj);
#elif defined(CONFIG_HVF)
ARMCPU *cpu = ARM_CPU(obj);
hvf_arm_set_cpu_features_from_host(cpu);
--
2.34.1
- Re: [RFC PATCH 14/40] target/arm: Rename arm_cpu_mp_affinity, (continued)
- [RFC PATCH 10/40] target/arm: Copy dtb_compatible from ARMCPUClass, Richard Henderson, 2023/01/03
- [RFC PATCH 13/40] hw/arm/bcm2836: Set mp-affinity property in realize, Richard Henderson, 2023/01/03
- [RFC PATCH 15/40] target/arm: Create arm_cpu_mp_affinity, Richard Henderson, 2023/01/03
- [RFC PATCH 26/40] target/arm: Rename 'cpu' to 'acc' in class init functions, Richard Henderson, 2023/01/03
- [RFC PATCH 19/40] target/arm: Move most cpu initialization to the class, Richard Henderson, 2023/01/03
- [RFC PATCH 21/40] target/arm: Remove aarch64 check from aarch64_host_object_init,
Richard Henderson <=
- [RFC PATCH 20/40] target/arm: Merge kvm64.c with kvm.c, Richard Henderson, 2023/01/03
- [RFC PATCH 23/40] target/arm: Probe KVM host into ARMCPUClass, Richard Henderson, 2023/01/03
- [RFC PATCH 24/40] target/arm/hvf: Probe host into ARMCPUClass, Richard Henderson, 2023/01/03
- [RFC PATCH 17/40] target/arm: Copy cp_regs from ARMCPUClass, Richard Henderson, 2023/01/03
- [RFC PATCH 22/40] target/arm: Hoist feature and dtb_compatible from KVM, HVF, Richard Henderson, 2023/01/03
- [RFC PATCH 25/40] target/arm/hvf: Use offsetof in hvf_arm_get_host_cpu_features, Richard Henderson, 2023/01/03
- [RFC PATCH 27/40] target/arm: Split out strongarm_class_init, Richard Henderson, 2023/01/03