# git rev-parse -q --verify 3f51a5add7bc61eddbd1049eb0fbd7ee95cd08ac^{commit} 3f51a5add7bc61eddbd1049eb0fbd7ee95cd08ac already have revision, skipping fetch # git checkout -q -f -B kisskb 3f51a5add7bc61eddbd1049eb0fbd7ee95cd08ac # git clean -qxdf # < git log -1 # commit 3f51a5add7bc61eddbd1049eb0fbd7ee95cd08ac # Author: Christophe Leroy # Date: Thu Dec 2 13:00:27 2021 +0100 # # powerpc/code-patching: Replace patch_instruction() by ppc_inst_write() in selftests # # The purpose of selftests is to check that instructions are # properly formed. Not to check that they properly run. # # For that test it uses normal memory, not special test # memory. # # In preparation of a future patch enforcing patch_instruction() # to be used only on valid text areas, implement a ppc_inst_write() # instruction which is the complement of ppc_inst_read(). This # new function writes the formated instruction in valid kernel # memory and doesn't bother about icache. # # Signed-off-by: Christophe Leroy # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/7cf5335cc07ca9b6f8cdaa20ca9887fce4df3bea.1638446239.git.christophe.leroy@csgroup.eu # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 3f51a5add7bc61eddbd1049eb0fbd7ee95cd08ac # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-allnoconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- allnoconfig # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-allnoconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-allnoconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-allnoconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- :1559:2: warning: #warning syscall futex_waitv not implemented [-Wcpp] Completed OK # rm -rf /kisskb/build/powerpc-next_powerpc-allnoconfig_powerpc-gcc9 # Build took: 0:00:37.259260