# git rev-parse -q --verify 5ad0e6cf98ac177bdc3d162dda4af5253b0f0d78^{commit} 5ad0e6cf98ac177bdc3d162dda4af5253b0f0d78 already have revision, skipping fetch # git checkout -q -f -B kisskb 5ad0e6cf98ac177bdc3d162dda4af5253b0f0d78 # git clean -qxdf # < git log -1 # commit 5ad0e6cf98ac177bdc3d162dda4af5253b0f0d78 # Author: Christophe Leroy # Date: Fri Mar 19 06:34:43 2021 +0000 # # powerpc/irq: Inline call_do_irq() and call_do_softirq() # # call_do_irq() and call_do_softirq() are simple enough to be # worth inlining. # # Inlining them avoids an mflr/mtlr pair plus a save/reload on stack. It # also allows GCC to keep the saved ksp_limit in an nonvolatile reg. # # This is inspired from S390 arch. Several other arches do more or # less the same. The way sparc arch does seems odd thought. # # Signed-off-by: Christophe Leroy # Signed-off-by: Michael Ellerman # --- # # v2: no change. # v3: no change. # v4: # - comment reminding the purpose of the inline asm block. # - added r2 as clobbered reg # v5: # - Limiting the change to PPC32 for now. # - removed r2 from the clobbered regs list (on PPC32 r2 points to current all the time) # - Removed patch 1 and merged ksp_limit handling in here. # v6: # - Rebase on top of merge-test (ca6e327fefb2). # - Remove the ksp_limit stuff as it's doesn't exist anymore. # # v7: # mpe: # - Enable for 64-bit too. This all in-kernel code calling in-kernel # code, and must use the kernel TOC. # - Use named parameters for the inline asm. # - Reformat inline asm. # - Mark as always_inline. # - Drop unused ret from call_do_softirq(), add r3 as clobbered. # < /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 5ad0e6cf98ac177bdc3d162dda4af5253b0f0d78 # < 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:4196:warning: override: reassigning to symbol PPC_E500MC .config:4197: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- /kisskb/src/drivers/net/phy/phy_device.c:293:12: warning: 'mdio_bus_phy_resume' defined but not used [-Wunused-function] 293 | static int mdio_bus_phy_resume(struct device *dev) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/phy_device.c:273:12: warning: 'mdio_bus_phy_suspend' defined but not used [-Wunused-function] 273 | static int mdio_bus_phy_suspend(struct device *dev) | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, 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 0xf4cb60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cb60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cb60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cb60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cb60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cb60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cb60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cb60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cb60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cb60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cb60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cb60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cb60) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0xf4cb60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cb60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf3c434) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) Image Name: Linux-5.12.0-rc2-95107-g5ad0e6cf Created: Sun Mar 21 17:10:26 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7051125 Bytes = 6885.86 KiB = 6.72 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.12.0-rc2-95107-g5ad0e6cf Created: Sun Mar 21 17:10:27 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7085165 Bytes = 6919.11 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc2-95107-g5ad0e6cf Created: Sun Mar 21 17:10:27 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7085732 Bytes = 6919.66 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc2-95107-g5ad0e6cf Created: Sun Mar 21 17:10:27 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7085761 Bytes = 6919.69 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 0100031c Image Name: Linux-5.12.0-rc2-95107-g5ad0e6cf Created: Sun Mar 21 17:10:27 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7087483 Bytes = 6921.37 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc2-95107-g5ad0e6cf Created: Sun Mar 21 17:10:26 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7085779 Bytes = 6919.71 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 0100031c Image Name: Linux-5.12.0-rc2-95107-g5ad0e6cf Created: Sun Mar 21 17:10:26 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7087434 Bytes = 6921.32 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc2-95107-g5ad0e6cf Created: Sun Mar 21 17:10:27 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7085339 Bytes = 6919.28 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc2-95107-g5ad0e6cf Created: Sun Mar 21 17:10:28 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7085732 Bytes = 6919.66 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc2-95107-g5ad0e6cf Created: Sun Mar 21 17:10:28 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7085527 Bytes = 6919.46 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 0100031c Image Name: Linux-5.12.0-rc2-95107-g5ad0e6cf Created: Sun Mar 21 17:10:29 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7085422 Bytes = 6919.36 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 0100031c Image Name: Linux-5.12.0-rc2-95107-g5ad0e6cf Created: Sun Mar 21 17:10:29 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7085705 Bytes = 6919.63 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc2-95107-g5ad0e6cf Created: Sun Mar 21 17:10:30 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7086619 Bytes = 6920.53 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc2-95107-g5ad0e6cf Created: Sun Mar 21 17:10:30 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7085731 Bytes = 6919.66 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc2-95107-g5ad0e6cf Created: Sun Mar 21 17:10:30 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7086822 Bytes = 6920.72 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc2-95107-g5ad0e6cf Created: Sun Mar 21 17:10:30 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7085421 Bytes = 6919.36 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 0100031c Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 # Build took: 0:02:48.350034