# 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 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_sam440ep_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/sam440ep_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_sam440ep_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x5f0dd4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.4.0-rc2-g7d6475051fb3 Created: Tue Oct 29 23:21:43 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3092513 Bytes = 3020.03 KiB = 2.95 MiB Load Address: 00600000 Entry Point: 00601534 Completed OK # rm -rf /kisskb/build/powerpc-fixes_44x_sam440ep_defconfig_powerpc-gcc5 # Build took: 0:00:41.593992