# 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_mpc85xx_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_smp_defconfig # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_smp_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_mpc85xx_smp_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_mpc85xx_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/build_bug.h:5:0, from /kisskb/src/include/linux/container_of.h:5, from /kisskb/src/include/linux/list.h:5, from /kisskb/src/include/linux/module.h:12, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) ^ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: note: in expansion of macro 'IS_ERR_VALUE' if (IS_ERR_VALUE(fep->ring_mem_addr)) ^ arch/powerpc/kernel/prom.o: In function `early_init_dt_scan_cpus': /kisskb/src/arch/powerpc/kernel/prom.c:339: undefined reference to `boot_cpu_node_count' /kisskb/src/arch/powerpc/kernel/prom.c:339: undefined reference to `boot_cpu_node_count' /kisskb/src/arch/powerpc/kernel/prom.c:339: 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_mpc85xx_smp_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_mpc85xx_smp_defconfig_powerpc-gcc5 # Build took: 0:01:00.040018