aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorAtish Patra <[email protected]>2021-01-29 19:00:36 +0000
committerPalmer Dabbelt <[email protected]>2021-02-03 02:35:42 +0000
commitf105ea9890f42137344f8c08548c895dc9294bd8 (patch)
treef15e209e644cc6aaf11c7d6ea10b33012e97dbc8 /scripts/clang-tools/gen_compile_commands.py
parentriscv: virt_addr_valid must check the address belongs to linear mapping (diff)
downloadkernel-f105ea9890f42137344f8c08548c895dc9294bd8.tar.gz
kernel-f105ea9890f42137344f8c08548c895dc9294bd8.zip
RISC-V: Fix .init section permission update
.init section permission should only updated to non-execute if STRICT_KERNEL_RWX is enabled. Otherwise, this will lead to a kernel hang. Fixes: 19a00869028f ("RISC-V: Protect all kernel sections including init early") Cc: [email protected] Suggested-by: Geert Uytterhoeven <[email protected]> Reported-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Atish Patra <[email protected]> Reviewed-by: Atish Patra <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions