diff options
author | Alexandre Ghiti <alexghiti@rivosinc.com> | 2023-02-03 10:52:29 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2023-04-19 17:24:51 +0300 |
commit | 401e84488800d05e8ed6db2a687eaa94415f4ec8 (patch) | |
tree | 2bb23a577eefe021280adcbed7124d90f8863631 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 96f9d4daf745205fe869e9e5ac23199ef11c5448 (diff) | |
download | linux-401e84488800d05e8ed6db2a687eaa94415f4ec8.tar.xz |
riscv: Move DTB_EARLY_BASE_VA to the kernel address space
The early virtual address should lie in the kernel address space for
inline kasan instrumentation to succeed, otherwise kasan tries to
dereference an address that does not exist in the address space (since
kasan only maps *kernel* address space, not the userspace).
Simply use the very first address of the kernel address space for the
early fdt mapping.
It allowed an Ubuntu kernel to boot successfully with inline
instrumentation.
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Reviewed-by: Björn Töpel <bjorn@rivosinc.com>
Link: https://lore.kernel.org/r/20230203075232.274282-4-alexghiti@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions