# 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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-gcc --version # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-ld --version # < git log --format=%s --max-count=1 6f3a81b60091031c2c14eb2373d1937b027deb46 # < make -s -j 32 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- defconfig # < make -s -j 32 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- help # make -s -j 32 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- olddefconfig # make -s -j 32 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- /kisskb/src/arch/mips/boot/dts/img/boston.dts:128.19-178.5: Warning (pci_device_reg): /pci@14000000/pci2_root@0,0,0: PCI unit address format error, expected "0,0" Completed OK # rm -rf /kisskb/build/powerpc-next_mips-defconfig_mipsel-gcc5 # Build took: 0:01:20.997437