# 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_mpc85xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/kernel.h:11:0, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) ^ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: note: in expansion of macro 'IS_ERR_VALUE' if (IS_ERR_VALUE(fep->ring_mem_addr)) ^ /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 0xc3d950) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3d950) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3d950) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3d950) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3d950) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3d950) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3d950) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3d950) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3d950) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3d950) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3d950) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3d950) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3d950) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3d950) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3d950) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2d11c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.4.0-rc2-g7d6475051fb3 Created: Tue Oct 29 23:03:43 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5995172 Bytes = 5854.66 KiB = 5.72 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.4.0-rc2-g7d6475051fb3 Created: Tue Oct 29 23:03:43 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6025460 Bytes = 5884.24 KiB = 5.75 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.4.0-rc2-g7d6475051fb3 Created: Tue Oct 29 23:03:43 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6025353 Bytes = 5884.13 KiB = 5.75 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.4.0-rc2-g7d6475051fb3 Created: Tue Oct 29 23:03:43 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6025468 Bytes = 5884.25 KiB = 5.75 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.4.0-rc2-g7d6475051fb3 Created: Tue Oct 29 23:03:43 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6027285 Bytes = 5886.02 KiB = 5.75 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.4.0-rc2-g7d6475051fb3 Created: Tue Oct 29 23:03:43 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6025617 Bytes = 5884.39 KiB = 5.75 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.4.0-rc2-g7d6475051fb3 Created: Tue Oct 29 23:03:43 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6025509 Bytes = 5884.29 KiB = 5.75 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.4.0-rc2-g7d6475051fb3 Created: Tue Oct 29 23:03:43 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6026584 Bytes = 5885.34 KiB = 5.75 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.4.0-rc2-g7d6475051fb3 Created: Tue Oct 29 23:03:43 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6025321 Bytes = 5884.10 KiB = 5.75 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.4.0-rc2-g7d6475051fb3 Created: Tue Oct 29 23:03:43 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6025329 Bytes = 5884.11 KiB = 5.75 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.4.0-rc2-g7d6475051fb3 Created: Tue Oct 29 23:03:43 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6025328 Bytes = 5884.11 KiB = 5.75 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.4.0-rc2-g7d6475051fb3 Created: Tue Oct 29 23:03:43 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6026464 Bytes = 5885.22 KiB = 5.75 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.4.0-rc2-g7d6475051fb3 Created: Tue Oct 29 23:03:43 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6027308 Bytes = 5886.04 KiB = 5.75 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.4.0-rc2-g7d6475051fb3 Created: Tue Oct 29 23:03:43 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6025462 Bytes = 5884.24 KiB = 5.75 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.4.0-rc2-g7d6475051fb3 Created: Tue Oct 29 23:03:43 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6025323 Bytes = 5884.10 KiB = 5.75 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.4.0-rc2-g7d6475051fb3 Created: Tue Oct 29 23:03:43 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6025472 Bytes = 5884.25 KiB = 5.75 MiB Load Address: 00d00000 Entry Point: 00d00314 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc85xx_defconfig_powerpc-gcc5 # Build took: 0:01:14.632687