summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2015-02-04LTSI Makefile additionGreg Kroah-Hartman1-1/+1
Change the extra version to have -ltsi to have a chance to realize what kernel version we are using. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-01-08Linux 3.14.28v3.14.28Greg Kroah-Hartman1-1/+1
2014-12-16Linux 3.14.27v3.14.27Greg Kroah-Hartman1-1/+1
2014-12-06Linux 3.14.26v3.14.26Greg Kroah-Hartman1-1/+1
2014-11-21Linux 3.14.25v3.14.25Greg Kroah-Hartman1-1/+1
2014-11-14Linux 3.14.24v3.14.24Greg Kroah-Hartman1-1/+1
2014-10-30Linux 3.14.23v3.14.23Greg Kroah-Hartman1-1/+1
2014-10-15Linux 3.14.22v3.14.22Greg Kroah-Hartman1-1/+1
2014-10-09Linux 3.14.21v3.14.21Greg Kroah-Hartman1-1/+1
2014-10-05Linux 3.14.20v3.14.20Greg Kroah-Hartman1-1/+1
2014-09-17Linux 3.14.19v3.14.19Greg Kroah-Hartman1-1/+1
2014-09-05Linux 3.14.18v3.14.18Greg Kroah-Hartman1-1/+1
2014-08-14Linux 3.14.17v3.14.17Greg Kroah-Hartman1-1/+1
2014-08-07Linux 3.14.16v3.14.16Greg Kroah-Hartman1-1/+1
2014-07-31Linux 3.14.15v3.14.15Greg Kroah-Hartman1-1/+1
2014-07-31Fix gcc-4.9.0 miscompilation of load_balance() in schedulerLinus Torvalds1-0/+2
commit 2062afb4f804afef61cbe62a30cac9a46e58e067 upstream. Michel Dänzer and a couple of other people reported inexplicable random oopses in the scheduler, and the cause turns out to be gcc mis-compiling the load_balance() function when debugging is enabled. The gcc bug apparently goes back to gcc-4.5, but slight optimization changes means that it now showed up as a problem in 4.9.0 and 4.9.1. The instruction scheduling problem causes gcc to schedule a spill operation to before the stack frame has been created, which in turn can corrupt the spilled value if an interrupt comes in. There may be other effects of this bug too, but that's the code generation problem seen in Michel's case. This is fixed in current gcc HEAD, but the workaround as suggested by Markus Trippelsdorf is pretty simple: use -fno-var-tracking-assignments when compiling the kernel, which disables the gcc code that causes the problem. This can result in slightly worse debug information for variable accesses, but that is infinitely preferable to actual code generation problems. Doing this unconditionally (not just for CONFIG_DEBUG_INFO) also allows non-debug builds to verify that the debug build would be identical: we can do export GCC_COMPARE_DEBUG=1 to make gcc internally verify that the result of the build is independent of the "-g" flag (it will make the compiler build everything twice, toggling the debug flag, and compare the results). Without the "-fno-var-tracking-assignments" option, the build would fail (even with 4.8.3 that didn't show the actual stack frame bug) with a gcc compare failure. See also gcc bugzilla: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61801 Reported-by: Michel Dänzer <michel@daenzer.net> Suggested-by: Markus Trippelsdorf <markus@trippelsdorf.de> Cc: Jakub Jelinek <jakub@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-28Linux 3.14.14v3.14.14Greg Kroah-Hartman1-1/+1
2014-07-17Linux 3.14.13v3.14.13Greg Kroah-Hartman1-1/+1
2014-07-09Linux 3.14.12v3.14.12Greg Kroah-Hartman1-1/+1
2014-07-06Linux 3.14.11v3.14.11Greg Kroah-Hartman1-1/+1
2014-06-30Linux 3.14.10v3.14.10Greg Kroah-Hartman1-1/+1
2014-06-26Linux 3.14.9v3.14.9Greg Kroah-Hartman1-1/+1
2014-06-16Linux 3.14.8v3.14.8Greg Kroah-Hartman1-1/+1
2014-06-11Linux 3.14.7v3.14.7Greg Kroah-Hartman1-1/+1
2014-06-07Linux 3.14.6v3.14.6Greg Kroah-Hartman1-1/+1
2014-05-31Linux 3.14.5v3.14.5Greg Kroah-Hartman1-2/+2
2014-05-13Linux 3.14.4v3.14.4Greg Kroah-Hartman1-1/+1
2014-05-06Linux 3.14.3v3.14.3Greg Kroah-Hartman1-1/+1
2014-04-26Linux 3.14.2v3.14.2Greg Kroah-Hartman1-1/+1
2014-04-14Linux 3.14.1v3.14.1Greg Kroah-Hartman1-1/+1
2014-03-30Linux 3.14v3.14Linus Torvalds1-1/+1
2014-03-24Linux 3.14-rc8v3.14-rc8Linus Torvalds1-1/+1
2014-03-16Linux 3.14-rc7v3.14-rc7Linus Torvalds1-1/+1
2014-03-09Linux 3.14-rc6v3.14-rc6Linus Torvalds1-1/+1
2014-03-02Linux 3.14-rc5v3.14-rc5Linus Torvalds1-1/+1
2014-02-25Makefile: fix build with make 3.80 againJan Beulich1-2/+4
According to Documentation/Changes, make 3.80 is still being supported for building the kernel, hence make files must not make (unconditional) use of features introduced only in newer versions. Commit 8779657d29c0 ("stackprotector: Introduce CONFIG_CC_STACKPROTECTOR_STRONG") however introduced an "else ifdef" construct which make 3.80 doesn't understand. Also correct a warning message still referencing the old config option name. Apart from that I question the use of "ifdef" here (but it was used that way already prior to said commit): ifeq (,y) would seem more to the point. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Kees Cook <keescook@chromium.org> Cc: Ingo Molnar <mingo@kernel.org> Cc: Michal Marek <mmarek@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-02-25Makefile: fix extra parenthesis typo when CC_STACKPROTECTOR_REGULAR is enabledFathi Boudra1-1/+1
An extra parenthesis typo introduced in 19952a92037e ("stackprotector: Unify the HAVE_CC_STACKPROTECTOR logic between architectures") is causing the following error when CONFIG_CC_STACKPROTECTOR_REGULAR is enabled: Makefile:608: Cannot use CONFIG_CC_STACKPROTECTOR: -fstack-protector not supported by compiler Makefile:608: *** missing separator. Stop. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Acked-by: Kees Cook <keescook@chromium.org> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-02-23Linux 3.14-rc4v3.14-rc4Linus Torvalds1-1/+1
2014-02-16Linux 3.14-rc3v3.14-rc3Linus Torvalds1-1/+1
2014-02-09Linux 3.14-rc2v3.14-rc2Linus Torvalds1-1/+1
2014-02-02Linus 3.14-rc1v3.14-rc1Linus Torvalds1-3/+3
2014-01-30Merge branch 'drop-time' of ↵Linus Torvalds1-0/+3
git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild Pull __TIME__/__DATE__ removal from Michal Marek: "This series by Josh finishes the removal of __DATE__ and __TIME__ from the kernel. The last patch adds -Werror=date-time to KBUILD_CFLAGS to stop these from reappearing. Part of the series went through Greg's trees during this merge window, which is why this pull request is not based on v3.13-rc1" * 'drop-time' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild: Makefile: Build with -Werror=date-time if the compiler supports it x86: math-emu: Drop already-disabled print of build date net: wireless: brcm80211: Drop debug version with build date/time mtd: denali: Drop print of build date/time
2014-01-30Merge branch 'kbuild' of ↵Linus Torvalds1-1/+7
git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild Pull kbuild changes from Michal Marek: - fix make -s detection with make-4.0 - fix for scripts/setlocalversion when the kernel repository is a submodule - do not hardcode ';' in macros that expand to assembler code, as some architectures' assemblers use a different character for newline - Fix passing --gdwarf-2 to the assembler * 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild: frv: Remove redundant debugging info flag mn10300: Remove redundant debugging info flag kbuild: Fix debugging info generation for .S files arch: use ASM_NL instead of ';' for assembler new line character in the macro kbuild: Fix silent builds with make-4 Fix detectition of kernel git repository in setlocalversion script [take #2]
2014-01-27Makefile: Build with -Werror=date-time if the compiler supports itJosh Triplett1-0/+3
GCC 4.9 and newer have a new warning -Wdate-time, which warns on any use of __DATE__, __TIME__, or __TIMESTAMP__, which would make the build non-deterministic. Now that the kernel does not use any of those macros, turn on -Werror=date-time if available, to keep it that way. The kernel already (optionally) records this information at build time in a single place; other kernel code should not duplicate that. Signed-off-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Michal Marek <mmarek@suse.cz>
2014-01-27kbuild: Fix debugging info generation for .S filesGeoff Levand1-1/+1
Change the debuging info generation flag in KBUILD_AFLAGS from '-gdwarf-2' to '-Wa,--gdwarf-2'. This will properly generate the debugging info for .S files when CONFIG_DEBUG_INFO=y. It seems current gcc does not pass a '--gdwarf-2' option on to the assembler when '-gdwarf-2' is on its command line (note the differece in the gcc and as flags). This change provides the correct assembler flag to gcc, and so does not rely on gcc to emit a flag for the assembler. Signed-off-by: Geoff Levand <geoff@infradead.org> for Huawei, Linaro Signed-off-by: Michal Marek <mmarek@suse.cz>
2014-01-20Merge branch 'core-stackprotector-for-linus' of ↵Linus Torvalds1-3/+17
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip Pull strong stackprotector support from Ingo Molnar: "This tree adds a CONFIG_CC_STACKPROTECTOR_STRONG=y, a new, stronger stack canary checking method supported by the newest GCC versions (4.9 and later). Here's the 'intensity comparison' between the various protection modes: - defconfig 11430641 kernel text size 36110 function bodies - defconfig + CONFIG_CC_STACKPROTECTOR_REGULAR 11468490 kernel text size (+0.33%) 1015 of 36110 functions are stack-protected (2.81%) - defconfig + CONFIG_CC_STACKPROTECTOR_STRONG via this patch 11692790 kernel text size (+2.24%) 7401 of 36110 functions are stack-protected (20.5%) the strong model comes with non-trivial costs, which is why we preserved the 'regular' and 'none' models as well" * 'core-stackprotector-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: stackprotector: Introduce CONFIG_CC_STACKPROTECTOR_STRONG stackprotector: Unify the HAVE_CC_STACKPROTECTOR logic between architectures
2014-01-19Linux 3.13v3.13Linus Torvalds1-1/+1
2014-01-12Linux 3.13-rc8v3.13-rc8Linus Torvalds1-1/+1
2014-01-06kbuild: Fix silent builds with make-4Emil Medve1-0/+6
make-4 changed the way/order it presents the command line options into MAKEFLAGS In make-3.8x, '-s' would always be first into a group of options with the '-'/hyphen removed $ make -p -s 2>/dev/null | grep ^MAKEFLAGS MAKEFLAGS = sp In make-4, '-s' seems to always be last into a group of options with the '-'/hyphen removed $ make -s -p 2>/dev/null | grep ^MAKEFLAGS MAKEFLAGS = ps Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
2014-01-04Linux 3.13-rc7v3.13-rc7Linus Torvalds1-1/+1