diff options
author | Mark Rutland <mark.rutland@arm.com> | 2017-10-19 11:19:55 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-10-27 16:26:47 +0100 |
commit | 42dbf54e88906ffb8ee992c14e45dd36483f5011 (patch) | |
tree | 392a0a8cceb9627198a84153aa46dede93b89f7c /arch/ia64/kernel/module.c | |
parent | fa3eb71d96f52833a5e12def2a22b2347dd349d0 (diff) | |
download | linux-42dbf54e88906ffb8ee992c14e45dd36483f5011.tar.gz linux-42dbf54e88906ffb8ee992c14e45dd36483f5011.tar.bz2 linux-42dbf54e88906ffb8ee992c14e45dd36483f5011.zip |
arm64: consistently log ESR and page table
When we take a fault we can't handle, we try to dump some relevant
information, but we're not consistent about doing so.
In do_mem_abort(), we log the full ESR, but don't dump a page table
walk. In __do_kernel_fault, we dump an attempted decoding of the ESR
(but not the ESR itself) along with a page table walk.
Let's try to make things more consistent by dumping the full ESR in
mem_abort_decode(), and having do_mem_abort dump a page table walk. The
existing dump of the ESR in do_mem_abort() is rendered redundant, and
removed.
Tested-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Julien Thierry <julien.thierry@arm.com>
Cc: Kristina Martsenko <kristina.martsenko@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/ia64/kernel/module.c')
0 files changed, 0 insertions, 0 deletions