# git rev-parse -q --verify c1bea0a840ac75dca19bc6aa05575a33eb9fd058^{commit} c1bea0a840ac75dca19bc6aa05575a33eb9fd058 already have revision, skipping fetch # git checkout -q -f -B kisskb c1bea0a840ac75dca19bc6aa05575a33eb9fd058 # git clean -qxdf # < git log -1 # commit c1bea0a840ac75dca19bc6aa05575a33eb9fd058 # Author: Michael Ellerman # Date: Tue Dec 15 12:57:20 2020 +1100 # # powerpc/32s: Fix cleanup_cpu_mmu_context() compile bug # # Currently pmac32_defconfig with SMP=y doesn't build: # # arch/powerpc/platforms/powermac/smp.c: # error: implicit declaration of function 'cleanup_cpu_mmu_context' # # It would be nice for consistency if all platforms clear mm_cpumask and # flush TLBs on unplug, but the TLB invalidation bug described in commit # 01b0f0eae081 ("powerpc/64s: Trim offlined CPUs from mm_cpumasks") only # applies to 64s and for now we only have the TLB flush code for that # platform. # # So just add an empty version for 32-bit Book3S. # # Fixes: 01b0f0eae081 ("powerpc/64s: Trim offlined CPUs from mm_cpumasks") # Reported-by: Geert Uytterhoeven # Signed-off-by: Nicholas Piggin # [mpe: Change log based on comments from Nick] # Signed-off-by: Michael Ellerman # < /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 c1bea0a840ac75dca19bc6aa05575a33eb9fd058 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_52xx_pcm030_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 52xx/pcm030_defconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_52xx_pcm030_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_52xx_pcm030_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_52xx_pcm030_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x5beb2c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.10.0-rc2trunk+ Created: Thu Dec 17 19:40:49 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2460144 Bytes = 2402.48 KiB = 2.35 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_52xx_pcm030_defconfig_powerpc-gcc5 # Build took: 0:00:56.218059