- 08 Dec, 2018 2 commits
-
-
Greg Kroah-Hartman authored
-
Stephen Rothwell authored
commit 217c3e01 upstream. They are too noisy Signed-off-by:
Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- 05 Dec, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 01 Dec, 2018 2 commits
-
-
Greg Kroah-Hartman authored
-
Stefan Agner authored
commit ef8c4ed9 upstream. When using a GCC cross toolchain which is not in a compiled in Clang search path, Clang reverts to the system assembler and linker. This leads to assembler or linker errors, depending on which tool is first used for a given architecture. It seems that Clang is not searching $PATH for a matching assembler or linker. Make sure that Clang picks up the correct assembler or linker by passing the cross compilers bin directory as search path. This allows to use Clang provided by distributions with GCC toolchains not in /usr/bin. Link: https://github.com/ClangBuiltLinux/linux/issues/78 Signed-off-by:
Stefan Agner <stefan@agner.ch> Reviewed-and-tested-by:
Nick Desaulniers <ndesaulniers@google.com> Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> [nc: Adjust context] Signed-off-by:
Nathan Chancellor <natechancellor@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- 27 Nov, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 23 Nov, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 21 Nov, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 13 Nov, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 10 Nov, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 04 Nov, 2018 2 commits
-
-
Greg Kroah-Hartman authored
-
Stefan Agner authored
[ Upstream commit 0f0e8de3 ] In order to make sure compiler flag detection for ARM works correctly the no-integrated-as flags need to be set before including the arch specific Makefile. Fixes: cfe17c9b ("kbuild: move cc-option and cc-disable-warning after incl. arch Makefile") Signed-off-by:
Stefan Agner <stefan@agner.ch> Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by:
Sasha Levin <sashal@kernel.org>
-
- 20 Oct, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 18 Oct, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 13 Oct, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 10 Oct, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 04 Oct, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 29 Sep, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 26 Sep, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 19 Sep, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 15 Sep, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 09 Sep, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 05 Sep, 2018 2 commits
-
-
Greg Kroah-Hartman authored
-
Andy Lutomirski authored
commit 2e549b2e upstream. Currently, if the vDSO ends up containing an indirect branch or call, GCC will emit the "external thunk" style of retpoline, and it will fail to link. Fix it by building the vDSO with inline retpoline thunks. I haven't seen any reports of this triggering on an unpatched kernel. Fixes: commit 76b04384 ("x86/retpoline: Add initial retpoline support") Signed-off-by:
Andy Lutomirski <luto@kernel.org> Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Acked-by:
Matt Rickard <matt@softrans.com.au> Cc: Borislav Petkov <bp@alien8.de> Cc: Jason Vas Dias <jason.vas.dias@gmail.com> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Andi Kleen <ak@linux.intel.com> Cc: stable@vger.kernel.org Link: https://lkml.kernel.org/r/c76538cd3afbe19c6246c2d1715bc6a60bd63985.1534448381.git.luto@kernel.org Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- 24 Aug, 2018 2 commits
-
-
Greg Kroah-Hartman authored
-
Masahiro Yamada authored
[ Upstream commit 6d79a7b4 ] Suppress warnings for systems that do not recognize LFS_*. getconf: no such configuration parameter `LFS_CFLAGS' getconf: no such configuration parameter `LFS_LDFLAGS' getconf: no such configuration parameter `LFS_LIBS' Fixes: d7f14c66 ("kbuild: Enable Large File Support for hostprogs") Reported-by:
Chen Feng <puck.chen@hisilicon.com> Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by:
Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by:
Sasha Levin <alexander.levin@microsoft.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- 22 Aug, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 18 Aug, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 17 Aug, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 15 Aug, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 09 Aug, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 06 Aug, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 03 Aug, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 28 Jul, 2018 2 commits
-
-
Greg Kroah-Hartman authored
-
Arnd Bergmann authored
Starting with gcc-8.1, we get a warning about all system call definitions, which use an alias between functions with incompatible prototypes, e.g.: In file included from ../mm/process_vm_access.c:19: ../include/linux/syscalls.h:211:18: warning: 'sys_process_vm_readv' alias between functions of incompatible types 'long int(pid_t, const struct iovec *, long unsigned int, const struct iovec *, long unsigned int, long unsigned int)' {aka 'long int(int, const struct iovec *, long unsigned int, const struct iovec *, long unsigned int, long unsigned int)'} and 'long int(long int, long int, long int, long int, long int, long int)' [-Wattribute-alias] asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ ^~~ ../include/linux/syscalls.h:207:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ ../include/linux/syscalls.h:201:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ ../mm/process_vm_access.c:300:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(process_vm_readv, pid_t, pid, const struct iovec __user *, lvec, ^~~~~~~~~~~~~~~ ../include/linux/syscalls.h:215:18: note: aliased declaration here asmlinkage long SyS##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \ ^~~ ../include/linux/syscalls.h:207:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ ../include/linux/syscalls.h:201:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ ../mm/process_vm_access.c:300:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(process_vm_readv, pid_t, pid, const struct iovec __user *, lvec, This is really noisy and does not indicate a real problem. In the latest mainline kernel, this was addressed by commit bee20031 ("disable -Wattribute-alias warning for SYSCALL_DEFINEx()"), which seems too invasive to backport. This takes a much simpler approach and just disables the warning across the kernel. Signed-off-by:
Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- 25 Jul, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 22 Jul, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 17 Jul, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 11 Jul, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 08 Jul, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-