# git rev-parse -q --verify 27da80719ef132cf8c80eb406d5aeb37dddf78cc^{commit} 27da80719ef132cf8c80eb406d5aeb37dddf78cc already have revision, skipping fetch # git checkout -q -f -B kisskb 27da80719ef132cf8c80eb406d5aeb37dddf78cc # git clean -qxdf # < git log -1 # commit 27da80719ef132cf8c80eb406d5aeb37dddf78cc # Author: Christophe Leroy # Date: Tue Feb 26 18:18:48 2019 +0000 # # powerpc/fsl: Fix the flush of branch predictor. # # The commit identified below adds MC_BTB_FLUSH macro only when # CONFIG_PPC_FSL_BOOK3E is defined. This results in the following error # on some configs (seen several times with kisskb randconfig_defconfig) # # arch/powerpc/kernel/exceptions-64e.S:576: Error: Unrecognized opcode: `mc_btb_flush' # make[3]: *** [scripts/Makefile.build:367: arch/powerpc/kernel/exceptions-64e.o] Error 1 # make[2]: *** [scripts/Makefile.build:492: arch/powerpc/kernel] Error 2 # make[1]: *** [Makefile:1043: arch/powerpc] Error 2 # make: *** [Makefile:152: sub-make] Error 2 # # This patch adds a blank definition of MC_BTB_FLUSH for other cases. # # Fixes: 10c5e83afd4a ("powerpc/fsl: Flush the branch predictor at each kernel entry (64bit)") # Cc: Diana Craciun # Signed-off-by: Christophe Leroy # Reviewed-by: Daniel Axtens # Reviewed-by: Diana Craciun # 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 27da80719ef132cf8c80eb406d5aeb37dddf78cc # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_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-next_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:186:16: warning: 'old' 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:339:21: note: 'pdeo' was declared here /kisskb/src/drivers/i2c/i2c-core-base.c: In function 'i2c_generic_scl_recovery': /kisskb/src/drivers/i2c/i2c-core-base.c:235:5: warning: 'ret' 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 INFO: Uncompressed kernel (size 0x53f594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x53f594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x52ef20) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x53f594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x53f594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.0.0-rc2-g27da80719ef1 Created: Thu Feb 28 01:10:44 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2638099 Bytes = 2576.27 KiB = 2.52 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.0.0-rc2-g27da80719ef1 Created: Thu Feb 28 01:10:44 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2673871 Bytes = 2611.20 KiB = 2.55 MiB Load Address: 00600000 Entry Point: 006019cc Image Name: Linux-5.0.0-rc2-g27da80719ef1 Created: Thu Feb 28 01:10:44 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2672044 Bytes = 2609.42 KiB = 2.55 MiB Load Address: 00600000 Entry Point: 00601758 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc40x_defconfig_powerpc-gcc4.6 # Build took: 0:00:45.196629