# 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-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 e7d9a4c41f8e9eb2a02092a0e22fa2ae54f8caa5 # < make -s -j 80 ARCH=x86 O=/kisskb/build/powerpc-next_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- x86_64_defconfig # make -s -j 80 ARCH=x86 O=/kisskb/build/powerpc-next_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/powerpc-next_x86_64_defconfig_x86_64-gcc8 # Build took: 0:02:01.607930