diff options
author | Nam Cao <namcao@linutronix.de> | 2024-06-07 23:22:07 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-09-12 17:22:56 +0300 |
commit | f2df5b4fdd74a3490c35498de935ebf4f9b7c382 (patch) | |
tree | 378ff9ff0badb3051ef1dcb03f287faf28398053 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | aa3457f22f00b9c9039672b1ff942fd72a5330d8 (diff) | |
download | linux-f2df5b4fdd74a3490c35498de935ebf4f9b7c382.tar.xz |
riscv: don't export va_kernel_pa_offset in vmcoreinfo for XIP kernel
The crash utility uses va_kernel_pa_offset to translate virtual addresses.
This is incorrect in the case of XIP kernel, because va_kernel_pa_offset is
not the virtual-physical address offset (yes, the name is misleading; this
variable will be removed for XIP in a following commit).
Stop exporting this variable for XIP kernel. The replacement is to be
determined, note it as a TODO for now.
Signed-off-by: Nam Cao <namcao@linutronix.de>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/r/8f8760d3f9a11af4ea0acbc247e4f49ff5d317e9.1717789719.git.namcao@linutronix.de
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions