# git rev-parse -q --verify 478cb53ce5e2d5fd96c2da42d0f9d2b53620881a^{commit} 478cb53ce5e2d5fd96c2da42d0f9d2b53620881a already have revision, skipping fetch # 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/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 478cb53ce5e2d5fd96c2da42d0f9d2b53620881a # < make -s -j 48 ARCH=sparc64 O=/kisskb/build/powerpc-next_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- defconfig # < make -s -j 48 ARCH=sparc64 O=/kisskb/build/powerpc-next_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- help # make -s -j 48 ARCH=sparc64 O=/kisskb/build/powerpc-next_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- olddefconfig # make -s -j 48 ARCH=sparc64 O=/kisskb/build/powerpc-next_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- :1517:2: warning: #warning syscall clone3 not implemented [-Wcpp] :1559:2: warning: #warning syscall futex_waitv not implemented [-Wcpp] WARNING: modpost: EXPORT symbol "_mcount" [vmlinux] version ... Is "_mcount" prototyped in ? kernel: arch/sparc/boot/image is ready kernel: arch/sparc/boot/zImage is ready Completed OK # rm -rf /kisskb/build/powerpc-next_sparc64-defconfig_sparc64 # Build took: 0:01:24.803949