summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorAlexandre Ghiti <alex@ghiti.fr>2021-06-29 12:13:48 +0300
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-07-23 07:34:36 +0300
commitdb6b84a368b495cb7e41be9cb9e73d4d0537d027 (patch)
treeeba21fdeb9b9b8238fb0cb08ef76226f5eec7e74 /scripts/gdb/linux/utils.py
parentc99127c452484ac89c75af39c3c865174ce2de99 (diff)
downloadlinux-db6b84a368b495cb7e41be9cb9e73d4d0537d027.tar.xz
riscv: Make sure the kernel mapping does not overlap with IS_ERR_VALUE
The check that is done in setup_bootmem currently only works for 32-bit kernel since the kernel mapping has been moved outside of the linear mapping for 64-bit kernel. So make sure that for 64-bit kernel, the kernel mapping does not overlap with the last 4K of the addressable memory. Signed-off-by: Alexandre Ghiti <alex@ghiti.fr> Fixes: 2bfc6cd81bd1 ("riscv: Move kernel mapping outside of linear mapping") Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions