- 06 Feb, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 31 Jan, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 26 Jan, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 23 Jan, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 16 Jan, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 13 Jan, 2019 5 commits
-
-
Greg Kroah-Hartman authored
-
Joel Stanley authored
commit 3bd98050 upstream. The powerpc makefile will use these in it's boot wrapper. Signed-off-by:
Joel Stanley <joel@jms.id.au> Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by:
Nathan Chancellor <natechancellor@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Masahiro Yamada authored
commit 238bcbc4 upstream. Collect basic Clang options such as --target, --prefix, --gcc-toolchain, -no-integrated-as into a single variable CLANG_FLAGS so that it can be easily reused in other parts of Makefile. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by:
Nick Desaulniers <ndesaulniers@google.com> Tested-by:
Nick Desaulniers <ndesaulniers@google.com> Acked-by:
Greg Hackmann <ghackmann@google.com> Signed-off-by:
Nathan Chancellor <natechancellor@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Masahiro Yamada authored
commit dbe27a00 upstream. We are still a way off the Clang's integrated assembler support for the kernel. Hence, -no-integrated-as is mandatory to build the kernel with Clang. If you had an ancient version of Clang that does not recognize this option, you would not be able to compile the kernel anyway. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by:
Nick Desaulniers <ndesaulniers@google.com> Tested-by:
Nick Desaulniers <ndesaulniers@google.com> Signed-off-by:
Nathan Chancellor <natechancellor@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Masahiro Yamada authored
[ Upstream commit ef7cfd00 ] For the same reason as commit 25896d07 ("x86/build: Fix compiler support check for CONFIG_RETPOLINE"), you cannot put this $(error ...) into the parse stage of the top Makefile. Perhaps I'd propose a more sophisticated solution later, but this is the best I can do for now. Link: https://lkml.org/lkml/2017/12/25/211 Reported-by:
Paul Gortmaker <paul.gortmaker@windriver.com> Reported-by:
Bernd Edlinger <bernd.edlinger@hotmail.de> Reported-by:
Qian Cai <cai@lca.pw> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Tested-by:
Qian Cai <cai@lca.pw> Signed-off-by:
Sasha Levin <sashal@kernel.org>
-
- 09 Jan, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 29 Dec, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 21 Dec, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 17 Dec, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 13 Dec, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 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 1 commit
-
-
Greg Kroah-Hartman authored
-