diff options
author | Nick Hu <[email protected]> | 2021-01-13 10:24:10 +0800 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2021-01-13 20:50:11 -0800 |
commit | c25a053e15778f6b4d6553708673736e27a6c2cf (patch) | |
tree | 8da5cfab4dd7dfeeddaff02ddb2eccd87d42704b /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 0aa2ec8a475fb505fd98d93bbcf4e03beeeebcb6 (diff) |
riscv: Fix KASAN memory mapping.
Use virtual address instead of physical address when translating
the address to shadow memory by kasan_mem_to_shadow().
Signed-off-by: Nick Hu <[email protected]>
Signed-off-by: Nylon Chen <[email protected]>
Fixes: b10d6bca8720 ("arch, drivers: replace for_each_membock() with for_each_mem_range()")
Cc: [email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions