# 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-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 3f51a5add7bc61eddbd1049eb0fbd7ee95cd08ac # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc40x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc40x_defconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc40x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc40x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc40x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.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_ppc40x_defconfig_powerpc-gcc5 # Build took: 0:01:09.705373