]> git.baikalelectronics.ru Git - kernel.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)
commitbe6304303172f9dc7b4aea4a00453fa5581eb0e1
treea4f3044d9d1b1cfa74531c5c7ad5c4f8d46b2d8f
parent58b2063c90ae856520fab5c2fa59202dd85df0f1
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