Commit Graph

48 Commits

Author SHA1 Message Date
Greg Kroah-Hartman
63a45138d2 Linux 4.4.218 2020-04-07 14:25:27 +02:00
Greg Kroah-Hartman
8fbe9b51e2 Linux 4.4.217 2020-04-07 14:13:46 +02:00
Greg Kroah-Hartman
93ffa8cd50 Linux 4.4.216 2020-04-07 14:10:53 +02:00
Greg Kroah-Hartman
a9614edd0e Linux 4.4.215 2020-04-07 14:04:05 +02:00
Greg Kroah-Hartman
21194fefdc Linux 4.4.214 2020-04-07 13:54:57 +02:00
Greg Kroah-Hartman
5da1687874 Linux 4.4.213 2020-04-07 13:49:11 +02:00
Greg Kroah-Hartman
5835450858 Linux 4.4.212 2020-04-07 13:45:17 +02:00
Greg Kroah-Hartman
9f8be04641 Linux 4.4.211 2020-04-07 13:39:03 +02:00
Greg Kroah-Hartman
ff71eecbaf Linux 4.4.210 2020-04-07 13:33:12 +02:00
Greg Kroah-Hartman
d861d75b84 Linux 4.4.209 2020-04-07 13:29:26 +02:00
Greg Kroah-Hartman
8b0cc478be Linux 4.4.208 2020-04-07 13:24:07 +02:00
Greg Kroah-Hartman
19abb702c6 Linux 4.4.207 2020-04-07 13:13:05 +02:00
Masahiro Yamada
2155b55921 kbuild: fix single target build for external module
[ Upstream commit e07db28eea38ed4e332b3a89f3995c86b713cb5b ]

Building a single target in an external module fails due to missing
.tmp_versions directory.

For example,

  $ make -C /lib/modules/$(uname -r)/build M=$PWD foo.o

will fail in the following way:

  CC [M]  /home/masahiro/foo/foo.o
/bin/sh: 1: cannot create /home/masahiro/foo/.tmp_versions/foo.mod: Directory nonexistent

This is because $(cmd_crmodverdir) is executed only before building
/, %/, %.ko single targets of external modules. Create .tmp_versions
in the 'prepare' target.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 12:45:19 +02:00
Greg Kroah-Hartman
f63cde1fbe Linux 4.4.206 2020-04-07 12:43:48 +02:00
Greg Kroah-Hartman
b5b85d1d64 Linux 4.4.205 2020-04-07 12:38:00 +02:00
Greg Kroah-Hartman
19595e2496 Linux 4.4.204 2020-04-07 12:37:56 +02:00
Greg Kroah-Hartman
0fd2e18f4a Linux 4.4.203 2020-04-07 12:33:32 +02:00
Greg Kroah-Hartman
6008540b57 Linux 4.4.202 2020-04-07 12:00:29 +02:00
Greg Kroah-Hartman
9252a841b7 Linux 4.4.201 2020-04-07 11:59:36 +02:00
Greg Kroah-Hartman
37b98af7f7 Linux 4.4.200 2020-04-07 09:57:58 +02:00
Seth Forshee
e938e0d0c6 kbuild: add -fcf-protection=none when using retpoline flags
[ Upstream commit 29be86d7f9cb18df4123f309ac7857570513e8bc ]

