mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 15:13:44 -04:00
s390/boot: Fix startup debugging log
Fix 'kernel image' end address for kaslr case.
Fixes: ec6f9f7e5b ("s390/boot: Add startup debugging support")
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Mikhail Zaslonko <zaslonko@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
This commit is contained in:
committed by
Alexander Gordeev
parent
daa8af80d2
commit
e29409faec
@@ -384,7 +384,7 @@ static unsigned long setup_kernel_memory_layout(unsigned long kernel_size)
|
||||
kernel_start = round_down(kernel_end - kernel_size, THREAD_SIZE);
|
||||
boot_debug("Randomization range: 0x%016lx-0x%016lx\n", vmax - kaslr_len, vmax);
|
||||
boot_debug("kernel image: 0x%016lx-0x%016lx (kaslr)\n", kernel_start,
|
||||
kernel_size + kernel_size);
|
||||
kernel_start + kernel_size);
|
||||
} else if (vmax < __NO_KASLR_END_KERNEL || vsize > __NO_KASLR_END_KERNEL) {
|
||||
kernel_start = round_down(vmax - kernel_size, THREAD_SIZE);
|
||||
boot_debug("kernel image: 0x%016lx-0x%016lx (constrained)\n", kernel_start,
|
||||
|
||||
Reference in New Issue
Block a user