Title: [8572] trunk/arch/blackfin/kernel/trace.c: Handle HW errors in the newer "FAULT" printing code.
- Revision
- 8572
- Author
- rgetz
- Date
- 2010-03-29 10:07:33 -0400 (Mon, 29 Mar 2010)
Log Message
Handle HW errors in the newer "FAULT" printing code.
Modified Paths
Diff
Modified: trunk/arch/blackfin/kernel/trace.c (8571 => 8572)
--- trunk/arch/blackfin/kernel/trace.c 2010-03-29 11:18:17 UTC (rev 8571)
+++ trunk/arch/blackfin/kernel/trace.c 2010-03-29 14:07:33 UTC (rev 8572)
@@ -519,6 +519,15 @@
* the trace buffer, (since it doesn't commit), so
* we print out the fault address here
*/
+ if (!fault && addr == ((unsigned short *)evt_ivhw)) {
+ addr = (unsigned short *)bfin_read_TBUF();
+ decode_address(buf, (unsigned long)addr);
+ pr_notice(" FAULT : %s ", buf);
+ decode_instruction(addr);
+ pr_cont("\n");
+ fault = 1;
+ continue;
+ }
if (!fault && addr == (unsigned short *)trap &&
(cpu_pda[cpu].seqstat & SEQSTAT_EXCAUSE) > VEC_EXCPT15) {
decode_address(buf, cpu_pda[cpu].icplb_fault_addr);
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits