diff options
author | 2023-12-14 10:19:26 +0100 | |
---|---|---|
committer | 2024-01-09 10:58:59 -0800 | |
commit | 420370f3ae3d3b883813fd3051a38805160b2b9f (patch) | |
tree | 637445e78c14c045aa880edaf6c8994b7e8540e8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | riscv: errata: andes: Probe for IOCP only once in boot stage (diff) | |
download | wireguard-linux-420370f3ae3d3b883813fd3051a38805160b2b9f.tar.xz wireguard-linux-420370f3ae3d3b883813fd3051a38805160b2b9f.zip |
riscv: Check if the code to patch lies in the exit section
Otherwise we fall through to vmalloc_to_page() which panics since the
address does not lie in the vmalloc region.
Fixes: 043cb41a85de ("riscv: introduce interfaces to patch kernel code")
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Reviewed-by: Charlie Jenkins <charlie@rivosinc.com>
Link: https://lore.kernel.org/r/20231214091926.203439-1-alexghiti@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions