# git rev-parse -q --verify 1df3af6dc3cfe643f43d46f202bd44861ccbdb99^{commit} 1df3af6dc3cfe643f43d46f202bd44861ccbdb99 already have revision, skipping fetch # git checkout -q -f -B kisskb 1df3af6dc3cfe643f43d46f202bd44861ccbdb99 # git clean -qxdf # < git log -1 # commit 1df3af6dc3cfe643f43d46f202bd44861ccbdb99 # Author: Nicholas Piggin # Date: Tue Jul 6 15:13:10 2021 +1000 # # powerpc/64e: Fix system call illegal mtmsrd instruction # # BookE does not have mtmsrd, switch to use wrteei to enable MSR[EE]. # # Fixes: dd152f70bdc1 ("powerpc/64s: system call avoid setting MSR[RI] until we set MSR[EE]") # Reported-by: Christian Zigotzky # Signed-off-by: Nicholas Piggin # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20210706051310.608992-1-npiggin@gmail.com # < /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 1df3af6dc3cfe643f43d46f202bd44861ccbdb99 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pmac32_defconfig # Added to kconfig CONFIG_SMP=y # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4192:warning: override: reassigning to symbol SMP # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0xad8fac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Completed OK # rm -rf /kisskb/build/powerpc-fixes_pmac32_defconfig+SMP_powerpc-gcc5 # Build took: 0:01:07.346023