# git rev-parse -q --verify c9818c0abfb0c3500684bb2bc75981123d63134d^{commit} c9818c0abfb0c3500684bb2bc75981123d63134d already have revision, skipping fetch # git checkout -q -f -B kisskb c9818c0abfb0c3500684bb2bc75981123d63134d # git clean -qxdf # < git log -1 # commit c9818c0abfb0c3500684bb2bc75981123d63134d # Author: Jordan Niethe # Date: Wed Oct 14 18:28:37 2020 +1100 # # powerpc/64s: Convert some cpu_setup() and cpu_restore() functions to C # # The only thing keeping the cpu_setup() and cpu_restore() functions used # in the cputable entries for Power7, Power8, Power9 and Power10 in # assembly was cpu_restore() being called before there was a stack in # generic_secondary_smp_init(). Commit ("powerpc/64: Set up a kernel stack # for secondaries before cpu_restore()") means that it is now possible to # use C. # # Rewrite the functions in C so they are a little bit easier to read. This # is not changing their functionality. # # Signed-off-by: Jordan Niethe # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20201014072837.24539-2-jniethe5@gmail.com # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 c9818c0abfb0c3500684bb2bc75981123d63134d # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/kernel/rcu/update.c:591: /kisskb/src/kernel/rcu/tasks.h:593:13: warning: 'show_rcu_tasks_classic_gp_kthread' defined but not used [-Wunused-function] 593 | static void show_rcu_tasks_classic_gp_kthread(void) { } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ INFO: Uncompressed kernel (size 0xce3a40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xce3a40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xce3a40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xce3a40) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0xce3a40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xce3a40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xce3a40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xce3a40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xce3a40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd3358) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd3358) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xce3a40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.9.0-rc2+ Created: Tue Oct 20 02:22:03 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5719097 Bytes = 5585.06 KiB = 5.45 MiB Load Address: 00d00000 Entry Point: 00d002ac Image Name: Linux-5.9.0-rc2+ Created: Tue Oct 20 02:22:03 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5718647 Bytes = 5584.62 KiB = 5.45 MiB Load Address: 00d00000 Entry Point: 00d002ac Image Name: Linux-5.9.0-rc2+ Created: Tue Oct 20 02:22:03 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5683325 Bytes = 5550.12 KiB = 5.42 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.9.0-rc2+ Created: Tue Oct 20 02:22:03 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5718940 Bytes = 5584.90 KiB = 5.45 MiB Load Address: 00d00000 Entry Point: 00d0090c Image Name: Linux-5.9.0-rc2+ Created: Tue Oct 20 02:22:04 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5718197 Bytes = 5584.18 KiB = 5.45 MiB Load Address: 00d00000 Entry Point: 00d002ac Image Name: Linux-5.9.0-rc2+ Created: Tue Oct 20 02:22:04 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5718735 Bytes = 5584.70 KiB = 5.45 MiB Load Address: 00d00000 Entry Point: 00d002ac Image Name: Linux-5.9.0-rc2+ Created: Tue Oct 20 02:22:04 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5719794 Bytes = 5585.74 KiB = 5.45 MiB Load Address: 00d00000 Entry Point: 00d0090c Image Name: Linux-5.9.0-rc2+ Created: Tue Oct 20 02:22:05 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5718660 Bytes = 5584.63 KiB = 5.45 MiB Load Address: 00d00000 Entry Point: 00d002ac Image Name: Linux-5.9.0-rc2+ Created: Tue Oct 20 02:22:05 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5718801 Bytes = 5584.77 KiB = 5.45 MiB Load Address: 00d00000 Entry Point: 00d002ac Completed OK # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc9 # Build took: 0:04:22.268002