On Wed, 6 Apr 2022 at 23:57, Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> wrote: > > This is the start of the stable review cycle for the 4.9.310 release. > There are 43 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses should be made by Fri, 08 Apr 2022 18:24:27 +0000. > Anything received after that time might be too late. > > The whole patch series can be found in one patch at: > https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.9.310-rc1.gz > or in the git tree and branch at: > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.9.y > and the diffstat can be found below. > > thanks, > > greg k-h Results from Linaro’s test farm. As Guenter reported, On stable-rc 4.9 arm64 build configs allnoconfig and tinyconfig failed [1]. ## Build * kernel: 4.9.310-rc1 * git: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc * git branch: linux-4.9.y * git commit: b5f0e9d665c30ceb3bee566518a1020e54d7bc1f * git describe: v4.9.309-44-gb5f0e9d665c3 * test details: https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-4.9.y-sanity/build/v4.9.309-44-gb5f0e9d665c3 ## Test Regressions (compared to v4.9.309-163-geeae539a0d5c) * arm64, build - arm64-clang-11-allnoconfig - arm64-clang-11-tinyconfig - arm64-clang-12-allnoconfig - arm64-clang-12-tinyconfig - arm64-clang-13-allnoconfig - arm64-clang-13-tinyconfig - arm64-clang-nightly-allnoconfig - arm64-clang-nightly-tinyconfig - arm64-gcc-10-allnoconfig - arm64-gcc-10-tinyconfig - arm64-gcc-11-allnoconfig - arm64-gcc-11-tinyconfig - arm64-gcc-8-allnoconfig - arm64-gcc-8-tinyconfig - arm64-gcc-9-allnoconfig - arm64-gcc-9-tinyconfig Build error: ------------ arch/arm64/kernel/cpu_errata.c: In function 'is_spectrev2_safe': arch/arm64/kernel/cpu_errata.c:829:39: error: 'arm64_bp_harden_smccc_cpus' undeclared (first use in this function); did you mean 'arm64_bp_harden_el1_vectors'? 829 | arm64_bp_harden_smccc_cpus); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | arm64_bp_harden_el1_vectors arch/arm64/kernel/cpu_errata.c:829:39: note: each undeclared identifier is reported only once for each function it appears in arch/arm64/kernel/cpu_errata.c: In function 'spectre_bhb_enable_mitigation': arch/arm64/kernel/cpu_errata.c:839:39: error: '__hardenbp_enab' undeclared (first use in this function) 839 | if (!is_spectrev2_safe() && !__hardenbp_enab) { | ^~~~~~~~~~~~~~~ In file included from include/asm-generic/percpu.h:6, from arch/arm64/include/asm/percpu.h:279, from include/linux/percpu.h:12, from arch/arm64/include/asm/mmu.h:23, from include/linux/mm_types.h:17, from include/linux/sched.h:27, from include/linux/ratelimit.h:5, from include/linux/device.h:27, from include/linux/node.h:17, from include/linux/cpu.h:16, from arch/arm64/include/asm/cpu.h:19, from arch/arm64/kernel/cpu_errata.c:23: arch/arm64/kernel/cpu_errata.c:879:42: error: 'bp_hardening_data' undeclared (first use in this function) 879 | __this_cpu_write(bp_hardening_data.fn, NULL); | ^~~~~~~~~~~~~~~~~ include/linux/percpu-defs.h:236:54: note: in definition of macro '__verify_pcpu_ptr' 236 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ include/linux/percpu-defs.h:438:41: note: in expansion of macro '__pcpu_size_call' 438 | #define raw_cpu_write(pcp, val) __pcpu_size_call(raw_cpu_write_, pcp, val) | ^~~~~~~~~~~~~~~~ include/linux/percpu-defs.h:469:9: note: in expansion of macro 'raw_cpu_write' 469 | raw_cpu_write(pcp, val); \ | ^~~~~~~~~~~~~ arch/arm64/kernel/cpu_errata.c:879:25: note: in expansion of macro '__this_cpu_write' 879 | __this_cpu_write(bp_hardening_data.fn, NULL); | ^~~~~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:307: arch/arm64/kernel/cpu_errata.o] Error 1 Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx> steps to reproduce: # To install tuxmake on your system globally: # sudo pip3 install -U tuxmake tuxmake --runtime podman --target-arch arm64 --toolchain gcc-11 --kconfig tinyconfig -- Linaro LKFT https://lkft.linaro.org [1] https://builds.tuxbuild.com/27R7yjNqw1ahQiOJ16BgcTn7BcZ/