# 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_iss476-smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/iss476-smp_defconfig WARNING: unmet direct dependencies detected for HOTPLUG_CPU Depends on [n]: SMP [=y] && (PPC_PSERIES [=n] || PPC_PMAC [=n] || PPC_POWERNV [=n] || FSL_SOC_BOOKE [=n]) Selected by [y]: - PM_SLEEP_SMP [=y] && SMP [=y] && (ARCH_SUSPEND_POSSIBLE [=y] || ARCH_HIBERNATION_POSSIBLE [=y]) && PM_SLEEP [=y] WARNING: unmet direct dependencies detected for HOTPLUG_CPU Depends on [n]: SMP [=y] && (PPC_PSERIES [=n] || PPC_PMAC [=n] || PPC_POWERNV [=n] || FSL_SOC_BOOKE [=n]) Selected by [y]: - PM_SLEEP_SMP [=y] && SMP [=y] && (ARCH_SUSPEND_POSSIBLE [=y] || ARCH_HIBERNATION_POSSIBLE [=y]) && PM_SLEEP [=y] # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_iss476-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_44x_iss476-smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig WARNING: unmet direct dependencies detected for HOTPLUG_CPU Depends on [n]: SMP [=y] && (PPC_PSERIES [=n] || PPC_PMAC [=n] || PPC_POWERNV [=n] || FSL_SOC_BOOKE [=n]) Selected by [y]: - PM_SLEEP_SMP [=y] && SMP [=y] && (ARCH_SUSPEND_POSSIBLE [=y] || ARCH_HIBERNATION_POSSIBLE [=y]) && PM_SLEEP [=y] WARNING: unmet direct dependencies detected for HOTPLUG_CPU Depends on [n]: SMP [=y] && (PPC_PSERIES [=n] || PPC_PMAC [=n] || PPC_POWERNV [=n] || FSL_SOC_BOOKE [=n]) Selected by [y]: - PM_SLEEP_SMP [=y] && SMP [=y] && (ARCH_SUSPEND_POSSIBLE [=y] || ARCH_HIBERNATION_POSSIBLE [=y]) && PM_SLEEP [=y] # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_iss476-smp_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': /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_44x_iss476-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_44x_iss476-smp_defconfig_powerpc-gcc5 # Build took: 0:00:27.018126