Commit 5ca0583c authored by Vincenzo Frascino's avatar Vincenzo Frascino
Browse files

arm64: mte: Enable CONFIG_KASAN_HW_TAGS



Select KASAN_HW_TAGS when MTE is enabled via config option.

This option enables the Tag-Based KASAN for arm64.
Signed-off-by: Vincenzo Frascino's avatarVincenzo Frascino <vincenzo.frascino@arm.com>
parent 0080a605
......@@ -1675,6 +1675,10 @@ config ARM64_MTE
default y
depends on ARM64_AS_HAS_MTE && ARM64_TAGGED_ADDR_ABI
select ARCH_USES_HIGH_VMA_FLAGS
select HAVE_ARCH_KASAN_HW_TAGS
select HAVE_ARCH_KASAN_VMALLOC
select CC_HAS_KASAN_HW_TAGS
select KASAN_HW_TAGS
help
Memory Tagging (part of the ARMv8.5 Extensions) provides
architectural support for run-time, always-on detection of
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment