# git rev-parse -q --verify c8635bc26fc137c218cba3b48a834a667e3ac790^{commit} c8635bc26fc137c218cba3b48a834a667e3ac790 already have revision, skipping fetch # git checkout -q -f -B kisskb c8635bc26fc137c218cba3b48a834a667e3ac790 # git clean -qxdf # < git log -1 # commit c8635bc26fc137c218cba3b48a834a667e3ac790 # Author: Nicholas Piggin # Date: Sun May 13 14:21:06 2018 +1000 # # powerpc/64s/radix: optimise pte_update # # Implementing pte_update with pte_xchg (which uses cmpxchg) is # inefficient. A single larx/stcx. works fine, no need for the less # efficient cmpxchg sequence. # # Then remove the memory barriers from the operation. There is a # requirement for TLB flushing to load mm_cpumask after the store # that reduces pte permissions, which is moved into the TLB flush # code. # # Signed-off-by: Nicholas Piggin # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 c8635bc26fc137c218cba3b48a834a667e3ac790 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ep88xc_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ep88xc_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ep88xc_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/mm/fault.c: In function '__do_page_fault': /kisskb/src/arch/powerpc/mm/fault.c:520:7: error: implicit declaration of function 'fault_in_pages_readable' [-Werror=implicit-function-declaration] if (fault_in_pages_readable((const char __user *)regs->nip, ^ cc1: all warnings being treated as errors /kisskb/src/scripts/Makefile.build:312: recipe for target 'arch/powerpc/mm/fault.o' failed make[2]: *** [arch/powerpc/mm/fault.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/Makefile:1060: recipe for target 'arch/powerpc/mm' failed make[1]: *** [arch/powerpc/mm] Error 2 make[1]: *** Waiting for unfinished jobs.... Makefile:146: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 Command 'make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ep88xc_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next_ep88xc_defconfig_powerpc-5.3 # Build took: 0:00:16.520581