Re: [PATCH 03/11] arm: Kconfig: enable KASan

From: Russell King - ARM Linux
Date: Thu Oct 19 2017 - 08:35:34 EST


On Wed, Oct 11, 2017 at 12:15:44PM -0700, Florian Fainelli wrote:
> On 10/11/2017 01:22 AM, Abbott Liu wrote:
> > From: Andrey Ryabinin <a.ryabinin@xxxxxxxxxxx>
> >
> > This patch enable kernel address sanitizer for arm.
> >
> > Cc: Andrey Ryabinin <a.ryabinin@xxxxxxxxxxx>
> > Signed-off-by: Abbott Liu <liuwenliang@xxxxxxxxxx>
>
> This needs to be the last patch in the series, otherwise you allow
> people between patch 3 and 11 to have varying degrees of experience with
> this patch series depending on their system type (LPAE or not, etc.)

As the series stands, if patches 1-3 are applied, and KASAN is enabled,
there are various constants that end up being undefined, and the kernel
build will fail. That is, of course, not acceptable.

KASAN must not be available until support for it is functionally
complete.

--
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 8.8Mbps down 630kbps up
According to speedtest.net: 8.21Mbps down 510kbps up