# 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/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-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-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- 85xx/mpc85xx_cds_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_mpc85xx_cds_defconfig_powerpc-gcc4.6 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:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:338:21: note: 'pdeo' 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:248:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:228:19: note: 'i' was declared here /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 0x51a830) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x51a830) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x51a830) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x50a170) 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 22:46:24 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2592302 Bytes = 2531.54 KiB = 2.47 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.4.0-rc2-g7d6475051fb3 Created: Tue Oct 29 22:46:24 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2622498 Bytes = 2561.03 KiB = 2.50 MiB Load Address: 00600000 Entry Point: 006002a8 Image Name: Linux-5.4.0-rc2-g7d6475051fb3 Created: Tue Oct 29 22:46:24 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2624473 Bytes = 2562.96 KiB = 2.50 MiB Load Address: 00600000 Entry Point: 006002a8 Image Name: Linux-5.4.0-rc2-g7d6475051fb3 Created: Tue Oct 29 22:46:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2622500 Bytes = 2561.04 KiB = 2.50 MiB Load Address: 00600000 Entry Point: 006002a8 Completed OK # rm -rf /kisskb/build/powerpc-fixes_85xx_mpc85xx_cds_defconfig_powerpc-gcc4.6 # Build took: 0:00:35.512453