traps.c (7e66eaf14e19c032433be7c4df3c892fa2a5282f) traps.c (37caf9f2a1b99d11ba71e17168d221da9ca13f24)
1/*
2 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
3 * Copyright 2007-2010 Freescale Semiconductor, Inc.
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version
8 * 2 of the License, or (at your option) any later version.

--- 443 unchanged lines hidden (view full) ---

452 * fetch error report -- only treat MCSR_IF as fatal
453 * if it wasn't due to an L1 parity error.
454 */
455 reason &= ~MCSR_IF;
456 }
457
458 if (reason & MCSR_DCPERR_MC) {
459 printk("Data Cache Parity Error\n");
1/*
2 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
3 * Copyright 2007-2010 Freescale Semiconductor, Inc.
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version
8 * 2 of the License, or (at your option) any later version.

--- 443 unchanged lines hidden (view full) ---

452 * fetch error report -- only treat MCSR_IF as fatal
453 * if it wasn't due to an L1 parity error.
454 */
455 reason &= ~MCSR_IF;
456 }
457
458 if (reason & MCSR_DCPERR_MC) {
459 printk("Data Cache Parity Error\n");
460 recoverable = 0;
460
461 /*
462 * In write shadow mode we auto-recover from the error, but it
463 * may still get logged and cause a machine check. We should
464 * only treat the non-write shadow case as non-recoverable.
465 */
466 if (!(mfspr(SPRN_L1CSR2) & L1CSR2_DCWS))
467 recoverable = 0;
461 }
462
463 if (reason & MCSR_L2MMU_MHIT) {
464 printk("Hit on multiple TLB entries\n");
465 recoverable = 0;
466 }
467
468 if (reason & MCSR_NMI)

--- 1118 unchanged lines hidden ---
468 }
469
470 if (reason & MCSR_L2MMU_MHIT) {
471 printk("Hit on multiple TLB entries\n");
472 recoverable = 0;
473 }
474
475 if (reason & MCSR_NMI)

--- 1118 unchanged lines hidden ---