Blackfin: handle HW errors in the new "FAULT" printing code

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>

authored by Robin Getz and committed by Mike Frysinger a80d5f44 a6d9dbf5

+9
+9
arch/blackfin/kernel/trace.c
··· 672 * the trace buffer, (since it doesn't commit), so 673 * we print out the fault address here 674 */ 675 if (!fault && addr == (unsigned short *)trap && 676 (cpu_pda[cpu].seqstat & SEQSTAT_EXCAUSE) > VEC_EXCPT15) { 677 decode_address(buf, cpu_pda[cpu].icplb_fault_addr);
··· 672 * the trace buffer, (since it doesn't commit), so 673 * we print out the fault address here 674 */ 675 + if (!fault && addr == ((unsigned short *)evt_ivhw)) { 676 + addr = (unsigned short *)bfin_read_TBUF(); 677 + decode_address(buf, (unsigned long)addr); 678 + pr_notice(" FAULT : %s ", buf); 679 + decode_instruction(addr); 680 + pr_cont("\n"); 681 + fault = 1; 682 + continue; 683 + } 684 if (!fault && addr == (unsigned short *)trap && 685 (cpu_pda[cpu].seqstat & SEQSTAT_EXCAUSE) > VEC_EXCPT15) { 686 decode_address(buf, cpu_pda[cpu].icplb_fault_addr);