]> Git Repo - linux.git/commit
riscv: Enable bitops instrumentation
authorSamuel Holland <[email protected]>
Thu, 1 Aug 2024 03:37:00 +0000 (20:37 -0700)
committerPalmer Dabbelt <[email protected]>
Thu, 19 Sep 2024 08:10:04 +0000 (01:10 -0700)
commit77514915b72c51ebc1c30a67a54d4a90ca2a4a39
treeea74d1f2a6d099ea216e5b17773d61b91f28c44d
parent58ff537109ac863d4ec83baf8413b17dcc10101c
riscv: Enable bitops instrumentation

Instead of implementing the bitops functions directly in assembly,
provide the arch_-prefixed versions and use the wrappers from
asm-generic to add instrumentation. This improves KASAN coverage and
fixes the kasan_bitops_generic() unit test.

Signed-off-by: Samuel Holland <[email protected]>
Reviewed-by: Alexandre Ghiti <[email protected]>
Tested-by: Alexandre Ghiti <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
arch/riscv/include/asm/bitops.h
This page took 0.054138 seconds and 4 git commands to generate.