# git rev-parse -q --verify e7d9a4c41f8e9eb2a02092a0e22fa2ae54f8caa5^{commit} e7d9a4c41f8e9eb2a02092a0e22fa2ae54f8caa5 already have revision, skipping fetch # git checkout -q -f -B kisskb e7d9a4c41f8e9eb2a02092a0e22fa2ae54f8caa5 # git clean -qxdf # < git log -1 # commit e7d9a4c41f8e9eb2a02092a0e22fa2ae54f8caa5 # Author: Russell Currey # Date: Wed Mar 27 14:35:54 2019 +1100 # # powerpc/64: Fix booting large kernels with STRICT_KERNEL_RWX # # With STRICT_KERNEL_RWX enabled anything marked __init is placed at a 16M # boundary. This is necessary so that it can be repurposed later with # different permissions. However, in kernels with text larger than 16M, # this pushes early_setup past 32M, incapable of being reached by the # branch instruction. # # Fix this by setting the CTR and branching there instead. # # Fixes: 1e0fc9d1eb2b ("powerpc/Kconfig: Enable STRICT_KERNEL_RWX for some configs") # Signed-off-by: Russell Currey # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 e7d9a4c41f8e9eb2a02092a0e22fa2ae54f8caa5 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_83xx_kmeter1_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 83xx/kmeter1_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_83xx_kmeter1_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- :1478:2: warning: #warning syscall pidfd_send_signal not implemented [-Wcpp] :1481:2: warning: #warning syscall io_uring_setup not implemented [-Wcpp] :1484:2: warning: #warning syscall io_uring_enter not implemented [-Wcpp] :1487:2: warning: #warning syscall io_uring_register not implemented [-Wcpp] In file included from /kisskb/src/include/linux/printk.h:7:0, from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/include/linux/fs_context.h:15, from /kisskb/src/fs/fs_parser.c:13: /kisskb/src/fs/fs_parser.c: In function 'fs_validate_description': /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ /kisskb/src/include/linux/kern_levels.h:11:18: note: in expansion of macro 'KERN_SOH' #define KERN_ERR KERN_SOH "3" /* error conditions */ ^ /kisskb/src/include/linux/printk.h:302:9: note: in expansion of macro 'KERN_ERR' printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) ^ /kisskb/src/fs/fs_parser.c:413:6: note: in expansion of macro 'pr_err' pr_err("VALIDATE %s: e[%lu] enum val for %s\n", ^ /kisskb/src/net/sunrpc/xprtsock.c: In function 'xs_stream_data_receive_workfn': /kisskb/src/net/sunrpc/xprtsock.c:498:15: warning: 'read' may be used uninitialized in this function [-Wmaybe-uninitialized] size_t want, read; ^ /kisskb/src/net/sunrpc/xprtsock.c:529:9: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] return ret < 0 ? ret : read; ^ /kisskb/src/net/sunrpc/xprtsock.c:499:10: note: 'ret' was declared here ssize_t ret; ^ INFO: Uncompressed kernel (size 0x4f50e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-5.1.0-rc2-ge7d9a4c41f8e Created: Fri Mar 29 02:32:21 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2539652 Bytes = 2480.13 KiB = 2.42 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_83xx_kmeter1_defconfig_powerpc-gcc5 # Build took: 0:00:40.822770