# git rev-parse -q --verify 8554e45273f0bf09a6efaa32f9f772335e19f429^{commit} 8554e45273f0bf09a6efaa32f9f772335e19f429 already have revision, skipping fetch # git checkout -q -f -B kisskb 8554e45273f0bf09a6efaa32f9f772335e19f429 # git clean -qxdf # < git log -1 # commit 8554e45273f0bf09a6efaa32f9f772335e19f429 # Author: Christophe Leroy # Date: Thu May 13 09:07:53 2021 +0000 # # powerpc/kprobes: Replace ppc_optinsn by common optinsn # # Commit 51c9c0843993 ("powerpc/kprobes: Implement Optprobes") # implemented a powerpc specific version of optinsn in order # to workaround the 32Mb limitation for direct branches. # # Instead of implementing a dedicated powerpc version, use the # common optinsn and override the allocation and freeing functions. # # This also indirectly remove the CLANG warning about # is_kprobe_ppc_optinsn_slot() not being use, and the powerpc will # now benefit from commit 5b485629ba0d ("kprobes, extable: Identify # kprobes trampolines as kernel text area") # # Suggested-by: Masami Hiramatsu # Signed-off-by: Christophe Leroy # Acked-by: Masami Hiramatsu # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/ec5e85f9f9abcfecc959a03495f4a7858eb4d203.1620896780.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 8554e45273f0bf09a6efaa32f9f772335e19f429 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_pasemi_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pasemi_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_pasemi_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_pasemi_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_pasemi_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-next_pasemi_defconfig_powerpc-gcc5 # Build took: 0:01:28.399274