aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/symbols.py
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2020-06-01 10:36:56 +0530
committerPalmer Dabbelt <[email protected]>2020-06-09 19:11:26 -0700
commit4e0f9e3a6104261f25b16fcab02fc96f5666ba11 (patch)
tree96404fb2ee2b129c58e4e99261e756dc90e9bdcc /scripts/gdb/linux/symbols.py
parente71ee06e3ca337758ac95288a917622ff9808fa0 (diff)
RISC-V: Don't mark init section as non-executable
The head text section (i.e. _start, secondary_start_sbi, etc) and the init section fall under same page table level-1 mapping. Currently, the runtime CPU hotplug is broken because we are marking init section as non-executable which in-turn marks head text section as non-executable. Further investigating other architectures, it seems marking the init section as non-executable is redundant because the init section pages are anyway poisoned and freed. To fix broken runtime CPU hotplug, we simply remove the code marking the init section as non-executable. Fixes: d27c3c90817e ("riscv: add STRICT_KERNEL_RWX support") Cc: [email protected] Signed-off-by: Anup Patel <[email protected]> Reviewed-by: Zong Li <[email protected]> Reviewed-by: Atish Patra <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/symbols.py')
0 files changed, 0 insertions, 0 deletions