Re: [PATCH v8 04/14] x86/kasan: Add arch specific kasan functions

From: Andrey Ryabinin

Date: Fri Jan 16 2026 - 08:36:13 EST




On 1/12/26 6:27 PM, Maciej Wieczor-Retman wrote:
> From: Maciej Wieczor-Retman <maciej.wieczor-retman@xxxxxxxxx>
>
> KASAN's software tag-based mode needs multiple macros/functions to
> handle tag and pointer interactions - to set, retrieve and reset tags
> from the top bits of a pointer.
>
> Mimic functions currently used by arm64 but change the tag's position to
> bits [60:57] in the pointer.
>
> Signed-off-by: Maciej Wieczor-Retman <maciej.wieczor-retman@xxxxxxxxx>
> ---

Reviewed-by: Andrey Ryabinin <ryabinin.a.a@xxxxxxxxx>