Commit Graph

904 Commits

Author SHA1 Message Date
Stricted f5aa73ff5c Merge tag 'v3.10.57' into update
This is the 3.10.57 stable release
2018-03-21 22:28:46 +01:00
Stricted f29ec40f35 Merge tag 'v3.10.56' into update
This is the 3.10.56 stable release
2018-03-21 22:24:54 +01:00
Stricted b435043299 Merge tag 'v3.10.55' into update
This is the 3.10.55 stable release
2018-03-21 22:13:57 +01:00
Stricted b401bf7f60 cleanup Makefile 2018-03-19 17:45:11 +01:00
Stricted aff0800b51 remove useless makefiles and build script 2018-03-19 17:35:50 +01:00
Stricted 58f3798a01 ignore all warning
i dont really want fix this mess that mediatek did here to get a clean build log
so lets disable the warning for now instead
2018-03-19 14:56:05 +01:00
Stricted 6fa3eb70c0 import PULS_20160108 2018-03-13 20:29:02 +01:00
Greg Kroah-Hartman f41c15f2c9 Linux 3.10.57 2014-10-09 12:18:54 -07:00
Greg Kroah-Hartman 926719debf Linux 3.10.56 2014-10-05 14:54:30 -07:00
Greg Kroah-Hartman 339f8f37f0 Linux 3.10.55 2014-09-17 09:04:18 -07:00
Greg Kroah-Hartman a8d97b1bd0 Linux 3.10.54 2014-09-05 16:32:00 -07:00
Greg Kroah-Hartman 7f363d2d04 Linux 3.10.53 2014-08-14 09:24:29 +08:00
Greg Kroah-Hartman 4d36ba13d3 Linux 3.10.52 2014-08-07 14:42:40 -07:00
Greg Kroah-Hartman 10a622493d Linux 3.10.51 2014-07-31 14:55:39 -07:00
Linus Torvalds e1d8240bdd Fix gcc-4.9.0 miscompilation of load_balance() in scheduler
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-31 12:53:51 -07:00
Greg Kroah-Hartman 92488f4c9f Linux 3.10.50 2014-07-28 08:00:59 -07:00
Greg Kroah-Hartman d02dae430d Linux 3.10.49 2014-07-17 15:58:15 -07:00
Greg Kroah-Hartman d93efdcd51 Linux 3.10.48 2014-07-09 11:14:10 -07:00
Greg Kroah-Hartman 75dca41375 Linux 3.10.47 2014-07-06 18:55:56 -07:00
Greg Kroah-Hartman 5e9a2a3622 Linux 3.10.46 2014-06-30 20:09:54 -07:00
Greg Kroah-Hartman 7ab9233c18 Linux 3.10.45 2014-06-26 15:13:14 -04:00
Greg Kroah-Hartman 73eabc6d79 Linux 3.10.44 2014-06-16 13:43:06 -07:00
Greg Kroah-Hartman 853771148c Linux 3.10.43 2014-06-11 12:12:04 -07:00
Greg Kroah-Hartman c2f7eb8029 Linux 3.10.42 2014-06-07 13:48:31 -07:00
Greg Kroah-Hartman 72c0f41938 Linux 3.10.41 2014-05-31 12:41:04 -07:00
Greg Kroah-Hartman be67db1090 Linux 3.10.40 2014-05-13 14:00:04 +02:00
Greg Kroah-Hartman 5d897eedc5 Linux 3.10.39 2014-05-06 07:56:24 -07:00
Greg Kroah-Hartman bdec432297 Linux 3.10.38 2014-04-26 17:16:33 -07:00
Greg Kroah-Hartman f512eefd5c Linux 3.10.37 2014-04-14 06:42:31 -07:00
Greg Kroah-Hartman 8f0c10ea2e Linux 3.10.36 2014-04-03 12:01:22 -07:00
Greg Kroah-Hartman a2e124daef Linux 3.10.35 2014-03-31 09:58:38 -07:00
Greg Kroah-Hartman 10f8245e0d Linux 3.10.34 2014-03-23 21:42:03 -07:00
Greg Kroah-Hartman 6969595f01 Linux 3.10.33 2014-03-06 21:58:45 -08:00
Greg Kroah-Hartman 61dde96f97 Linux 3.10.32 2014-02-22 12:41:54 -08:00
Greg Kroah-Hartman a43e02cf87 Linux 3.10.31 2014-02-20 11:06:19 -08:00
Greg Kroah-Hartman 29b5f72099 Linux 3.10.30 2014-02-13 13:48:15 -08:00
Greg Kroah-Hartman 1569265782 Linux 3.10.29 2014-02-06 11:08:34 -08:00
Greg Kroah-Hartman 020abbc911 Linux 3.10.28 2014-01-25 08:27:55 -08:00
Greg Kroah-Hartman 1071ea6e68 Linux 3.10.27 2014-01-15 15:29:14 -08:00
Greg Kroah-Hartman 8b4ed85b84 Linux 3.10.26 2014-01-09 12:25:15 -08:00
Greg Kroah-Hartman 095f493c4d Linux 3.10.25 2013-12-20 07:45:26 -08:00
Greg Kroah-Hartman 05bcf8f867 Linux 3.10.24 2013-12-11 22:36:44 -08:00
Greg Kroah-Hartman 184c20bbc9 Linux 3.10.23 2013-12-08 08:17:21 -08:00
Greg Kroah-Hartman 538069756c Linux 3.10.22 2013-12-04 11:03:31 -08:00
Greg Kroah-Hartman 43d8b1ef82 Linux 3.10.21 2013-11-29 11:12:03 -08:00
Greg Kroah-Hartman a4c01ca3b7 Linux 3.10.20 2013-11-20 12:28:01 -08:00
Greg Kroah-Hartman 3729ed7c6a Linux 3.10.19 2013-11-13 12:05:59 +09:00
Greg Kroah-Hartman 4e77f7f126 Linux 3.10.18 2013-11-04 04:31:29 -08:00
Greg Kroah-Hartman 14e9c7db46 Linux 3.10.17 2013-10-18 10:44:19 -07:00
Greg Kroah-Hartman 7fc878164d Linux 3.10.16 2013-10-13 16:08:56 -07:00