aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/sysreg.h
diff options
context:
space:
mode:
authorSuzuki K Poulose <suzuki.poulose@arm.com>2016-04-18 10:28:34 +0100
committerWill Deacon <will.deacon@arm.com>2016-04-20 12:22:42 +0100
commitc80aba803a9aa131f997f62a71ab453e456d08a8 (patch)
treef308b668d7718f4c18f5c964362b0fa571461b42 /arch/arm64/include/asm/sysreg.h
parentarm64: HWCAP: Split COMPAT HWCAP table entries (diff)
downloadlinux-dev-c80aba803a9aa131f997f62a71ab453e456d08a8.tar.xz
linux-dev-c80aba803a9aa131f997f62a71ab453e456d08a8.zip
arm64: Add helpers for detecting AArch32 support at EL0
Adds a helper to extract the support for AArch32 at EL0 Tested-by: Yury Norov <ynorov@caviumnetworks.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to '')
-rw-r--r--arch/arm64/include/asm/sysreg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h
index 19182ef18f8f..d39d4343318a 100644
--- a/arch/arm64/include/asm/sysreg.h
+++ b/arch/arm64/include/asm/sysreg.h
@@ -115,6 +115,7 @@
#define ID_AA64PFR0_ASIMD_SUPPORTED 0x0
#define ID_AA64PFR0_EL1_64BIT_ONLY 0x1
#define ID_AA64PFR0_EL0_64BIT_ONLY 0x1
+#define ID_AA64PFR0_EL0_32BIT_64BIT 0x2
/* id_aa64mmfr0 */
#define ID_AA64MMFR0_TGRAN4_SHIFT 28