# 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-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 6f3a81b60091031c2c14eb2373d1937b027deb46 # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet32_smp_defconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- corenet32_smp_defconfig # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet32_smp_defconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet32_smp_defconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet32_smp_defconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c: In function 'dpaa_eth_show_addr': /kisskb/src/drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:21:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 21 | (unsigned long long)mac_dev->vaddr); | ^ Completed OK # rm -rf /kisskb/build/powerpc-next_corenet32_smp_defconfig_powerpc-gcc12 # Build took: 0:03:22.205517