ARM: proc-v7: avoid errata 430973 workaround for non-Cortex A8 CPUs
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 7 Apr 2015 14:35:24 +0000 (15:35 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 14 Apr 2015 21:28:06 +0000 (22:28 +0100)
commita6d746789825e4d7229523eebee233b03ad48c54
tree6bc62363b1b882d9a156d9012ad1dc19884e0e67
parente5a5de4447471ab1a01585f075400c2be36e2cb6
ARM: proc-v7: avoid errata 430973 workaround for non-Cortex A8 CPUs

Avoid the errata 430973 workaround for non-Cortex A8 CPUs.  Having this
workaround enabled introduces an additional branch target buffer flush
into the context switching path, something we wish to avoid.  To allow
this errata to be enabled in multiplatform kernels while reducing its
impact, rearrange the Cortex-A8 CPU support to avoid impacting on other
Version 7 CPUs.

Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/proc-v7-2level.S
arch/arm/mm/proc-v7.S