# git rev-parse -q --verify 82f6e266f8123d7938713c0e10c03aa655b3e68a^{commit} 82f6e266f8123d7938713c0e10c03aa655b3e68a already have revision, skipping fetch # git checkout -q -f -B kisskb 82f6e266f8123d7938713c0e10c03aa655b3e68a # git clean -qxdf # < git log -1 # commit 82f6e266f8123d7938713c0e10c03aa655b3e68a # Author: Christophe Leroy # Date: Thu May 23 08:39:27 2019 +0000 # # powerpc/32: fix build failure on book3e with KVM # # Build failure was introduced by the commit identified below, # due to missed macro expension leading to wrong called function's name. # # arch/powerpc/kernel/head_fsl_booke.o: In function `SystemCall': # arch/powerpc/kernel/head_fsl_booke.S:416: undefined reference to `kvmppc_handler_BOOKE_INTERRUPT_SYSCALL_SPRN_SRR1' # Makefile:1052: recipe for target 'vmlinux' failed # # The called function should be kvmppc_handler_8_0x01B(). This patch fixes it. # # Reported-by: Paul Mackerras # Fixes: 1a4b739bbb4f ("powerpc/32: implement fast entry for syscalls on BOOKE") # Signed-off-by: Christophe Leroy # Signed-off-by: Michael Ellerman # < /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 82f6e266f8123d7938713c0e10c03aa655b3e68a # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc44x_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ppc44x_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc44x_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/arch/powerpc/boot/dts/virtex440-ml510.dts:335.37-439.6: Warning (pci_bridge): /plb@0/plbv46-pci@85e00000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:194:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/bridge/br_netlink.c: In function 'br_afspec.isra.35': /kisskb/src/net/bridge/br_netlink.c:652:7: warning: 'err' 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:331: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:247:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:227:19: note: 'i' was declared here /kisskb/src/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1851:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1764:46: warning: 'linear' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/arch/powerpc/boot/dts/katmai.dts:322.26-361.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:363.26-402.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:404.26-443.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x555848) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555848) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555848) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555848) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555848) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555848) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555848) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555848) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555848) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555848) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555848) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x54519c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.2.0-rc2-g82f6e266f812 Created: Sun Jun 16 00:59:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2688788 Bytes = 2625.77 KiB = 2.56 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.2.0-rc2-g82f6e266f812 Created: Sun Jun 16 00:59:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2718910 Bytes = 2655.19 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006014e0 Image Name: Linux-5.2.0-rc2-g82f6e266f812 Created: Sun Jun 16 00:59:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2720543 Bytes = 2656.78 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006014c0 Image Name: Linux-5.2.0-rc2-g82f6e266f812 Created: Sun Jun 16 00:59:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2718900 Bytes = 2655.18 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006014ec Image Name: Linux-5.2.0-rc2-g82f6e266f812 Created: Sun Jun 16 00:59:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2719058 Bytes = 2655.33 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006014e0 Image Name: Linux-5.2.0-rc2-g82f6e266f812 Created: Sun Jun 16 00:59:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2720518 Bytes = 2656.76 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006014d8 Image Name: Linux-5.2.0-rc2-g82f6e266f812 Created: Sun Jun 16 00:59:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2720431 Bytes = 2656.67 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006000c8 Image Name: Linux-5.2.0-rc2-g82f6e266f812 Created: Sun Jun 16 00:59:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2718904 Bytes = 2655.18 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006001bc Image Name: Linux-5.2.0-rc2-g82f6e266f812 Created: Sun Jun 16 00:59:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2718857 Bytes = 2655.13 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006014cc Image Name: Linux-5.2.0-rc2-g82f6e266f812 Created: Sun Jun 16 00:59:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2720527 Bytes = 2656.76 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006014e0 Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc44x_defconfig_powerpc-gcc4.6 # Build took: 0:00:40.664323