[PATCH v2 1/2] kasan/hw-tags: introduce kasan.store_only option

Yeoreum Yun yeoreum.yun at arm.com
Fri Aug 15 07:47:17 PDT 2025


[...]

> If we do something like mte_enable_kernel_asymm(), that one doesn't
> return any error, just fall back to the default mode.

But, in case of mte_enable_kernel_asymm() need return to
change kasan_flag_write_only = false when it doesn't support which
used in KASAN Kunit test.

If we don't return anything, when user set the write_only but HW doesn't
support it, KUNIT test get failure since kasan_write_only_enabled()
return true thou HW doesn't support it.

[...]

Thanks.
--
Sincerely,
Yeoreum Yun



More information about the linux-arm-kernel mailing list