- 20 Mar, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 18 Mar, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 16 Mar, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 11 Mar, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 05 Mar, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 28 Feb, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 24 Feb, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 19 Feb, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 14 Feb, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 11 Feb, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 05 Feb, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 01 Feb, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 29 Jan, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 27 Jan, 2020 2 commits
-
-
Greg Kroah-Hartman authored
-
Masahiro Yamada authored
[ Upstream commit e00d8880 ] Commit c3ff2a51 ("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 e07db28e ("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 e07db28e ("kbuild: fix single target build for external module"), and then this commit. Link: https://bugzilla.kernel.org/show_bug.cgi?id=201891 Fixes: e07db28e ("kbuild: fix single target build for external module") Fixes: c3ff2a51 ("powerpc/32: add stack protector support") Fixes: 189af465 ("ARM: smp: add support for per-task stack canaries") Fixes: 0a1213fa ("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>
-
- 23 Jan, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 17 Jan, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 14 Jan, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 12 Jan, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 09 Jan, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 04 Jan, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 31 Dec, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 21 Dec, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 17 Dec, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 13 Dec, 2019 2 commits
-
-
Greg Kroah-Hartman authored
-
Masahiro Yamada authored
[ Upstream commit e07db28e ] 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>
-
- 05 Dec, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 01 Dec, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 24 Nov, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 20 Nov, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 12 Nov, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 10 Nov, 2019 2 commits
-
-
Greg Kroah-Hartman authored
-
Seth Forshee authored
[ Upstream commit 29be86d7 ] 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>
-
- 06 Nov, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 29 Oct, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 17 Oct, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 11 Oct, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 07 Oct, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 05 Oct, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 01 Oct, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-