Commit graph

1603 commits

Author SHA1 Message Date
Greg Kroah-Hartman
dda0e29203 Linux 4.19.114 2020-04-02 15:28:25 +02:00
Greg Kroah-Hartman
54b4fa6d39 Linux 4.19.113 2020-03-25 08:06:15 +01:00
Greg Kroah-Hartman
14cfdbd39e Linux 4.19.112 2020-03-20 11:56:00 +01:00
Greg Kroah-Hartman
93556fb211 Linux 4.19.111 2020-03-18 07:14:26 +01:00
Greg Kroah-Hartman
339485c9a8 Linux 4.19.110 2020-03-16 09:52:03 +01:00
Greg Kroah-Hartman
5692097116 Linux 4.19.109 2020-03-11 14:15:13 +01:00
Greg Kroah-Hartman
7472c4028e Linux 4.19.108 2020-03-05 16:42:23 +01:00
Greg Kroah-Hartman
a083db7611 Linux 4.19.107 2020-02-28 16:39:01 +01:00
Greg Kroah-Hartman
f25804f389 Linux 4.19.106 2020-02-24 08:34:54 +01:00
Greg Kroah-Hartman
4fccc25035 Linux 4.19.105 2020-02-19 19:51:59 +01:00
Greg Kroah-Hartman
9b15f7fae6 Linux 4.19.104 2020-02-14 16:33:28 -05:00
Greg Kroah-Hartman
357668399c Linux 4.19.103 2020-02-11 04:34:19 -08:00
Greg Kroah-Hartman
b499cf4b3a Linux 4.19.102 2020-02-05 14:43:55 +00:00
Greg Kroah-Hartman
32ee7492f1 Linux 4.19.101 2020-02-01 09:37:12 +00:00
Greg Kroah-Hartman
7cdefde351 Linux 4.19.100 2020-01-29 16:43:27 +01:00
Greg Kroah-Hartman
88d6de67e3 Linux 4.19.99 2020-01-27 14:51:23 +01:00
Masahiro Yamada
ed94750a2e kbuild: mark prepare0 as PHONY to fix external module build
[ Upstream commit e00d8880481497474792d28c14479a9fb6752046 ]

Commit c3ff2a5193fa ("powerpc/32: add stack protector support")
caused kernel panic on PowerPC when an external module is used with
CONFIG_STACKPROTECTOR because the 'prepare' target was not executed
for the external module build.

Commit e07db28eea38 ("kbuild: fix single target build for external
module") turned it into a build error because the 'prepare' target is
now executed but the 'prepare0' target is missing for the external
module build.

External module on arm/arm64 with CONFIG_STACKPROTECTOR_PER_TASK is
also broken in the same way.

Move 'PHONY += prepare0' to the common place. GNU Make is fine with
missing rule for phony targets. I also removed the comment which is
wrong irrespective of this commit.

I minimize the change so it can be easily backported to 4.20.x

To fix v4.20, please backport e07db28eea38 ("kbuild: fix single target
build for external module"), and then this commit.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=201891
Fixes: e07db28eea38 ("kbuild: fix single target build for external module")
Fixes: c3ff2a5193fa ("powerpc/32: add stack protector support")
Fixes: 189af4657186 ("ARM: smp: add support for per-task stack canaries")
Fixes: 0a1213fa7432 ("arm64: enable per-task stack canaries")
Cc: linux-stable <stable@vger.kernel.org> # v4.20
Reported-by: Samuel Holland <samuel@sholland.org>
Reported-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Tested-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-27 14:50:13 +01:00
Greg Kroah-Hartman
d183c8e264 Linux 4.19.98 2020-01-23 08:21:39 +01:00
Greg Kroah-Hartman
dc4ba5be1b Linux 4.19.97 2020-01-17 19:47:17 +01:00
Greg Kroah-Hartman
db5b9190ff Linux 4.19.96 2020-01-14 20:07:09 +01:00
Greg Kroah-Hartman
dcd8889835 Linux 4.19.95 2020-01-12 12:17:30 +01:00
Greg Kroah-Hartman
cb1f9a169a Linux 4.19.94 2020-01-09 10:19:10 +01:00
Greg Kroah-Hartman
3d40d7117e Linux 4.19.93 2020-01-04 19:13:46 +01:00
Greg Kroah-Hartman
c7ecf3e3a7 Linux 4.19.92 2019-12-31 16:36:37 +01:00
Greg Kroah-Hartman
672481c2de Linux 4.19.91 2019-12-21 10:57:45 +01:00
Greg Kroah-Hartman
7d120bf21c Linux 4.19.90 2019-12-17 20:36:04 +01:00
Greg Kroah-Hartman
312017a460 Linux 4.19.89 2019-12-13 08:52:59 +01:00
Masahiro Yamada
f7a5ed083e 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>
2019-12-13 08:52:21 +01:00
Greg Kroah-Hartman
fb683b5e3f Linux 4.19.88 2019-12-05 09:21:36 +01:00
Greg Kroah-Hartman
174651bdf8 Linux 4.19.87 2019-12-01 09:17:47 +01:00
Greg Kroah-Hartman
14260788bb Linux 4.19.86 2019-11-24 08:21:09 +01:00
Greg Kroah-Hartman
c63ee2939d Linux 4.19.85 2019-11-20 18:47:54 +01:00
Greg Kroah-Hartman
c555efaf14 Linux 4.19.84 2019-11-12 19:21:46 +01:00
Greg Kroah-Hartman
7d8dbefc22 Linux 4.19.83 2019-11-10 11:27:57 +01:00
Seth Forshee
b17eae5a0e 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>
2019-11-10 11:27:09 +01:00
Greg Kroah-Hartman
5ee93551c7 Linux 4.19.82 2019-11-06 13:06:31 +01:00
Greg Kroah-Hartman
ef244c3088 Linux 4.19.81 2019-10-29 09:20:09 +01:00
Greg Kroah-Hartman
c3038e718a Linux 4.19.80 2019-10-17 13:45:44 -07:00
Greg Kroah-Hartman
dafd634415 Linux 4.19.79 2019-10-11 18:21:44 +02:00
Greg Kroah-Hartman
58fce20645 Linux 4.19.78 2019-10-07 18:57:29 +02:00
Greg Kroah-Hartman
6cad9d0cf8 Linux 4.19.77 2019-10-05 13:10:13 +02:00
Greg Kroah-Hartman
555161ee1b Linux 4.19.76 2019-10-01 08:26:13 +02:00
Greg Kroah-Hartman
d573e8a79f Linux 4.19.75 2019-09-21 07:17:15 +02:00
Greg Kroah-Hartman
dbc29aff8d Linux 4.19.74 2019-09-19 09:09:41 +02:00
Greg Kroah-Hartman
db2d0b7c1d Linux 4.19.73 2019-09-16 08:22:25 +02:00
Greg Kroah-Hartman
ee809c7e08 Linux 4.19.72 2019-09-10 10:33:54 +01:00
Greg Kroah-Hartman
e7d2672c66 Linux 4.19.71 2019-09-06 12:40:02 +02:00
Greg Kroah-Hartman
0fed55c248 Linux 4.19.70 2019-09-06 10:22:24 +02:00
Greg Kroah-Hartman
97ab07e11f Linux 4.19.69 2019-08-29 08:29:00 +02:00
Greg Kroah-Hartman
def4c11b31 Linux 4.19.68 2019-08-25 10:48:06 +02:00