[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v7 01/41] target/arm: Define isar_feature_aa64_vh
From: |
Richard Henderson |
Subject: |
[PATCH v7 01/41] target/arm: Define isar_feature_aa64_vh |
Date: |
Thu, 6 Feb 2020 10:54:08 +0000 |
Tested-by: Alex Bennée <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
---
target/arm/cpu.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/target/arm/cpu.h b/target/arm/cpu.h
index 608fcbd0b7..2a53f5d09b 100644
--- a/target/arm/cpu.h
+++ b/target/arm/cpu.h
@@ -3685,6 +3685,11 @@ static inline bool isar_feature_aa64_sve(const
ARMISARegisters *id)
return FIELD_EX64(id->id_aa64pfr0, ID_AA64PFR0, SVE) != 0;
}
+static inline bool isar_feature_aa64_vh(const ARMISARegisters *id)
+{
+ return FIELD_EX64(id->id_aa64mmfr1, ID_AA64MMFR1, VH) != 0;
+}
+
static inline bool isar_feature_aa64_lor(const ARMISARegisters *id)
{
return FIELD_EX64(id->id_aa64mmfr1, ID_AA64MMFR1, LO) != 0;
--
2.20.1
- [PATCH v7 00/41] target/arm: Implement ARMv8.1-VHE, Richard Henderson, 2020/02/06
- [PATCH v7 01/41] target/arm: Define isar_feature_aa64_vh,
Richard Henderson <=
- [PATCH v7 02/41] target/arm: Enable HCR_E2H for VHE, Richard Henderson, 2020/02/06
- [PATCH v7 03/41] target/arm: Add CONTEXTIDR_EL2, Richard Henderson, 2020/02/06
- [PATCH v7 04/41] target/arm: Add TTBR1_EL2, Richard Henderson, 2020/02/06
- [PATCH v7 06/41] target/arm: Split out vae1_tlbmask, Richard Henderson, 2020/02/06
- [PATCH v7 05/41] target/arm: Update CNTVCT_EL0 for VHE, Richard Henderson, 2020/02/06
- [PATCH v7 08/41] target/arm: Simplify tlb_force_broadcast alternatives, Richard Henderson, 2020/02/06
- [PATCH v7 09/41] target/arm: Rename ARMMMUIdx*_S12NSE* to ARMMMUIdx*_E10_*, Richard Henderson, 2020/02/06
- [PATCH v7 10/41] target/arm: Rename ARMMMUIdx_S2NS to ARMMMUIdx_Stage2, Richard Henderson, 2020/02/06
- [PATCH v7 11/41] target/arm: Rename ARMMMUIdx_S1NSE* to ARMMMUIdx_Stage1_E*, Richard Henderson, 2020/02/06
- [PATCH v7 14/41] target/arm: Rename ARMMMUIdx_S1E2 to ARMMMUIdx_E2, Richard Henderson, 2020/02/06