# git rev-parse -q --verify f2748bdfe157343eb8cf910a1d89ccf2fd20100b^{commit} f2748bdfe157343eb8cf910a1d89ccf2fd20100b already have revision, skipping fetch # git checkout -q -f -B kisskb f2748bdfe157343eb8cf910a1d89ccf2fd20100b # git clean -qxdf # < git log -1 # commit f2748bdfe157343eb8cf910a1d89ccf2fd20100b # Author: Nicholas Piggin # Date: Sun Apr 1 20:36:15 2018 +1000 # # powerpc/powernv: Always stop secondaries before reboot/shutdown # # Currently powernv reboot and shutdown requests just leave secondaries # to do their own things. This is undesirable because they can trigger # any number of watchdogs while waiting for reboot, but also we don't # know what else they might be doing -- they might be causing trouble, # trampling memory, etc. # # The opal scheduled flash update code already ran into watchdog problems # due to flashing taking a long time, and it was fixed with 2196c6f1ed # ("powerpc/powernv: Return secondary CPUs to firmware before FW update"), # which returns secondaries to opal. It's been found that regular reboots # can take over 10 seconds, which can result in the hard lockup watchdog # firing, # # reboot: Restarting system # [ 360.038896709,5] OPAL: Reboot request... # Watchdog CPU:0 Hard LOCKUP # Watchdog CPU:44 detected Hard LOCKUP other CPUS:16 # Watchdog CPU:16 Hard LOCKUP # watchdog: BUG: soft lockup - CPU#16 stuck for 3s! [swapper/16:0] # # This patch removes the special case for flash update, and calls # smp_send_stop in all cases before calling reboot/shutdown. # # smp_send_stop could return CPUs to OPAL, the main reason not to is # that the request could come from a NMI that interrupts OPAL code, # so re-entry to OPAL can cause a number of problems. Putting # secondaries into simple spin loops improves the chances of a # successful reboot. # # Signed-off-by: Nicholas Piggin # Reviewed-by: Vasant Hegde # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < git log --format=%s --max-count=1 f2748bdfe157343eb8cf910a1d89ccf2fd20100b # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ppc6xx_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:183:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/cgroup/cgroup-v1.c: In function 'cgroup1_mount': /kisskb/src/kernel/cgroup/cgroup-v1.c:1268:20: warning: 'root' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:220:2: warning: 'speaker_vol' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/ppc/awacs.c:886:36: note: 'speaker_vol' was declared here /kisskb/src/net/bridge/br_netlink.c: In function 'br_afspec': /kisskb/src/net/bridge/br_netlink.c:635:7: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/dma-buf/reservation.c: In function 'reservation_object_add_shared_fence': /kisskb/src/drivers/dma-buf/reservation.c:225:6: warning: 'k' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/nfsd/nfs4xdr.c: In function 'nfsd4_encode_components_esc': /kisskb/src/fs/nfsd/nfs4xdr.c:2043:9: warning: 'str' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/input/joystick/analog.c:176:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] /kisskb/src/net/mac80211/mlme.c: In function 'ieee80211_rx_mgmt_beacon': /kisskb/src/net/mac80211/mlme.c:1350:3: warning: 'pwr_level_cisco' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/mac80211/mlme.c:1307:6: note: 'pwr_level_cisco' was declared here /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:251:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:231:19: note: 'i' was declared here /kisskb/src/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1816:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1726:46: warning: 'linear' may be used uninitialized in this function [-Wuninitialized] arch/powerpc/boot/mpc832x_rdb.dtb: Warning (interrupts_property): interrupts size is (4), expected multiple of 8 in /qe@e0100000/mdio@3120/ethernet-phy@0 arch/powerpc/boot/mpc832x_rdb.dtb: Warning (interrupts_property): interrupts size is (4), expected multiple of 8 in /qe@e0100000/mdio@3120/ethernet-phy@4 INFO: Uncompressed kernel (size 0xa2b3b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa2b3b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa2b3b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa2b3b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa2b3b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa2b3b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa2b3b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa2b3b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa2b3b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa1ac90) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa2b3b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa1ac90) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-4.16.0-rc4+ Created: Wed Apr 4 02:27:44 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4837437 Bytes = 4724.06 kB = 4.61 MB Load Address: 00b00000 Entry Point: 00b00230 Image Name: Linux-4.16.0-rc4+ Created: Wed Apr 4 02:27:44 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4836138 Bytes = 4722.79 kB = 4.61 MB Load Address: 00b00000 Entry Point: 00b00230 Image Name: Linux-4.16.0-rc4+ Created: Wed Apr 4 02:27:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4812320 Bytes = 4699.53 kB = 4.59 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.16.0-rc4+ Created: Wed Apr 4 02:27:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4836515 Bytes = 4723.16 kB = 4.61 MB Load Address: 00b00000 Entry Point: 00b00230 Image Name: Linux-4.16.0-rc4+ Created: Wed Apr 4 02:27:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4837848 Bytes = 4724.46 kB = 4.61 MB Load Address: 00b00000 Entry Point: 00b007a0 Image Name: Linux-4.16.0-rc4+ Created: Wed Apr 4 02:27:46 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4836822 Bytes = 4723.46 kB = 4.61 MB Load Address: 00b00000 Entry Point: 00b00230 Image Name: Linux-4.16.0-rc4+ Created: Wed Apr 4 02:27:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4837512 Bytes = 4724.13 kB = 4.61 MB Load Address: 00b00000 Entry Point: 00b007a0 Image Name: Linux-4.16.0-rc4+ Created: Wed Apr 4 02:27:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4836883 Bytes = 4723.52 kB = 4.61 MB Load Address: 00b00000 Entry Point: 00b00230 Image Name: Linux-4.16.0-rc4+ Created: Wed Apr 4 02:27:46 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4836786 Bytes = 4723.42 kB = 4.61 MB Load Address: 00b00000 Entry Point: 00b00230 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc # Build took: 0:02:47.034830