s390/mm: add missing phys_to_virt translation to page table dumper
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 6 Dec 2021 17:55:21 +0000 (18:55 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 10 Dec 2021 15:14:25 +0000 (16:14 +0100)
commitd2f2949ab6b60fc53134908d0ffc140ef50e5a1b
tree52a3a712d3e3bc52d69212481124c8ea9df12e3a
parentf139862b92cf85bd25cbe7c8683d63c037e6562c
s390/mm: add missing phys_to_virt translation to page table dumper

The page table dumper walks page table tables without using standard
page table primitives in order to also dump broken entries. However it
currently does not translate physical to virtual addresses before
dereferencing them. Therefore add this missing translation.

Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/mm/fault.c