[PATCH v2 13/37] kasan, arm64: only use kasan_depth for software modes
catalin.marinas at arm.com
Thu Sep 17 13:05:11 EDT 2020
On Tue, Sep 15, 2020 at 11:15:55PM +0200, Andrey Konovalov wrote:
> This is a preparatory commit for the upcoming addition of a new hardware
> tag-based (MTE-based) KASAN mode.
> Hardware tag-based KASAN won't use kasan_depth. Only define and use it
> when one of the software KASAN modes are enabled.
> No functional changes for software modes.
> Signed-off-by: Andrey Konovalov <andreyknvl at google.com>
> Signed-off-by: Vincenzo Frascino <vincenzo.frascino at arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas at arm.com>
More information about the linux-arm-kernel