The gcc -fcf-protection=branch option is not compatible with
-mindirect-branch=thunk-extern. The latter is used when
CONFIG_RETPOLINE is selected, and this will fail to build with
a gcc which has -fcf-protection=branch enabled by default. Adding
-fcf-protection=none when building with retpoline enabled
prevents such build failures.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 09:28:49 +02:00
Greg Kroah-Hartman
44f1c418a5 Linux 4.4.199 2020-04-07 09:28:48 +02:00
Greg Kroah-Hartman
7374dd8501 Linux 4.4.198 2020-04-07 09:27:14 +02:00
Greg Kroah-Hartman
45368eb3f9 Linux 4.4.197 2020-04-07 08:15:57 +02:00
Greg Kroah-Hartman
748fe42afa Linux 4.4.196 2020-04-07 08:07:30 +02:00
Greg Kroah-Hartman
cb4f82eca1 Linux 4.4.195 2020-04-07 07:41:29 +02:00
Greg Kroah-Hartman
408d0bf8b8 Linux 4.4.194 2020-04-06 21:37:15 +02:00
Greg Kroah-Hartman
a3d726929c Linux 4.4.193 2020-04-06 21:35:07 +02:00
Greg Kroah-Hartman
5abd53de9a Linux 4.4.192 2020-04-06 21:34:47 +02:00
Greg Kroah-Hartman
9170951970 Linux 4.4.191 2020-04-06 21:34:00 +02:00
Greg Kroah-Hartman
49668bf67b Linux 4.4.190 2020-04-06 20:50:46 +02:00
Greg Kroah-Hartman
8c641ad9c3 Linux 4.4.189 2020-04-06 20:29:11 +02:00
Greg Kroah-Hartman
de18f2cf84 Linux 4.4.188 2020-04-06 20:27:49 +02:00
Greg Kroah-Hartman
1550aa4373 Linux 4.4.187 2020-04-06 20:26:35 +02:00
Greg Kroah-Hartman
4d560fc3e1 Linux 4.4.186 2020-04-06 19:31:31 +02:00
Greg Kroah-Hartman
1cb8b8a2db Linux 4.4.185 2020-04-06 19:25:59 +02:00
Linus Torvalds
9f6d6ed44f gcc-9: silence 'address-of-packed-member' warning
commit 6f303d60534c46aa1a239f29c321f95c83dda748 upstream.

We already did this for clang, but now gcc has that warning too.  Yes,
yes, the address may be unaligned.  And that's kind of the point.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-06 19:16:07 +02:00
Greg Kroah-Hartman
6d82bef59d Linux 4.4.184 2020-04-06 19:09:49 +02:00
Greg Kroah-Hartman
15696c01b3 Linux 4.4.183 2020-04-06 19:09:45 +02:00
Greg Kroah-Hartman
4177617ba4 Linux 4.4.182 2020-04-06 18:57:35 +02:00
Greg Kroah-Hartman
8156373325 Linux 4.4.181 2020-04-06 18:48:02 +02:00
Greg Kroah-Hartman
bb278f3792 Linux 4.4.180 2020-04-06 17:01:56 +02:00
Greg Kroah-Hartman
ce544df7ae Linux 4.4.179 2020-04-06 15:57:35 +02:00
Matthias Kaehlcke
01a2edce88 Revert "kbuild: use -Oz instead of -Os when using clang"
commit a75bb4eb9e565b9f5115e2e8c07377ce32cbe69a upstream.

The clang option -Oz enables *aggressive* optimization for size,
which doesn't necessarily result in smaller images, but can have
negative impact on performance. Switch back to the less aggressive
-Os.

This reverts commit 6748cb3c299de1ffbe56733647b01dbcc398c419.

Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-06 15:57:08 +02:00
Nick Desaulniers
45d1912bba kbuild: clang: choose GCC_TOOLCHAIN_DIR not on LD
commit ad15006cc78459d059af56729c4d9bed7c7fd860 upstream.

This causes an issue when trying to build with `make LD=ld.lld` if
ld.lld and the rest of your cross tools aren't in the same directory
(ex. /usr/local/bin) (as is the case for Android's build system), as the
GCC_TOOLCHAIN_DIR then gets set based on `which $(LD)` which will point
where LLVM tools are, not GCC/binutils tools are located.

Instead, select the GCC_TOOLCHAIN_DIR based on another tool provided by
binutils for which LLVM does not provide a substitute for, such as
elfedit.

Fixes: 785f11aa595b ("kbuild: Add better clang cross build support")
Link: https://github.com/ClangBuiltLinux/linux/issues/341
Suggested-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Tested-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-06 14:56:20 +02:00
Greg Kroah-Hartman
80331cc9e0 Linux 4.4.178 2020-04-06 13:03:47 +02:00
prashantpaddune
2e60ba4077 fix compile errors 2020-03-27 22:34:23 +05:30
prashantpaddune
3bca37f224 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30