# git rev-parse -q --verify 6f3a81b60091031c2c14eb2373d1937b027deb46^{commit} 6f3a81b60091031c2c14eb2373d1937b027deb46 already have revision, skipping fetch # git checkout -q -f -B kisskb 6f3a81b60091031c2c14eb2373d1937b027deb46 # git clean -qxdf # < git log -1 # commit 6f3a81b60091031c2c14eb2373d1937b027deb46 # Author: Christophe Leroy # Date: Fri Dec 2 09:31:43 2022 +0100 # # powerpc/code-patching: Remove protection against patching init addresses after init # # Once init section is freed, attempting to patch init code # ends up in the weed. # # Commit 51c3c62b58b3 ("powerpc: Avoid code patching freed init sections") # protected patch_instruction() against that, but it is the responsibility # of the caller to ensure that the patched memory is valid. # # All callers have now been verified and fixed so the check # can be removed. # # This improves ftrace activation by about 2% on 8xx. # # Signed-off-by: Christophe Leroy # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/504310828f473d424e2ed229eff57bf075f52796.1669969781.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 6f3a81b60091031c2c14eb2373d1937b027deb46 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_tqm8541_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 85xx/tqm8541_defconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_tqm8541_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_tqm8541_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_tqm8541_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_85xx_tqm8541_defconfig_powerpc-gcc5 # Build took: 0:00:38.386648