arm64: fault: Print info about page table structure when dumping pte
authorWill Deacon <will.deacon@arm.com>
Mon, 15 May 2017 14:23:58 +0000 (15:23 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 12 Jun 2017 11:33:54 +0000 (12:33 +0100)
commit1eb34b6e5160f20e1889b2551182bf4d61084d6b
tree1ba2c823db84cb09e7646f109b12a8c9283d870a
parent83016b204225d69516de3d57489783fafd6a0ecc
arm64: fault: Print info about page table structure when dumping pte

Whilst debugging a remote crash, I noticed that show_pte is unhelpful
when it comes to describing the structure of the page table being walked.
This is easily fixed by printing out the page table (swapper vs user),
page size and virtual address size when displaying the PGD address.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/mm/fault.c