Re: [PATCH v2 23/37] arm64: kasan: Add arch layer for memory tagging helpers
From: Catalin Marinas
Date: Thu Sep 17 2020 - 13:06:28 EST
On Tue, Sep 15, 2020 at 11:16:05PM +0200, Andrey Konovalov wrote:
> This patch add a set of arch_*() memory tagging helpers currently only
> defined for arm64 when hardware tag-based KASAN is enabled. These helpers
> will be used by KASAN runtime to implement the hardware tag-based mode.
>
> The arch-level indirection level is introduced to simplify adding hardware
> tag-based KASAN support for other architectures in the future by defining
> the appropriate arch_*() macros.
>
> Signed-off-by: Andrey Konovalov <andreyknvl@xxxxxxxxxx>
> Co-developed-by: Vincenzo Frascino <vincenzo.frascino@xxxxxxx>
> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@xxxxxxx>
Reviewed-by: Catalin Marinas <catalin.marinas@xxxxxxx>