# git rev-parse -q --verify 7d6475051fb3d9339c5c760ed9883bc0a9048b21^{commit} 7d6475051fb3d9339c5c760ed9883bc0a9048b21 already have revision, skipping fetch # git checkout -q -f -B kisskb 7d6475051fb3d9339c5c760ed9883bc0a9048b21 # git clean -qxdf # < git log -1 # commit 7d6475051fb3d9339c5c760ed9883bc0a9048b21 # Author: Nicholas Piggin # Date: Tue Oct 22 21:58:14 2019 +1000 # # powerpc/powernv: Fix CPU idle to be called with IRQs disabled # # Commit e78a7614f3876 ("idle: Prevent late-arriving interrupts from # disrupting offline") changes arch_cpu_idle_dead to be called with # interrupts disabled, which triggers the WARN in pnv_smp_cpu_kill_self. # # Fix this by fixing up irq_happened after hard disabling, rather than # requiring there are no pending interrupts, similarly to what was done # done until commit 2525db04d1cc5 ("powerpc/powernv: Simplify lazy IRQ # handling in CPU offline"). # # Fixes: e78a7614f3876 ("idle: Prevent late-arriving interrupts from disrupting offline") # Reported-by: Paul Mackerras # Signed-off-by: Nicholas Piggin # [mpe: Add unexpected_mask rather than checking for known bad values, # change the WARN_ON() to a WARN_ON_ONCE()] # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20191022115814.22456-1-npiggin@gmail.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 7d6475051fb3d9339c5c760ed9883bc0a9048b21 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pmac32_defconfig+kexec_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pmac32_defconfig # Added to kconfig configs/2006/11/29/pmac32_defconfigkexec # yes \n | make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pmac32_defconfig+kexec_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pmac32_defconfig+kexec_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/sound/ppc/pmac.h:12:0, from /kisskb/src/sound/ppc/awacs.c:16: /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:208:9: warning: 'speaker_vol' may be used uninitialized in this function [-Wmaybe-uninitialized] return _snd_ctl_add_slave(master, slave, 0); ^ /kisskb/src/sound/ppc/awacs.c:873:36: note: 'speaker_vol' was declared here struct snd_kcontrol *master_vol, *speaker_vol; ^ INFO: Uncompressed kernel (size 0x8c8b4c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x900000) Completed OK # rm -rf /kisskb/build/powerpc-fixes_pmac32_defconfig+kexec_powerpc-gcc5 # Build took: 0:00:52.633814