summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2018-02-13Linux 4.9.81v4.9.81Greg Kroah-Hartman
2018-02-03Linux 4.9.80v4.9.80Greg Kroah-Hartman
2018-01-31Linux 4.9.79v4.9.79Greg Kroah-Hartman
2018-01-23Linux 4.9.78v4.9.78Greg Kroah-Hartman
2018-01-17Linux 4.9.77v4.9.77Greg Kroah-Hartman
2018-01-10Linux 4.9.76v4.9.76Greg Kroah-Hartman
2018-01-05Linux 4.9.75v4.9.75Greg Kroah-Hartman
2018-01-02Linux 4.9.74v4.9.74Greg Kroah-Hartman
2018-01-02kbuild: add '-fno-stack-check' to kernel build optionsLinus Torvalds
commit 3ce120b16cc548472f80cf8644f90eda958cf1b6 upstream. It appears that hardened gentoo enables "-fstack-check" by default for gcc. That doesn't work _at_all_ for the kernel, because the kernel stack doesn't act like a user stack at all: it's much smaller, and it doesn't auto-expand on use. So the extra "probe one page below the stack" code generated by -fstack-check just breaks the kernel in horrible ways, causing infinite double faults etc. [ I have to say, that the particular code gcc generates looks very stupid even for user space where it works, but that's a separate issue. ] Reported-and-tested-by: Alexander Tsoy <alexander@tsoy.me> Reported-and-tested-by: Toralf Förster <toralf.foerster@gmx.de> Cc: Dave Hansen <dave.hansen@intel.com> Cc: Jiri Kosina <jikos@kernel.org> Cc: Andy Lutomirski <luto@amacapital.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-12-29Linux 4.9.73v4.9.73Greg Kroah-Hartman
2017-12-25Linux 4.9.72v4.9.72Greg Kroah-Hartman
2017-12-20Linux 4.9.71v4.9.71Greg Kroah-Hartman
2017-12-16Linux 4.9.70v4.9.70Greg Kroah-Hartman
2017-12-16kbuild: do not call cc-option before KBUILD_CFLAGS initializationMasahiro Yamada
[ Upstream commit 433dc2ebe7d17dd21cba7ad5c362d37323592236 ] Some $(call cc-option,...) are invoked very early, even before KBUILD_CFLAGS, etc. are initialized. The returned string from $(call cc-option,...) depends on KBUILD_CPPFLAGS, KBUILD_CFLAGS, and GCC_PLUGINS_CFLAGS. Since they are exported, they are not empty when the top Makefile is recursively invoked. The recursion occurs in several places. For example, the top Makefile invokes itself for silentoldconfig. "make tinyconfig", "make rpm-pkg" are the cases, too. In those cases, the second call of cc-option from the same line runs a different shell command due to non-pristine KBUILD_CFLAGS. To get the same result all the time, KBUILD_* and GCC_PLUGINS_CFLAGS must be initialized before any call of cc-option. This avoids garbage data in the .cache.mk file. Move all calls of cc-option below the config targets because target compiler flags are unnecessary for Kconfig. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-12-14Linux 4.9.69v4.9.69Greg Kroah-Hartman
2017-12-09Linux 4.9.68v4.9.68Greg Kroah-Hartman
2017-12-05Linux 4.9.67v4.9.67Greg Kroah-Hartman
2017-11-30Linux 4.9.66v4.9.66Greg Kroah-Hartman
2017-11-24Linux 4.9.65v4.9.65Greg Kroah-Hartman
2017-11-21Linux 4.9.64v4.9.64Greg Kroah-Hartman
2017-11-18Linux 4.9.63v4.9.63Greg Kroah-Hartman
2017-11-15Linux 4.9.62v4.9.62Greg Kroah-Hartman
2017-11-08Linux 4.9.61v4.9.61Greg Kroah-Hartman
2017-11-02Linux 4.9.60v4.9.60Greg Kroah-Hartman
2017-10-27Linux 4.9.59v4.9.59Greg Kroah-Hartman
2017-10-21Linux 4.9.58v4.9.58Greg Kroah-Hartman
2017-10-18Linux 4.9.57v4.9.57Greg Kroah-Hartman
2017-10-12Linux 4.9.56v4.9.56Greg Kroah-Hartman
2017-10-12Linux 4.9.55v4.9.55Greg Kroah-Hartman
2017-10-08Linux 4.9.54v4.9.54Greg Kroah-Hartman
2017-10-05Linux 4.9.53v4.9.53Greg Kroah-Hartman
2017-09-27Linux 4.9.52v4.9.52Greg Kroah-Hartman
2017-09-20Linux 4.9.51v4.9.51Greg Kroah-Hartman
2017-09-13Linux 4.9.50v4.9.50Greg Kroah-Hartman
2017-09-10Linux 4.9.49v4.9.49Greg Kroah-Hartman
2017-09-07Linux 4.9.48v4.9.48Greg Kroah-Hartman
2017-09-02Linux 4.9.47v4.9.47Greg Kroah-Hartman
2017-08-30Linux 4.9.46v4.9.46Greg Kroah-Hartman
2017-08-24Linux 4.9.45v4.9.45Greg Kroah-Hartman
2017-08-16Linux 4.9.44v4.9.44Greg Kroah-Hartman
2017-08-12Linux 4.9.43v4.9.43Greg Kroah-Hartman
2017-08-11Linux 4.9.42v4.9.42Greg Kroah-Hartman
2017-08-06Linux 4.9.41v4.9.41Greg Kroah-Hartman
2017-07-27Linux 4.9.40v4.9.40Greg Kroah-Hartman
2017-07-27disable new gcc-7.1.1 warnings for nowLinus Torvalds
commit bd664f6b3e376a8ef4990f87d08271cc2d01ba9a upstream. I made the mistake of upgrading my desktop to the new Fedora 26 that comes with gcc-7.1.1. There's nothing wrong per se that I've noticed, but I now have 1500 lines of warnings, mostly from the new format-truncation warning triggering all over the tree. We use 'snprintf()' and friends in a lot of places, and often know that the numbers are fairly small (ie a controller index or similar), but gcc doesn't know that, and sees an 'int', and thinks that it could be some huge number. And then complains when our buffers are not able to fit the name for the ten millionth controller. These warnings aren't necessarily bad per se, and we probably want to look through them subsystem by subsystem, but at least during the merge window they just mean that I can't even see if somebody is introducing any *real* problems when I pull. So warnings disabled for now. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-07-214.9.39v4.9.39Greg Kroah-Hartman
2017-07-15Linux 4.9.38v4.9.38Greg Kroah-Hartman
2017-07-12Linux 4.9.37v4.9.37Greg Kroah-Hartman
2017-07-05Linux 4.9.36v4.9.36Greg Kroah-Hartman
2017-06-29Linux 4.9.35v4.9.35Greg Kroah-Hartman