]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
parisc: Report trap type as human readable string
authorHelge Deller <deller@gmx.de>
Sat, 24 Sep 2016 19:45:46 +0000 (21:45 +0200)
committerHelge Deller <deller@gmx.de>
Sat, 24 Sep 2016 19:45:46 +0000 (21:45 +0200)
commitb391667eb45a5a888bc9372462c5f647418c31af
tree9ff484ba4e08da9f261fccd22d1cf3767f8ad036
parent910a86435dd75d7c04d9fbd49aa92e1842d6e88d
parisc: Report trap type as human readable string

When faulting on some trap, the kernel currently reports in dmesg:

 do_page_fault() command='perl' type=6 address=0xbe400403 in libcrypt-2.24.so[f9086000+9000]
 vm_start = 0x00922000, vm_end = 0x00aed000

With this change the trap type additionally gets reported as human readable
string which makes it simpler to recognize the type of problem:

 do_page_fault() command='perl' type=6 address=0xbe400403 in libcrypt-2.24.so[f9086000+9000]
 trap #6: Instruction TLB miss fault, vm_start = 0x00922000, vm_end = 0x00aed000

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/mm/fault.c