]> Git Repo - linux.git/commit
compiler.h: Raise minimum version of GCC to 5.1 for arm64
authorWill Deacon <[email protected]>
Tue, 12 Jan 2021 22:48:32 +0000 (22:48 +0000)
committerCatalin Marinas <[email protected]>
Fri, 15 Jan 2021 10:04:49 +0000 (10:04 +0000)
commitdca5244d2f5b94f1809f0c02a549edf41ccd5493
tree4988f8af3e5e35f43e409e8fc2b1d053cfe827f9
parentc35a824c31834d947fb99b0c608c1b9f922b4ba0
compiler.h: Raise minimum version of GCC to 5.1 for arm64

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.

Life is too short for buggy compilers, so raise the minimum GCC version
required by arm64 to 5.1.

Reported-by: Russell King <[email protected]>
Suggested-by: Arnd Bergmann <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Tested-by: Nathan Chancellor <[email protected]>
Reviewed-by: Nick Desaulniers <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Acked-by: Linus Torvalds <[email protected]>
Cc: <[email protected]>
Cc: Theodore Ts'o <[email protected]>
Cc: Florian Weimer <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Nick Desaulniers <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
include/linux/compiler-gcc.h
This page took 0.046245 seconds and 4 git commands to generate.