]> www.infradead.org Git - nvme.git/commit
s390/mm/ptdump: Add support for relocated lowcore mapping
authorHeiko Carstens <hca@linux.ibm.com>
Tue, 23 Jul 2024 18:49:54 +0000 (20:49 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 31 Jul 2024 14:30:20 +0000 (16:30 +0200)
commit7e4d4cfed6483303436687f1db9a28a377c6ab2a
tree76723a06dc387cbffa926f34189e4a6b9370a685
parent373953444ce542db43535861fb8ebf3a1e05669c
s390/mm/ptdump: Add support for relocated lowcore mapping

The page table dumper contains a hard coded assumption that the first
mapped area starts at address zero. With a relocated lowcore this is
not true anymore. Subsequently the first entry (lowcore) is printed as
if it would contain everything from address zero until the end of the
location of the lowcore area.

Fix this by adding a single "Kernel Virtual Address Space" entry,
which always starts at address zero. It ends when the lowcore area
starts which is either address zero, or its relocated address.

Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/mm/dump_pagetables.c