50 lines
2.0 KiB
Diff
50 lines
2.0 KiB
Diff
From 7474971c6fd6c6f77e66ded125e5f2521c7e12a2 Mon Sep 17 00:00:00 2001
|
|
From: Mingwang Li <limingwang@huawei.com>
|
|
Date: Wed, 9 Feb 2022 17:35:52 +0800
|
|
Subject: [PATCH 2/3] Revert "cpu: add Cortex-A72 processor kvm target support"
|
|
|
|
This reverts commit f0da7fa5230b5f771570b2c12288e4a56a20dd97.
|
|
|
|
Signed-off-by: Mingwang Li <limingwang@huawei.com>
|
|
---
|
|
target/arm/cpu64.c | 1 -
|
|
target/arm/kvm-consts.h | 3 ---
|
|
2 files changed, 4 deletions(-)
|
|
|
|
diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c
|
|
index bd8e5b5676..26419fe994 100644
|
|
--- a/target/arm/cpu64.c
|
|
+++ b/target/arm/cpu64.c
|
|
@@ -202,7 +202,6 @@ static void aarch64_a72_initfn(Object *obj)
|
|
ARMCPU *cpu = ARM_CPU(obj);
|
|
|
|
cpu->dtb_compatible = "arm,cortex-a72";
|
|
- cpu->kvm_target = QEMU_KVM_ARM_TARGET_GENERIC_V8;
|
|
set_feature(&cpu->env, ARM_FEATURE_V8);
|
|
set_feature(&cpu->env, ARM_FEATURE_NEON);
|
|
set_feature(&cpu->env, ARM_FEATURE_GENERIC_TIMER);
|
|
diff --git a/target/arm/kvm-consts.h b/target/arm/kvm-consts.h
|
|
index 5f1311ade7..580f1c1fee 100644
|
|
--- a/target/arm/kvm-consts.h
|
|
+++ b/target/arm/kvm-consts.h
|
|
@@ -130,8 +130,6 @@ MISMATCH_CHECK(QEMU_PSCI_RET_DISABLED, PSCI_RET_DISABLED);
|
|
#define QEMU_KVM_ARM_TARGET_CORTEX_A57 2
|
|
#define QEMU_KVM_ARM_TARGET_XGENE_POTENZA 3
|
|
#define QEMU_KVM_ARM_TARGET_CORTEX_A53 4
|
|
-/* Generic ARM v8 target */
|
|
-#define QEMU_KVM_ARM_TARGET_GENERIC_V8 5
|
|
|
|
/* There's no kernel define for this: sentinel value which
|
|
* matches no KVM target value for either 64 or 32 bit
|
|
@@ -143,7 +141,6 @@ MISMATCH_CHECK(QEMU_KVM_ARM_TARGET_FOUNDATION_V8, KVM_ARM_TARGET_FOUNDATION_V8);
|
|
MISMATCH_CHECK(QEMU_KVM_ARM_TARGET_CORTEX_A57, KVM_ARM_TARGET_CORTEX_A57);
|
|
MISMATCH_CHECK(QEMU_KVM_ARM_TARGET_XGENE_POTENZA, KVM_ARM_TARGET_XGENE_POTENZA);
|
|
MISMATCH_CHECK(QEMU_KVM_ARM_TARGET_CORTEX_A53, KVM_ARM_TARGET_CORTEX_A53);
|
|
-MISMATCH_CHECK(QEMU_KVM_ARM_TARGET_GENERIC_V8, KVM_ARM_TARGET_GENERIC_V8);
|
|
|
|
#define CP_REG_ARM64 0x6000000000000000ULL
|
|
#define CP_REG_ARM_COPROC_MASK 0x000000000FFF0000
|
|
--
|
|
2.27.0
|
|
|