]> git.baikalelectronics.ru Git - kernel.git/commit
ARC: Debug/crash-printing Improvements
authorVineet Gupta <vgupta@synopsys.com>
Fri, 22 Mar 2013 11:46:49 +0000 (17:16 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Tue, 7 May 2013 08:13:54 +0000 (13:43 +0530)
commitb35f94a7d8b3434f9111e9b2b4966081d91def62
tree0f3374e644f51d63cd9744718a7a65d9f480b896
parent07c5783b829f04c94549bc4a33f1a19ac7e9916a
ARC: Debug/crash-printing Improvements

* Remove the line-break between scratch/callee-regs (sneaked in when we
  converted from printk to pr_*

* Use %pS to print the symbol names of faulting PC (ret pseudo register)
  and BLINK (call return register)

* Don't print user-vma for a kernel crash (only do it for
  print-fatal-signals based regfile dump)

* Verbose print the Interrupt/Exception Enable/Active state

* for main executable link address is 0x10000 based (vs. 0) thus offset
  of faulting PC needs to be adjusted

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/troubleshoot.c