diff options
author | Paul Brook <paul@codesourcery.com> | 2008-04-18 17:43:07 -0400 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2008-04-18 17:43:07 -0400 |
commit | 48d7927bdf071d05cf5d15b816cf06b0937cb84f (patch) | |
tree | 60f82f25897f9b3fd55148edac9348b451afc6cf /arch/arm/mm/Kconfig | |
parent | d7f864be8323e5394040e2877594645b0e7da85d (diff) |
Add a prefetch abort handler
This patch adds a prefetch abort handler similar to the data abort one
and renames the latter for consistency. Initial implementation by Paul
Brook with some renaming by Catalin Marinas.
Signed-off-by: Paul Brook <paul@codesourcery.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm/mm/Kconfig')
-rw-r--r-- | arch/arm/mm/Kconfig | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index 084fe8de3efe..708ee25b8df4 100644 --- a/arch/arm/mm/Kconfig +++ b/arch/arm/mm/Kconfig | |||
@@ -18,6 +18,7 @@ config CPU_ARM610 | |||
18 | select CPU_CP15_MMU | 18 | select CPU_CP15_MMU |
19 | select CPU_COPY_V3 if MMU | 19 | select CPU_COPY_V3 if MMU |
20 | select CPU_TLB_V3 if MMU | 20 | select CPU_TLB_V3 if MMU |
21 | select CPU_PABRT_NOIFAR | ||
21 | help | 22 | help |
22 | The ARM610 is the successor to the ARM3 processor | 23 | The ARM610 is the successor to the ARM3 processor |
23 | and was produced by VLSI Technology Inc. | 24 | and was produced by VLSI Technology Inc. |
@@ -49,6 +50,7 @@ config CPU_ARM710 | |||
49 | select CPU_CP15_MMU | 50 | select CPU_CP15_MMU |
50 | select CPU_COPY_V3 if MMU | 51 | select CPU_COPY_V3 if MMU |
51 | select CPU_TLB_V3 if MMU | 52 | select CPU_TLB_V3 if MMU |
53 | select CPU_PABRT_NOIFAR | ||
52 | help | 54 | help |
53 | A 32-bit RISC microprocessor based on the ARM7 processor core | 55 | A 32-bit RISC microprocessor based on the ARM7 processor core |
54 | designed by Advanced RISC Machines Ltd. The ARM710 is the | 56 | designed by Advanced RISC Machines Ltd. The ARM710 is the |
@@ -64,6 +66,7 @@ config CPU_ARM720T | |||
64 | default y if ARCH_CLPS711X || ARCH_L7200 || ARCH_CDB89712 || ARCH_H720X | 66 | default y if ARCH_CLPS711X || ARCH_L7200 || ARCH_CDB89712 || ARCH_H720X |
65 | select CPU_32v4T | 67 | select CPU_32v4T |
66 | select CPU_ABRT_LV4T | 68 | select CPU_ABRT_LV4T |
69 | select CPU_PABRT_NOIFAR | ||
67 | select CPU_CACHE_V4 | 70 | select CPU_CACHE_V4 |
68 | select CPU_CACHE_VIVT | 71 | select CPU_CACHE_VIVT |
69 | select CPU_CP15_MMU | 72 | select CPU_CP15_MMU |
@@ -113,6 +116,7 @@ config CPU_ARM920T | |||
113 | default y if CPU_S3C2410 || CPU_S3C2440 || CPU_S3C2442 || ARCH_AT91RM9200 | 116 | default y if CPU_S3C2410 || CPU_S3C2440 || CPU_S3C2442 || ARCH_AT91RM9200 |
114 | select CPU_32v4T | 117 | select CPU_32v4T |
115 | select CPU_ABRT_EV4T | 118 | select CPU_ABRT_EV4T |
119 | select CPU_PABRT_NOIFAR | ||
116 | select CPU_CACHE_V4WT | 120 | select CPU_CACHE_V4WT |
117 | select CPU_CACHE_VIVT | 121 | select CPU_CACHE_VIVT |
118 | select CPU_CP15_MMU | 122 | select CPU_CP15_MMU |
@@ -135,6 +139,7 @@ config CPU_ARM922T | |||
135 | default y if ARCH_LH7A40X || ARCH_KS8695 | 139 | default y if ARCH_LH7A40X || ARCH_KS8695 |
136 | select CPU_32v4T | 140 | select CPU_32v4T |
137 | select CPU_ABRT_EV4T | 141 | select CPU_ABRT_EV4T |
142 | select CPU_PABRT_NOIFAR | ||
138 | select CPU_CACHE_V4WT | 143 | select CPU_CACHE_V4WT |
139 | select CPU_CACHE_VIVT | 144 | select CPU_CACHE_VIVT |
140 | select CPU_CP15_MMU | 145 | select CPU_CP15_MMU |
@@ -155,6 +160,7 @@ config CPU_ARM925T | |||
155 | default y if ARCH_OMAP15XX | 160 | default y if ARCH_OMAP15XX |
156 | select CPU_32v4T | 161 | select CPU_32v4T |
157 | select CPU_ABRT_EV4T | 162 | select CPU_ABRT_EV4T |
163 | select CPU_PABRT_NOIFAR | ||
158 | select CPU_CACHE_V4WT | 164 | select CPU_CACHE_V4WT |
159 | select CPU_CACHE_VIVT | 165 | select CPU_CACHE_VIVT |
160 | select CPU_CP15_MMU | 166 | select CPU_CP15_MMU |
@@ -175,6 +181,7 @@ config CPU_ARM926T | |||
175 | default y if ARCH_VERSATILE_PB || MACH_VERSATILE_AB || ARCH_OMAP730 || ARCH_OMAP16XX || ARCH_PNX4008 || ARCH_NETX || CPU_S3C2412 || ARCH_AT91SAM9260 || ARCH_AT91SAM9261 || ARCH_AT91SAM9263 || ARCH_AT91SAM9RL || ARCH_AT91CAP9 || ARCH_NS9XXX || ARCH_DAVINCI | 181 | default y if ARCH_VERSATILE_PB || MACH_VERSATILE_AB || ARCH_OMAP730 || ARCH_OMAP16XX || ARCH_PNX4008 || ARCH_NETX || CPU_S3C2412 || ARCH_AT91SAM9260 || ARCH_AT91SAM9261 || ARCH_AT91SAM9263 || ARCH_AT91SAM9RL || ARCH_AT91CAP9 || ARCH_NS9XXX || ARCH_DAVINCI |
176 | select CPU_32v5 | 182 | select CPU_32v5 |
177 | select CPU_ABRT_EV5TJ | 183 | select CPU_ABRT_EV5TJ |
184 | select CPU_PABRT_NOIFAR | ||
178 | select CPU_CACHE_VIVT | 185 | select CPU_CACHE_VIVT |
179 | select CPU_CP15_MMU | 186 | select CPU_CP15_MMU |
180 | select CPU_COPY_V4WB if MMU | 187 | select CPU_COPY_V4WB if MMU |
@@ -226,6 +233,7 @@ config CPU_ARM1020 | |||
226 | depends on ARCH_INTEGRATOR | 233 | depends on ARCH_INTEGRATOR |
227 | select CPU_32v5 | 234 | select CPU_32v5 |
228 | select CPU_ABRT_EV4T | 235 | select CPU_ABRT_EV4T |
236 | select CPU_PABRT_NOIFAR | ||
229 | select CPU_CACHE_V4WT | 237 | select CPU_CACHE_V4WT |
230 | select CPU_CACHE_VIVT | 238 | select CPU_CACHE_VIVT |
231 | select CPU_CP15_MMU | 239 | select CPU_CP15_MMU |
@@ -244,6 +252,7 @@ config CPU_ARM1020E | |||
244 | depends on ARCH_INTEGRATOR | 252 | depends on ARCH_INTEGRATOR |
245 | select CPU_32v5 | 253 | select CPU_32v5 |
246 | select CPU_ABRT_EV4T | 254 | select CPU_ABRT_EV4T |
255 | select CPU_PABRT_NOIFAR | ||
247 | select CPU_CACHE_V4WT | 256 | select CPU_CACHE_V4WT |
248 | select CPU_CACHE_VIVT | 257 | select CPU_CACHE_VIVT |
249 | select CPU_CP15_MMU | 258 | select CPU_CP15_MMU |
@@ -257,6 +266,7 @@ config CPU_ARM1022 | |||
257 | depends on ARCH_INTEGRATOR | 266 | depends on ARCH_INTEGRATOR |
258 | select CPU_32v5 | 267 | select CPU_32v5 |
259 | select CPU_ABRT_EV4T | 268 | select CPU_ABRT_EV4T |
269 | select CPU_PABRT_NOIFAR | ||
260 | select CPU_CACHE_VIVT | 270 | select CPU_CACHE_VIVT |
261 | select CPU_CP15_MMU | 271 | select CPU_CP15_MMU |
262 | select CPU_COPY_V4WB if MMU # can probably do better | 272 | select CPU_COPY_V4WB if MMU # can probably do better |
@@ -275,6 +285,7 @@ config CPU_ARM1026 | |||
275 | depends on ARCH_INTEGRATOR | 285 | depends on ARCH_INTEGRATOR |
276 | select CPU_32v5 | 286 | select CPU_32v5 |
277 | select CPU_ABRT_EV5T # But need Jazelle, but EV5TJ ignores bit 10 | 287 | select CPU_ABRT_EV5T # But need Jazelle, but EV5TJ ignores bit 10 |
288 | select CPU_PABRT_NOIFAR | ||
278 | select CPU_CACHE_VIVT | 289 | select CPU_CACHE_VIVT |
279 | select CPU_CP15_MMU | 290 | select CPU_CP15_MMU |
280 | select CPU_COPY_V4WB if MMU # can probably do better | 291 | select CPU_COPY_V4WB if MMU # can probably do better |
@@ -293,6 +304,7 @@ config CPU_SA110 | |||
293 | select CPU_32v3 if ARCH_RPC | 304 | select CPU_32v3 if ARCH_RPC |
294 | select CPU_32v4 if !ARCH_RPC | 305 | select CPU_32v4 if !ARCH_RPC |
295 | select CPU_ABRT_EV4 | 306 | select CPU_ABRT_EV4 |
307 | select CPU_PABRT_NOIFAR | ||
296 | select CPU_CACHE_V4WB | 308 | select CPU_CACHE_V4WB |
297 | select CPU_CACHE_VIVT | 309 | select CPU_CACHE_VIVT |
298 | select CPU_CP15_MMU | 310 | select CPU_CP15_MMU |
@@ -314,6 +326,7 @@ config CPU_SA1100 | |||
314 | default y | 326 | default y |
315 | select CPU_32v4 | 327 | select CPU_32v4 |
316 | select CPU_ABRT_EV4 | 328 | select CPU_ABRT_EV4 |
329 | select CPU_PABRT_NOIFAR | ||
317 | select CPU_CACHE_V4WB | 330 | select CPU_CACHE_V4WB |
318 | select CPU_CACHE_VIVT | 331 | select CPU_CACHE_VIVT |
319 | select CPU_CP15_MMU | 332 | select CPU_CP15_MMU |
@@ -326,6 +339,7 @@ config CPU_XSCALE | |||
326 | default y | 339 | default y |
327 | select CPU_32v5 | 340 | select CPU_32v5 |
328 | select CPU_ABRT_EV5T | 341 | select CPU_ABRT_EV5T |
342 | select CPU_PABRT_NOIFAR | ||
329 | select CPU_CACHE_VIVT | 343 | select CPU_CACHE_VIVT |
330 | select CPU_CP15_MMU | 344 | select CPU_CP15_MMU |
331 | select CPU_TLB_V4WBI if MMU | 345 | select CPU_TLB_V4WBI if MMU |
@@ -349,6 +363,7 @@ config CPU_FEROCEON | |||
349 | default y | 363 | default y |
350 | select CPU_32v5 | 364 | select CPU_32v5 |
351 | select CPU_ABRT_EV5T | 365 | select CPU_ABRT_EV5T |
366 | select CPU_PABRT_NOIFAR | ||
352 | select CPU_CACHE_VIVT | 367 | select CPU_CACHE_VIVT |
353 | select CPU_CP15_MMU | 368 | select CPU_CP15_MMU |
354 | select CPU_COPY_V4WB if MMU | 369 | select CPU_COPY_V4WB if MMU |
@@ -371,6 +386,7 @@ config CPU_V6 | |||
371 | default y if ARCH_MSM7X00A | 386 | default y if ARCH_MSM7X00A |
372 | select CPU_32v6 | 387 | select CPU_32v6 |
373 | select CPU_ABRT_EV6 | 388 | select CPU_ABRT_EV6 |
389 | select CPU_PABRT_NOIFAR | ||
374 | select CPU_CACHE_V6 | 390 | select CPU_CACHE_V6 |
375 | select CPU_CACHE_VIPT | 391 | select CPU_CACHE_VIPT |
376 | select CPU_CP15_MMU | 392 | select CPU_CP15_MMU |
@@ -397,6 +413,7 @@ config CPU_V7 | |||
397 | select CPU_32v6K | 413 | select CPU_32v6K |
398 | select CPU_32v7 | 414 | select CPU_32v7 |
399 | select CPU_ABRT_EV7 | 415 | select CPU_ABRT_EV7 |
416 | select CPU_PABRT_IFAR | ||
400 | select CPU_CACHE_V7 | 417 | select CPU_CACHE_V7 |
401 | select CPU_CACHE_VIPT | 418 | select CPU_CACHE_VIPT |
402 | select CPU_CP15_MMU | 419 | select CPU_CP15_MMU |
@@ -458,6 +475,12 @@ config CPU_ABRT_EV6 | |||
458 | config CPU_ABRT_EV7 | 475 | config CPU_ABRT_EV7 |
459 | bool | 476 | bool |
460 | 477 | ||
478 | config CPU_PABRT_IFAR | ||
479 | bool | ||
480 | |||
481 | config CPU_PABRT_NOIFAR | ||
482 | bool | ||
483 | |||
461 | # The cache model | 484 | # The cache model |
462 | config CPU_CACHE_V3 | 485 | config CPU_CACHE_V3 |
463 | bool | 486 | bool |