diff options
author | Liu Shixin <[email protected]> | 2021-06-15 11:07:34 +0800 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2021-06-30 20:55:41 -0700 |
commit | 47513f243b452a5e21180dcf3d6ac1c57e1781a6 (patch) | |
tree | aa27c8636f678455c2ece08ee1f5caf8d2e8854f /scripts/gdb/linux/tasks.py | |
parent | f627476e8f1a15495fb363e4a25f495460e8c969 (diff) |
riscv: Enable KFENCE for riscv64
Add architecture specific implementation details for KFENCE and enable
KFENCE for the riscv64 architecture. In particular, this implements the
required interface in <asm/kfence.h>.
KFENCE requires that attributes for pages from its memory pool can
individually be set. Therefore, force the kfence pool to be mapped at
page granularity.
Testing this patch using the testcases in kfence_test.c and all passed.
Signed-off-by: Liu Shixin <[email protected]>
Acked-by: Marco Elver <[email protected]>
Reviewed-by: Kefeng Wang <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions