# 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-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-gcc --version # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-ld --version # < git log --format=%s --max-count=1 478cb53ce5e2d5fd96c2da42d0f9d2b53620881a # < make -s -j 32 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- defconfig # < make -s -j 32 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- help # make -s -j 32 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- olddefconfig # make -s -j 32 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- /kisskb/src/arch/mips/boot/dts/img/boston.dts:128.19-178.5: Warning (pci_device_reg): /pci@14000000/pci2_root@0,0,0: PCI unit address format error, expected "0,0" :1559:2: warning: #warning syscall futex_waitv not implemented [-Wcpp] Completed OK # rm -rf /kisskb/build/powerpc-next_mips-defconfig_mipsel # Build took: 0:02:00.518683