# 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_85xx_mpc85xx_cds_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 85xx/mpc85xx_cds_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_mpc85xx_cds_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0x51ea78) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x51ea78) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x51ea78) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x50e350) 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:18:53 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2649045 Bytes = 2586.96 KiB = 2.53 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.4.0-rc2-g7d6475051fb3 Created: Tue Oct 29 23:18:53 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2678290 Bytes = 2615.52 KiB = 2.55 MiB Load Address: 00600000 Entry Point: 006002a4 Image Name: Linux-5.4.0-rc2-g7d6475051fb3 Created: Tue Oct 29 23:18:53 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2679258 Bytes = 2616.46 KiB = 2.56 MiB Load Address: 00600000 Entry Point: 006002a4 Image Name: Linux-5.4.0-rc2-g7d6475051fb3 Created: Tue Oct 29 23:18:53 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2678289 Bytes = 2615.52 KiB = 2.55 MiB Load Address: 00600000 Entry Point: 006002a4 Completed OK # rm -rf /kisskb/build/powerpc-fixes_85xx_mpc85xx_cds_defconfig_powerpc-gcc5 # Build took: 0:00:39.625680