Files
linux/arch/s390/boot
Vasily Gorbik 92ae0c1efc s390/boot: Respect kaslr_enabled() for identity randomization
CONFIG_RANDOMIZE_IDENTITY_BASE only enables support for randomizing the
identity mapping base. The randomization (identity base != 0) itself
should happen only when KASLR is enabled at runtime.

Guard the __identity_base update with kaslr_enabled() so nokaslr (and
other KASLR-disabled cases) keep the non-randomized identity mapping at 0.

Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2026-03-05 21:08:50 +01:00
..
2025-03-18 17:13:05 +01:00
2025-11-24 11:45:21 +01:00
2025-03-04 17:25:22 +01:00
2025-11-17 11:10:38 +01:00
2025-11-24 11:45:21 +01:00
2024-07-03 19:30:24 -07:00
2025-12-07 16:15:19 +01:00