aboutsummaryrefslogtreecommitdiff
path: root/drivers/s390/virtio
diff options
context:
space:
mode:
authorAlexander Gordeev <agordeev@linux.ibm.com>2024-06-07 14:19:50 +0200
committerVasily Gorbik <gor@linux.ibm.com>2024-06-11 16:20:40 +0200
commit693d41f7c938f92d881e6a51525e6c132a186afd (patch)
tree44a60655d03d1e68d6b3a5373facae4b9e670a82 /drivers/s390/virtio
parentd8073dc6bc04a061660b31e49a990478a73f1883 (diff)
s390/mm: Restore mapping of kernel image using large pages
Since physical and virtual kernel address spaces are uncoupled the kernel image is not mapped using large segment pages anymore, which is a regression. Put the kernel image at the same large segment page offset in physical memory as in virtual memory. Such approach preserves the existing number of bits of entropy used for randomization of the kernel location in virtual memory when KASLR is on. As result, the kernel is mapped using large segment pages. Fixes: c98d2ecae08f ("s390/mm: Uncouple physical vs virtual address spaces") Reported-by: Heiko Carstens <hca@linux.ibm.com> Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'drivers/s390/virtio')
0 files changed, 0 insertions, 0 deletions