[PATCH] compiler.h: Raise minimum version of GCC to 5.1 for arm64

Masahiro Yamada masahiroy at kernel.org
Wed Jan 13 12:57:17 EST 2021


On Thu, Jan 14, 2021 at 1:08 AM Catalin Marinas <catalin.marinas at arm.com> wrote:
>
> On Tue, 12 Jan 2021 22:48:32 +0000, Will Deacon wrote:
> > GCC versions >= 4.9 and < 5.1 have been shown to emit memory references
> > beyond the stack pointer, resulting in memory corruption if an interrupt
> > is taken after the stack pointer has been adjusted but before the
> > reference has been executed. This leads to subtle, infrequent data
> > corruption such as the EXT4 problems reported by Russell King at the
> > link below.
> >
> > [...]
>
> Applied to arm64 (for-next/fixes), thanks!
>
> [1/1] compiler.h: Raise minimum version of GCC to 5.1 for arm64
>       https://git.kernel.org/arm64/c/1f1244a5ddb7
>
> --
> Catalin
>


Maybe, we can raise the minimal version to gcc 5.1
for all architectures.


-- 
Best Regards
Masahiro Yamada



More information about the linux-arm-kernel mailing list