summaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorWill Deacon2013-08-20 18:29:55 +0200
committerRussell King2013-09-02 14:44:27 +0200
commit84b6504f560157ff2077dd3757eee481b81dc39b (patch)
tree9cc9fda2442eb76b24a2f0ea3cabc7b9d095fd5e /arch/arm/Kconfig
parentARM: 7825/1: document the use of NEON in kernel mode (diff)
downloadkernel-qcow2-linux-84b6504f560157ff2077dd3757eee481b81dc39b.tar.gz
kernel-qcow2-linux-84b6504f560157ff2077dd3757eee481b81dc39b.tar.xz
kernel-qcow2-linux-84b6504f560157ff2077dd3757eee481b81dc39b.zip
ARM: 7823/1: errata: workaround Cortex-A15 erratum 773022
On Cortex-A15 CPUs up to and including r0p4, in certain rare sequences of code, the loop buffer may deliver incorrect instructions. This workaround disables the loop buffer to avoid the erratum. Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 57562f8d1f92..bd2709d55678 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1373,6 +1373,15 @@ config ARM_ERRATA_798181
which sends an IPI to the CPUs that are running the same ASID
as the one being invalidated.
+config ARM_ERRATA_773022
+ bool "ARM errata: incorrect instructions may be executed from loop buffer"
+ depends on CPU_V7
+ help
+ This option enables the workaround for the 773022 Cortex-A15
+ (up to r0p4) erratum. In certain rare sequences of code, the
+ loop buffer may deliver incorrect instructions. This
+ workaround disables the loop buffer to avoid the erratum.
+
endmenu
source "arch/arm/common/Kconfig"