# 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/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 e7d9a4c41f8e9eb2a02092a0e22fa2ae54f8caa5 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-allnoconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- allnoconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-allnoconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-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] /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:187:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] Completed OK # rm -rf /kisskb/build/powerpc-next_powerpc-allnoconfig_powerpc-gcc4.6 # Build took: 0:00:11.391427