# 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 120 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_mpc8540_ads_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 85xx/mpc8540_ads_defconfig # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_mpc8540_ads_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_mpc8540_ads_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_mpc8540_ads_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x537700) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x527148) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.13.0-rc2-g8554e45273f0 Created: Sat May 22 04:10:45 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2693180 Bytes = 2630.06 KiB = 2.57 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.13.0-rc2-g8554e45273f0 Created: Sat May 22 04:10:45 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2721705 Bytes = 2657.92 KiB = 2.60 MiB Load Address: 00600000 Entry Point: 006002a4 Completed OK # rm -rf /kisskb/build/powerpc-next_85xx_mpc8540_ads_defconfig_powerpc-gcc5 # Build took: 0:00:30.249493