diff options
| author | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2011-07-24 15:57:49 -0400 |
|---|---|---|
| committer | Paolo Pisati <paolo.pisati@canonical.com> | 2012-08-17 04:18:03 -0400 |
| commit | e7bb65363f2c91636b24f4f1579151325f6e615a (patch) | |
| tree | 26cc6d3d86423fa217272d5e30bb6c719efb5365 /arch/arm/include | |
| parent | 402bd2deecd4fce6d130ea6b7e735fb0b834da2d (diff) | |
OMAP4460: L2X0: Temporary work-around for stability.
OMAP4460 ES1.0 seems to suffer from stability with L2 cache enabled.
The root-cause analysis is ongoing but in meantime this chabe is
to enable a software WA with L2 cache enabled build. The WA consist
of locking certain cache ways based on their positions on the
physical memory layout.
Downside of this WA is that effective L2 cache size will be 512 KB
instead of 1 MB.
Of course this is temporary WA and needs to removed once the root
cause and the right fix is found.
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Diffstat (limited to 'arch/arm/include')
| -rw-r--r-- | arch/arm/include/asm/hardware/cache-l2x0.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/include/asm/hardware/cache-l2x0.h b/arch/arm/include/asm/hardware/cache-l2x0.h index bfa706ffd96..f5ef5fc2092 100644 --- a/arch/arm/include/asm/hardware/cache-l2x0.h +++ b/arch/arm/include/asm/hardware/cache-l2x0.h | |||
| @@ -45,8 +45,10 @@ | |||
| 45 | #define L2X0_CLEAN_INV_LINE_PA 0x7F0 | 45 | #define L2X0_CLEAN_INV_LINE_PA 0x7F0 |
| 46 | #define L2X0_CLEAN_INV_LINE_IDX 0x7F8 | 46 | #define L2X0_CLEAN_INV_LINE_IDX 0x7F8 |
| 47 | #define L2X0_CLEAN_INV_WAY 0x7FC | 47 | #define L2X0_CLEAN_INV_WAY 0x7FC |
| 48 | #define L2X0_LOCKDOWN_WAY_D 0x900 | 48 | #define L2X0_LOCKDOWN_WAY_D0 0x900 |
| 49 | #define L2X0_LOCKDOWN_WAY_I 0x904 | 49 | #define L2X0_LOCKDOWN_WAY_D1 0x908 |
| 50 | #define L2X0_LOCKDOWN_WAY_I0 0x904 | ||
| 51 | #define L2X0_LOCKDOWN_WAY_I1 0x90C | ||
| 50 | #define L2X0_TEST_OPERATION 0xF00 | 52 | #define L2X0_TEST_OPERATION 0xF00 |
| 51 | #define L2X0_LINE_DATA 0xF10 | 53 | #define L2X0_LINE_DATA 0xF10 |
| 52 | #define L2X0_LINE_TAG 0xF30 | 54 | #define L2X0_LINE_TAG 0xF30 |
