aboutsummaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2017-03-20Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-rtlsk-v4.4-17.09-rtlsk-v4.4-17.08-rtlsk-v4.4-17.07-rtlsk-v4.4-17.06-rtlsk-v4.4-17.05-rtlsk-v4.4-17.03-rtAlex Shi
2017-03-18Linux 4.4.55Greg Kroah-Hartman
2017-03-15Linux 4.4.54Greg Kroah-Hartman
2017-03-12Linux 4.4.53Greg Kroah-Hartman
2017-02-27Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-rtAlex Shi
2017-02-26Linux 4.4.52Greg Kroah-Hartman
2017-02-24Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-rtAlex Shi
2017-02-23Linux 4.4.51Greg Kroah-Hartman
2017-02-18Linux 4.4.50Greg Kroah-Hartman
2017-02-15Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-rtlsk-v4.4-17.02-rtAlex Shi
2017-02-14Linux 4.4.49Greg Kroah-Hartman
2017-02-10Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-rtAlex Shi
2017-02-09Linux 4.4.48Greg Kroah-Hartman
2017-02-06Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-rtAlex Shi
2017-02-04Linux 4.4.47Greg Kroah-Hartman
2017-02-04Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-rtAlex Shi
2017-02-01Linux 4.4.46Greg Kroah-Hartman
2017-01-26Linux 4.4.45Greg Kroah-Hartman
2017-01-22Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-rtAlex Shi
2017-01-20Linux 4.4.44Greg Kroah-Hartman
2017-01-16Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-rtAlex Shi
2017-01-15Linux 4.4.43Greg Kroah-Hartman
2017-01-13Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-rtAlex Shi
2017-01-12Linux 4.4.42Greg Kroah-Hartman
2017-01-10Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-rtAlex Shi
2017-01-09Linux 4.4.41Greg Kroah-Hartman
2017-01-09Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-rtAlex Shi
2017-01-06Linux 4.4.40Greg Kroah-Hartman
2016-12-20Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-rtAlex Shi
2016-12-15Linux 4.4.39Greg Kroah-Hartman
2016-12-12Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-rtlsk-v4.4-16.12-rtAlex Shi
2016-12-10Linux 4.4.38Greg Kroah-Hartman
2016-12-08Linux 4.4.37Greg Kroah-Hartman
2016-12-05Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-rtAlex Shi
2016-12-02Linux 4.4.36Greg Kroah-Hartman
2016-11-28Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-rtAlex Shi
2016-11-26Linux 4.4.35Greg Kroah-Hartman
2016-11-26kbuild: Steal gcc's pie from the very beginningBorislav Petkov
commit c6a385539175ebc603da53aafb7753d39089f32e upstream. So Sebastian turned off the PIE for kernel builds but that was too late - Kbuild.include already uses KBUILD_CFLAGS and trying to disable gcc options with, say cc-disable-warning, fails: gcc -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs ... -Wno-sign-compare -fno-asynchronous-unwind-tables -Wframe-address -c -x c /dev/null -o .31392.tmp /dev/null:1:0: error: code model kernel does not support PIC mode because that returns an error and we can't disable the warning. For example in this case: KBUILD_CFLAGS += $(call cc-disable-warning,frame-address,) which leads to gcc issuing all those warnings again. So let's turn off PIE/PIC at the earliest possible moment, when we declare KBUILD_CFLAGS so that cc-disable-warning picks it up too. Also, we need the $(call cc-option ...) because -fno-PIE is supported since gcc v3.4 and our lowest supported gcc version is 3.2 right now. Signed-off-by: Borislav Petkov <bp@suse.de> Cc: Ben Hutchings <ben@decadent.org.uk> Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Michal Marek <mmarek@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-11-26kbuild: add -fno-PIESebastian Andrzej Siewior
commit 8ae94224c9d72fc4d9aaac93b2d7833cf46d7141 upstream. Debian started to build the gcc with -fPIE by default so the kernel build ends before it starts properly with: |kernel/bounds.c:1:0: error: code model kernel does not support PIC mode Also add to KBUILD_AFLAGS due to: |gcc -Wp,-MD,arch/x86/entry/vdso/vdso32/.note.o.d … -mfentry -DCC_USING_FENTRY … vdso/vdso32/note.S |arch/x86/entry/vdso/vdso32/note.S:1:0: sorry, unimplemented: -mfentry isn’t supported for 32-bit in combination with -fpic Tagging it stable so it is possible to compile recent stable kernels as well. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Michal Marek <mmarek@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-11-25Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-rtAlex Shi
2016-11-21Linux 4.4.34Greg Kroah-Hartman
2016-11-18Linux 4.4.33Greg Kroah-Hartman
2016-11-17Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-rtAlex Shi
2016-11-15Linux 4.4.32Greg Kroah-Hartman
2016-11-10Linux 4.4.31Greg Kroah-Hartman
2016-11-10Disable "frame-address" warningLinus Torvalds
commit 124a3d88fa20e1869fc229d7d8c740cc81944264 upstream. Newer versions of gcc warn about the use of __builtin_return_address() with a non-zero argument when "-Wall" is specified: kernel/trace/trace_irqsoff.c: In function ‘stop_critical_timings’: kernel/trace/trace_irqsoff.c:433:86: warning: calling ‘__builtin_return_address’ with a nonzero argument is unsafe [-Wframe-address] stop_critical_timing(CALLER_ADDR0, CALLER_ADDR1); [ .. repeats a few times for other similar cases .. ] It is true that a non-zero argument is somewhat dangerous, and we do not actually have very many uses of that in the kernel - but the ftrace code does use it, and as Stephen Rostedt says: "We are well aware of the danger of using __builtin_return_address() of > 0. In fact that's part of the reason for having the "thunk" code in x86 (See arch/x86/entry/thunk_{64,32}.S). [..] it adds extra frames when tracking irqs off sections, to prevent __builtin_return_address() from accessing bad areas. In fact the thunk_32.S states: 'Trampoline to trace irqs off. (otherwise CALLER_ADDR1 might crash)'." For now, __builtin_return_address() with a non-zero argument is the best we can do, and the warning is not helpful and can end up making people miss other warnings for real problems. So disable the frame-address warning on compilers that need it. Acked-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-11-03Merge remote-tracking branch 'origin/linux-linaro-lsk-v4.4' into ↵Alex Shi
linux-linaro-lsk-v4.4-rt Conflicts: replace page_cache_tree_insert for workingset_shadow_nodes/__workingset_shadow_nodes, change in mm/filemap.c
2016-10-31Linux 4.4.30Greg Kroah-Hartman
2016-10-31Linux 4.4.29Greg Kroah-Hartman
2016-10-28Linux 4.4.28Greg Kroah-Hartman