# 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_ppc40x_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ppc40x_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc40x_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:194:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /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/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 INFO: Uncompressed kernel (size 0x54357c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x54357c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x532f08) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x54357c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x54357c) 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:44 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2639339 Bytes = 2577.48 KiB = 2.52 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.2.0-rc2-g82f6e266f812 Created: Sun Jun 16 00:59:44 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2671072 Bytes = 2608.47 KiB = 2.55 MiB Load Address: 00600000 Entry Point: 006019cc Image Name: Linux-5.2.0-rc2-g82f6e266f812 Created: Sun Jun 16 00:59:44 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2670550 Bytes = 2607.96 KiB = 2.55 MiB Load Address: 00600000 Entry Point: 00601758 Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc40x_defconfig_powerpc-gcc4.6 # Build took: 0:00:37.227404