diff options
author | Andrew Isaacson <adi@broadcom.com> | 2005-10-20 02:57:40 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:32:48 -0400 |
commit | a4b5bd9abcf5b0586de68722ff8e9b91020279bf (patch) | |
tree | fe0f4014bf5e92d72d4e15d90cf3eab3713ceee5 /arch/mips/mm/cex-sb1.S | |
parent | 9a6dcea10308df50ed54d6d5a43c9f6c3e927118 (diff) |
SB1 cache exception handling.
Expand SB1 cache error handling by adding SB1_CEX_ALWAYS_FATAL and
SB1_CEX_STALL, allowing configurable behavior on cache errors.
Signed-Off-By: Andy Isaacson <adi@broadcom.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm/cex-sb1.S')
-rw-r--r-- | arch/mips/mm/cex-sb1.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/mm/cex-sb1.S b/arch/mips/mm/cex-sb1.S index 2c3a23aa88c3..0e71580774ff 100644 --- a/arch/mips/mm/cex-sb1.S +++ b/arch/mips/mm/cex-sb1.S | |||
@@ -64,6 +64,10 @@ LEAF(except_vec2_sb1) | |||
64 | sd k0,0x170($0) | 64 | sd k0,0x170($0) |
65 | sd k1,0x178($0) | 65 | sd k1,0x178($0) |
66 | 66 | ||
67 | #if CONFIG_SB1_CEX_ALWAYS_FATAL | ||
68 | j handle_vec2_sb1 | ||
69 | nop | ||
70 | #else | ||
67 | /* | 71 | /* |
68 | * M_ERRCTL_RECOVERABLE is bit 31, which makes it easy to tell | 72 | * M_ERRCTL_RECOVERABLE is bit 31, which makes it easy to tell |
69 | * if we can fast-path out of here for a h/w-recovered error. | 73 | * if we can fast-path out of here for a h/w-recovered error. |
@@ -134,6 +138,7 @@ unrecoverable: | |||
134 | /* Unrecoverable Icache or Dcache error; log it and/or fail */ | 138 | /* Unrecoverable Icache or Dcache error; log it and/or fail */ |
135 | j handle_vec2_sb1 | 139 | j handle_vec2_sb1 |
136 | nop | 140 | nop |
141 | #endif | ||
137 | 142 | ||
138 | END(except_vec2_sb1) | 143 | END(except_vec2_sb1) |
139 | 144 | ||