# git rev-parse -q --verify 478cb53ce5e2d5fd96c2da42d0f9d2b53620881a^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/linuxppc/linux.git next-test warning: The last gc run reported the following. Please correct the root cause and remove .git/gc.log. Automatic cleanup will not be performed until the file is removed. warning: There are too many unreachable loose objects; run 'git prune' to remove them. # git rev-parse -q --verify 478cb53ce5e2d5fd96c2da42d0f9d2b53620881a^{commit} 478cb53ce5e2d5fd96c2da42d0f9d2b53620881a # git checkout -q -f -B kisskb 478cb53ce5e2d5fd96c2da42d0f9d2b53620881a # git clean -qxdf # < git log -1 # commit 478cb53ce5e2d5fd96c2da42d0f9d2b53620881a # Author: Nicholas Piggin # Date: Wed Nov 10 12:50:56 2021 +1000 # # powerpc/watchdog: read TB close to where it is used # # When taking watchdog actions, printing messages, comparing and # re-setting wd_smp_last_reset_tb, etc., read TB close to the point of use # and under wd_smp_lock or printing lock (if applicable). # # This should keep timebase mostly monotonic with kernel log messages, and # could prevent (in theory) a laggy CPU updating wd_smp_last_reset_tb to # something a long way in the past, and causing other CPUs to appear to be # stuck. # # These additional TB reads are all slowpath (lockup has been detected), # so performance does not matter. # # Signed-off-by: Nicholas Piggin # Reviewed-by: Laurent Dufour # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20211110025056.2084347-5-npiggin@gmail.com # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 478cb53ce5e2d5fd96c2da42d0f9d2b53620881a # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig CONFIG_TRIM_UNUSED_KSYMS=n # Added to kconfig CONFIG_UBSAN=n # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4825:warning: override: reassigning to symbol CPU_BIG_ENDIAN .config:4825:warning: override: CPU_BIG_ENDIAN changes choice state .config:4829:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:4834:warning: override: reassigning to symbol UBSAN # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- :1559:2: warning: #warning syscall futex_waitv not implemented [-Wcpp] In file included from /kisskb/src/arch/powerpc/include/asm/mmu_context.h:12, from /kisskb/src/arch/powerpc/include/asm/asm-prototypes.h:17, from /kisskb/src/arch/powerpc/platforms/powernv/idle.c:15: /kisskb/src/arch/powerpc/include/asm/cputhreads.h: In function 'cpu_thread_mask_to_cores.constprop': /kisskb/src/arch/powerpc/include/asm/cputhreads.h:61:1: error: the frame size of 4096 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] 61 | } | ^ /kisskb/src/arch/powerpc/platforms/powernv/idle.c: In function 'store_fastsleep_workaround_applyonce': /kisskb/src/arch/powerpc/platforms/powernv/idle.c:220:1: error: the frame size of 4112 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] 220 | } | ^ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:287: arch/powerpc/platforms/powernv/idle.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:549: arch/powerpc/platforms/powernv] Error 2 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/kernel/sched/core.c: In function '__sched_setaffinity': /kisskb/src/kernel/sched/core.c:7954:1: error: the frame size of 4112 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] 7954 | } | ^ /kisskb/src/kernel/sched/core.c: In function 'force_compatible_cpus_allowed_ptr': /kisskb/src/kernel/sched/core.c:2979:1: error: the frame size of 2064 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] 2979 | } | ^ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:287: kernel/sched/core.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:549: kernel/sched] Error 2 make[1]: *** [/kisskb/src/Makefile:1846: kernel] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/arch/powerpc/platforms/pseries/hotplug-cpu.c: In function 'find_cpu_id_range': /kisskb/src/arch/powerpc/platforms/pseries/hotplug-cpu.c:201:1: error: the frame size of 2064 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] 201 | } | ^ /kisskb/src/arch/powerpc/platforms/pseries/hotplug-cpu.c: In function 'pseries_add_processor': /kisskb/src/arch/powerpc/platforms/pseries/hotplug-cpu.c:285:1: error: the frame size of 2064 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] 285 | } | ^ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:287: arch/powerpc/platforms/pseries/hotplug-cpu.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:549: arch/powerpc/platforms/pseries] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:549: arch/powerpc/platforms] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1846: arch/powerpc] Error 2 In file included from : /kisskb/src/drivers/leds/trigger/ledtrig-cpu.c: In function 'ledtrig_cpu_init': /kisskb/src/include/linux/compiler_types.h:335:45: error: call to '__compiletime_assert_153' declared with attribute error: BUILD_BUG_ON failed: CONFIG_NR_CPUS > 9999 335 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ /kisskb/src/include/linux/compiler_types.h:316:25: note: in definition of macro '__compiletime_assert' 316 | prefix ## suffix(); \ | ^~~~~~ /kisskb/src/include/linux/compiler_types.h:335:9: note: in expansion of macro '_compiletime_assert' 335 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/build_bug.h:50:9: note: in expansion of macro 'BUILD_BUG_ON_MSG' 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/leds/trigger/ledtrig-cpu.c:137:9: note: in expansion of macro 'BUILD_BUG_ON' 137 | BUILD_BUG_ON(CONFIG_NR_CPUS > 9999); | ^~~~~~~~~~~~ make[4]: *** [/kisskb/src/scripts/Makefile.build:287: drivers/leds/trigger/ledtrig-cpu.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:549: drivers/leds/trigger] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:549: drivers/leds] Error 2 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/fs/ntfs/aops.c: In function 'ntfs_write_mst_block': /kisskb/src/fs/ntfs/aops.c:1311:1: error: the frame size of 2160 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] 1311 | } | ^ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:287: fs/ntfs/aops.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:549: fs/ntfs] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1846: fs] Error 2 make[1]: *** [/kisskb/src/Makefile:1846: drivers] Error 2 make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc11 # Build took: 0:02:35.502634