# 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_ppc64e_defconfig+UP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64e_defconfig # Added to kconfig CONFIG_SMP=n # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64e_defconfig+UP_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_ppc64e_defconfig+UP_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_ppc64e_defconfig+UP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0xc8415c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.13.0-rc2-g8554e45273f0 Created: Sat May 22 03:43:22 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5049083 Bytes = 4930.75 KiB = 4.82 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc64e_defconfig+UP_powerpc-gcc5 # Build took: 0:01:51.748624