s390/mm/ptdump: Fix handling of identity mapping area
authorHeiko Carstens <hca@linux.ibm.com>
Tue, 23 Jul 2024 18:49:53 +0000 (20:49 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 31 Jul 2024 14:30:20 +0000 (16:30 +0200)
commit373953444ce542db43535861fb8ebf3a1e05669c
tree4a5e1b2c9db5545c48614d5195e5c88bb1c8e177
parentc8e4d73eae835a1b9f6fc29f2577770ea8ca0c03
s390/mm/ptdump: Fix handling of identity mapping area

Since virtual and real addresses are not the same anymore the
assumption that the kernel image is contained within the identity
mapping is also not true anymore.

Fix this by adding two explicit areas and at the correct locations: one
for the 8kb lowcore area, and one for the identity mapping.

Fixes: c98d2ecae08f ("s390/mm: Uncouple physical vs virtual address spaces")
Reviewed-by: Alexander Gordeev <agordeev@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