[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aGfZwTCNO_10Ceng@J2N7QTR9R3>
Date: Fri, 4 Jul 2025 14:40:17 +0100
From: Mark Rutland <mark.rutland@....com>
To: Will Deacon <will@...nel.org>
Cc: Breno Leitao <leitao@...ian.org>, Ard Biesheuvel <ardb@...nel.org>,
Catalin Marinas <catalin.marinas@....com>, usamaarif642@...il.com,
rmikey@...a.com, andreyknvl@...il.com, kasan-dev@...glegroups.com,
linux-efi@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, kernel-team@...a.com
Subject: Re: [PATCH] arm64: efi: Fix KASAN false positive for EFI runtime
stack
On Fri, Jul 04, 2025 at 02:33:35PM +0100, Will Deacon wrote:
> I would actually like to select VMAP_STACK unconditionally for arm64.
> Historically, we were held back waiting for all the various KASAN modes
> to support vmalloc properly, but I _think_ that's fixed now...
>
> The VMAP_STACK dependency is:
>
> depends on !KASAN || KASAN_HW_TAGS || KASAN_VMALLOC
>
> and in arm64 we have:
>
> select KASAN_VMALLOC if KASAN
>
> so it should be fine to select it afaict.
>
> Any reason not to do that?
Not that I am aware of.
I'm also in favour of unconditionally selecting VMAP_STACK.
Mark.
Powered by blists - more mailing lists