diff options
| author | Alexandre Ghiti <[email protected]> | 2022-02-25 12:39:51 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2022-03-03 23:32:41 +0000 |
| commit | c648c4bb7d02ceb53ee40172fdc4433b37cee9c6 (patch) | |
| tree | e67d89772dabc9fb768684f51f3a796a88cc8a25 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | riscv: Fix DEBUG_VIRTUAL false warnings (diff) | |
| download | kernel-c648c4bb7d02ceb53ee40172fdc4433b37cee9c6.tar.gz kernel-c648c4bb7d02ceb53ee40172fdc4433b37cee9c6.zip | |
riscv: Fix config KASAN && DEBUG_VIRTUAL
__virt_to_phys function is called very early in the boot process (ie
kasan_early_init) so it should not be instrumented by KASAN otherwise it
bugs.
Fix this by declaring phys_addr.c as non-kasan instrumentable.
Signed-off-by: Alexandre Ghiti <[email protected]>
Fixes: 8ad8b72721d0 (riscv: Add KASAN support)
Cc: [email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
