[PATCH v8 30/43] arm64: kasan: Allow enabling in-kernel MTE
Vincenzo Frascino
vincenzo.frascino at arm.com
Fri Nov 6 06:11:21 EST 2020
Hi Catalin,
On 11/5/20 6:09 PM, Andrey Konovalov wrote:
>> Ah, I got there eventually in patch 38. Too many indirections ;) (I'm
>> sure we could have trimmed them down a bit, hw_init_tags ==
>> arch_init_tags == mte_init_tags).
> The idea with these indirections was to make hw_tags.c to not directly
> call MTE stuff and abstract away the underlying memory tagging
> implementation. We won't know for sure how fitting these abstractions
> are before we add another memory tagging implementation though :)
>
I agree with Andrey, because in future the sparc architecture might want to
support HW KASAN hence keeping a generic infrastructure adds some value.
--
Regards,
Vincenzo
More information about the linux-arm-kernel
mailing list