# git rev-parse -q --verify abc3fce76adbdfa8f87272c784b388cd20b46049^{commit} abc3fce76adbdfa8f87272c784b388cd20b46049 already have revision, skipping fetch # git checkout -q -f -B kisskb abc3fce76adbdfa8f87272c784b388cd20b46049 # git clean -qxdf # < git log -1 # commit abc3fce76adbdfa8f87272c784b388cd20b46049 # Author: Nicholas Piggin # Date: Thu Apr 2 22:04:01 2020 +1000 # # Revert "powerpc/64: irq_work avoid interrupt when called with hardware irqs enabled" # # This reverts commit ebb37cf3ffd39fdb6ec5b07111f8bb2f11d92c5f. # # That commit does not play well with soft-masked irq state # manipulations in idle, interrupt replay, and possibly others due to # tracing code sometimes using irq_work_queue (e.g., in # trace_hardirqs_on()). That can cause PACA_IRQ_DEC to become set when # it is not expected, and be ignored or cleared or cause warnings. # # The net result seems to be missing an irq_work until the next timer # interrupt in the worst case which is usually not going to be noticed, # however it could be a long time if the tick is disabled, which is # against the spirit of irq_work and might cause real problems. # # The idea is still solid, but it would need more work. It's not really # clear if it would be worth added complexity, so revert this for # now (not a straight revert, but replace with a comment explaining why # we might see interrupts happening, and gives git blame something to # find). # # Fixes: ebb37cf3ffd3 ("powerpc/64: irq_work avoid interrupt when called with hardware irqs enabled") # Signed-off-by: Nicholas Piggin # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20200402120401.1115883-1-npiggin@gmail.com # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 abc3fce76adbdfa8f87272c784b388cd20b46049 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # Added to kconfig CONFIG_PPC_E500MC=y # Added to kconfig CONFIG_VIRTUALIZATION=y # Added to kconfig CONFIG_KVM_E500MC=y # Added to kconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4064:warning: override: reassigning to symbol PPC_E500MC .config:4065:warning: override: reassigning to symbol VIRTUALIZATION # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:12, 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] 22 | #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' 78 | # 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' 139 | 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 0xe629ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe629ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe629ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe629ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe629ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe629ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe629ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe629ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe629ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe629ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe629ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe629ac) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0xe629ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe629ac) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0xe629ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe521a8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) Image Name: Linux-5.6.0-rc2-gabc3fce76adb Created: Sat Apr 4 00:44:40 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6720620 Bytes = 6563.11 KiB = 6.41 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.6.0-rc2-gabc3fce76adb Created: Sat Apr 4 00:44:43 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6753519 Bytes = 6595.23 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.6.0-rc2-gabc3fce76adb Created: Sat Apr 4 00:44:43 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6753670 Bytes = 6595.38 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.6.0-rc2-gabc3fce76adb Created: Sat Apr 4 00:44:43 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6753558 Bytes = 6595.27 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.6.0-rc2-gabc3fce76adb Created: Sat Apr 4 00:44:43 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6753658 Bytes = 6595.37 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.6.0-rc2-gabc3fce76adb Created: Sat Apr 4 00:44:43 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6753420 Bytes = 6595.14 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f0031c Image Name: Linux-5.6.0-rc2-gabc3fce76adb Created: Sat Apr 4 00:44:43 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6754166 Bytes = 6595.87 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.6.0-rc2-gabc3fce76adb Created: Sat Apr 4 00:44:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6753964 Bytes = 6595.67 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.6.0-rc2-gabc3fce76adb Created: Sat Apr 4 00:44:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6753667 Bytes = 6595.38 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.6.0-rc2-gabc3fce76adb Created: Sat Apr 4 00:44:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6753793 Bytes = 6595.50 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f0031c Image Name: Linux-5.6.0-rc2-gabc3fce76adb Created: Sat Apr 4 00:44:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6756006 Bytes = 6597.66 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.6.0-rc2-gabc3fce76adb Created: Sat Apr 4 00:44:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6753490 Bytes = 6595.21 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f0031c Image Name: Linux-5.6.0-rc2-gabc3fce76adb Created: Sat Apr 4 00:44:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6752607 Bytes = 6594.34 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.6.0-rc2-gabc3fce76adb Created: Sat Apr 4 00:44:45 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6753710 Bytes = 6595.42 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f0031c Image Name: Linux-5.6.0-rc2-gabc3fce76adb Created: Sat Apr 4 00:44:45 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6753421 Bytes = 6595.14 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f0031c Image Name: Linux-5.6.0-rc2-gabc3fce76adb Created: Sat Apr 4 00:44:46 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6754063 Bytes = 6595.76 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f002cc Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 # Build took: 0:02:56.708753