aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2025-08-07 15:04:27 +0000
committerAlexander Gordeev <[email protected]>2025-08-20 14:37:28 +0000
commit93f616ff870a1fb7e84d472cad0af651b18f9f87 (patch)
tree567e0e04264ab76bcb6bb5ecbfb123de0b1e7825 /scripts/generate_rust_target.rs
parents390/sclp: Fix SCCB present check (diff)
downloadkernel-93f616ff870a1fb7e84d472cad0af651b18f9f87.tar.gz
kernel-93f616ff870a1fb7e84d472cad0af651b18f9f87.zip
s390/mm: Do not map lowcore with identity mapping
Since the identity mapping is pinned to address zero the lowcore is always also mapped to address zero, this happens regardless of the relocate_lowcore command line option. If the option is specified the lowcore is mapped twice, instead of only once. This means that NULL pointer accesses will succeed instead of causing an exception (low address protection still applies, but covers only parts). To fix this never map the first two pages of physical memory with the identity mapping. Fixes: 32db401965f1 ("s390/mm: Pin identity mapping base to zero") Reviewed-by: Alexander Gordeev <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions