# 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_44x_bamboo_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/bamboo_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_bamboo_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_44x_bamboo_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_44x_bamboo_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x4f50e0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) INFO: Uncompressed kernel (size 0x4f50e0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-5.13.0-rc2-112605-g8554e45 Created: Sat May 22 04:21:12 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2504332 Bytes = 2445.64 KiB = 2.39 MiB Load Address: 00500000 Entry Point: 005001b8 Completed OK # rm -rf /kisskb/build/powerpc-next_44x_bamboo_defconfig_powerpc-gcc5 # Build took: 0:00:42.422902