]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: Print physical address of page table base in show_pte()
authorWill Deacon <will.deacon@arm.com>
Tue, 14 May 2019 11:25:28 +0000 (12:25 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 14 May 2019 11:25:28 +0000 (12:25 +0100)
commit48caebf7e1313eb9f0a06fe59a07ac05b38a5806
treea4f3044d9d1b1cfa74531c5c7ad5c4f8d46b2d8f
parent84c187afa210fcd5e34a7506c6e0dc2d69bc6641
arm64: Print physical address of page table base in show_pte()

When dumping the page table in response to an unexpected kernel page
fault, we print the virtual (hashed) address of the page table base, but
display physical addresses for everything else.

Make the page table dumping code in show_pte() consistent, by printing
the page table base pointer as a physical address.

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