Re: [PATCH v3 5/7] arm64: cpufeature: Track 32bit EL0 support

From: Suzuki K Poulose
Date: Thu Apr 14 2016 - 12:50:27 EST


On 14/04/16 17:43, Will Deacon wrote:
On Thu, Mar 31, 2016 at 06:27:33PM +0100, Suzuki K Poulose wrote:
Add cpu_hwcap bit for keeping track of the support for 32bit EL0.


return id_aa64mmfr0_mixed_endian_el0(read_system_reg(SYS_ID_AA64MMFR0_EL1));
diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c
index cfc0cfd..739314b 100644
--- a/arch/arm64/kernel/cpufeature.c
+++ b/arch/arm64/kernel/cpufeature.c
@@ -733,6 +733,15 @@ static const struct arm64_cpu_capabilities arm64_features[] = {
.capability = ARM64_HAS_VIRT_HOST_EXTN,
.matches = runs_at_el2,
},
+ {
+ .desc = "32bit EL0 Support",

Nit: missing hyphen (32-bit).

OK, can change it.

Suzuki