# git rev-parse -q --verify 98c738c8cee6e5a58d4060862e2f8cf3cdc8a328^{commit} 98c738c8cee6e5a58d4060862e2f8cf3cdc8a328 already have revision, skipping fetch # git checkout -q -f -B kisskb 98c738c8cee6e5a58d4060862e2f8cf3cdc8a328 # git clean -qxdf # < git log -1 # commit 98c738c8cee6e5a58d4060862e2f8cf3cdc8a328 # Author: Nathan Lynch # Date: Fri Nov 18 09:07:47 2022 -0600 # # powerpc/rtas: mandate RTAS syscall filtering # # CONFIG_PPC_RTAS_FILTER has been optional but default-enabled since its # introduction. It's been enabled in enterprise distro kernels for a # while without causing ABI breakage that wasn't easily fixed, and it # prevents harmful abuses of the rtas syscall. # # Let's make it unconditional. # # Signed-off-by: Nathan Lynch # Reviewed-by: Andrew Donnellan # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20221118150751.469393-10-nathanl@linux.ibm.com # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 98c738c8cee6e5a58d4060862e2f8cf3cdc8a328 # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_katmai_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/katmai_defconfig # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_katmai_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_katmai_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_katmai_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- arch/powerpc/kernel/prom.o: In function `early_init_dt_scan_cpus': prom.c:(.init.text+0x272): undefined reference to `boot_cpu_node_count' prom.c:(.init.text+0x27a): undefined reference to `boot_cpu_node_count' prom.c:(.init.text+0x28e): undefined reference to `boot_cpu_node_count' make[2]: *** [/kisskb/src/scripts/Makefile.vmlinux:34: vmlinux] Error 1 make[1]: *** [/kisskb/src/Makefile:1236: vmlinux] Error 2 make: *** [Makefile:231: __sub-make] Error 2 Command 'make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_katmai_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next_44x_katmai_defconfig_powerpc-gcc5 # Build took: 0:00:20.965433