diff options
author | Alex Van Brunt <avanbrunt@nvidia.com> | 2014-01-28 12:40:10 -0800 |
---|---|---|
committer | Alexander Van Brunt <avanbrunt@nvidia.com> | 2014-02-15 07:44:39 -0800 |
commit | 0cb9ec1461b1f0028effbf785be2decc6d5c139b (patch) | |
tree | 42d5fa91cd95f27b93f512da9b095e07ff775f00 /arch/arm64/Kconfig | |
parent | d7ad37d1c5de8de2326a731428b39f98a5315040 (diff) |
arm64: optionally set CP15BEN in SCTLR
Setting CP15BEN allows legacy applications running in AArch32 mode
that use CP15 DMB as similar instructions to continue running.
Bug 1438816
Change-Id: If76d3c6ee12865ff8c4b4e7aed01146bead87773
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>
Reviewed-on: http://git-master/r/366096
Reviewed-by: Richard Wiley <rwiley@nvidia.com>
Tested-by: Oskari Jaaskelainen <oskarij@nvidia.com>
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r-- | arch/arm64/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index ed720e20c9a2..aeecfdac027b 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -264,6 +264,17 @@ config ARMV7_COMPAT_CPUINFO If you want to execute ARMv7 applications, say Y +config ARMV7_COMPAT_CP15_BARRIER + bool "Allow applications to use the CP15 barrier operations" + depends on ARMV7_COMPAT + default y + help + This option allows applications to use deprecated CP15 barrier + instructions. This is useful because this was the only way to create + a barrier on older ARM processors. + + If you want to execute ARMv7 applications, say Y + source "mm/Kconfig" endmenu |