# 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-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 6f3a81b60091031c2c14eb2373d1937b027deb46 # < make -s -j 160 ARCH=x86 O=/kisskb/build/powerpc-next_x86_64_defconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- x86_64_defconfig # < make -s -j 160 ARCH=x86 O=/kisskb/build/powerpc-next_x86_64_defconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 160 ARCH=x86 O=/kisskb/build/powerpc-next_x86_64_defconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 160 ARCH=x86 O=/kisskb/build/powerpc-next_x86_64_defconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/powerpc-next_x86_64_defconfig_x86_64-gcc11 # Build took: 0:02:30.733123