linux/arch/arc
Jose Abreu aa7e3a5e8b ARC: Show fault information passed to show_kernel_fault_diag()
Currently we pass a string argument to show_kernel_fault_diag() which
describes the reason for the fault. This is not being used so just
add a pr_info() which outputs the fault information.

With this change we get from:

|
| Path: /bin/busybox
| CPU: 0 PID: 92 Comm: modprobe Not tainted 4.12.0-rc6 #30
| task: 9a254780 task.stack: 9a212000
|
| [ECR   ]: 0x00200400 => Other Fatal Err
|

to:

|
| Unhandled Machine Check Exception
| Path: /bin/busybox
| CPU: 0 PID: 92 Comm: modprobe Not tainted 4.12.0-rc6 #37
| task: 9a240780 task.stack: 9a226000
|
|[ECR   ]: 0x00200400 => Machine Check (Other Fatal Err)
|

Which can help debugging.

Cc: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
2017-09-01 11:26:29 -07:00
..
boot ARC: [plat-hsdk] initial port for HSDK board 2017-09-01 11:26:28 -07:00
configs ARC: [plat-hsdk] initial port for HSDK board 2017-09-01 11:26:28 -07:00
include ARC: mm: Decouple RAM base address from kernel link address 2017-09-01 11:26:27 -07:00
kernel ARC: Show fault information passed to show_kernel_fault_diag() 2017-09-01 11:26:29 -07:00
lib ARC: dw2 unwind: enable cfi pseudo ops in string lib 2016-09-30 14:48:22 -07:00
mm ARC: mm: Decouple RAM base address from kernel link address 2017-09-01 11:26:27 -07:00
oprofile ARC: OProfile support 2013-02-15 23:16:00 +05:30
plat-axs10x ARC: [plat-axs103] refactor the DT fudging code 2017-09-01 11:26:26 -07:00
plat-eznps ARC: [plat-eznps] handle extra aux regs #1: save/restore on context switch 2017-08-28 15:17:36 -07:00
plat-hsdk ARC: [plat-hsdk] initial port for HSDK board 2017-09-01 11:26:28 -07:00
plat-sim ARC: [plat-sim] Include this platform unconditionally 2017-08-04 13:49:47 +05:30
plat-tb10x arc: select GPIOLIB directly 2016-04-26 14:07:59 +02:00
Kbuild
Kconfig ARC: [plat-hsdk] initial port for HSDK board 2017-09-01 11:26:28 -07:00
Kconfig.debug ARC: With earlycon in use, retire EARLY_PRINTK 2015-05-11 11:20:21 +05:30
Makefile ARC: [plat-hsdk] initial port for HSDK board 2017-09-01 11:26:28 -07:00