diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2009-04-30 12:06:20 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-04-30 15:13:00 -0400 |
commit | 0516e4643cd22fc9f535aef02ad1de66c382c93b (patch) | |
tree | 8b82945aa5f1ef825656aed2580cacafcd829ac3 /arch/arm/Kconfig | |
parent | 855c551f5b8cc3815d58e1056c1f1e7c461e2d24 (diff) |
[ARM] 5489/1: ARM errata: Data written to the L2 cache can be overwritten with stale data
This patch is a workaround for the 460075 Cortex-A8 (r2p0) erratum. It
configures the L2 cache auxiliary control register so that the Write
Allocate mode for the L2 cache is disabled.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 49f85664083d..9faccc411c2a 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -778,6 +778,18 @@ config ARM_ERRATA_458693 | |||
778 | in the ACTLR register. Note that setting specific bits in the ACTLR | 778 | in the ACTLR register. Note that setting specific bits in the ACTLR |
779 | register may not be available in non-secure mode. | 779 | register may not be available in non-secure mode. |
780 | 780 | ||
781 | config ARM_ERRATA_460075 | ||
782 | bool "ARM errata: Data written to the L2 cache can be overwritten with stale data" | ||
783 | depends on CPU_V7 | ||
784 | help | ||
785 | This option enables the workaround for the 460075 Cortex-A8 (r2p0) | ||
786 | erratum. Any asynchronous access to the L2 cache may encounter a | ||
787 | situation in which recent store transactions to the L2 cache are lost | ||
788 | and overwritten with stale memory contents from external memory. The | ||
789 | workaround disables the write-allocate mode for the L2 cache via the | ||
790 | ACTLR register. Note that setting specific bits in the ACTLR register | ||
791 | may not be available in non-secure mode. | ||
792 | |||
781 | endmenu | 793 | endmenu |
782 | 794 | ||
783 | source "arch/arm/common/Kconfig" | 795 | source "arch/arm/common/Kconfig" |