# 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-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 c9818c0abfb0c3500684bb2bc75981123d63134d # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc44x_defconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x5d7778) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5d7778) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5d7778) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5d7778) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5d7778) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5d7778) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5d7778) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5d7778) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5d7778) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5d7778) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5d7778) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.9.0-rc2-gc9818c0abfb0 Created: Tue Oct 20 01:23:21 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2997167 Bytes = 2926.92 KiB = 2.86 MiB Load Address: 00600000 Entry Point: 006000c4 Image Name: Linux-5.9.0-rc2-gc9818c0abfb0 Created: Tue Oct 20 01:23:21 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2997187 Bytes = 2926.94 KiB = 2.86 MiB Load Address: 00600000 Entry Point: 00601544 Image Name: Linux-5.9.0-rc2-gc9818c0abfb0 Created: Tue Oct 20 01:23:21 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2997156 Bytes = 2926.91 KiB = 2.86 MiB Load Address: 00600000 Entry Point: 006001b8 Image Name: Linux-5.9.0-rc2-gc9818c0abfb0 Created: Tue Oct 20 01:23:21 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2997160 Bytes = 2926.91 KiB = 2.86 MiB Load Address: 00600000 Entry Point: 00601534 Image Name: Linux-5.9.0-rc2-gc9818c0abfb0 Created: Tue Oct 20 01:23:21 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2997171 Bytes = 2926.92 KiB = 2.86 MiB Load Address: 00600000 Entry Point: 00601534 Image Name: Linux-5.9.0-rc2-gc9818c0abfb0 Created: Tue Oct 20 01:23:21 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2997102 Bytes = 2926.86 KiB = 2.86 MiB Load Address: 00600000 Entry Point: 00601534 Image Name: Linux-5.9.0-rc2-gc9818c0abfb0 Created: Tue Oct 20 01:23:21 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2997109 Bytes = 2926.86 KiB = 2.86 MiB Load Address: 00600000 Entry Point: 00601524 Image Name: Linux-5.9.0-rc2-gc9818c0abfb0 Created: Tue Oct 20 01:23:21 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2997133 Bytes = 2926.89 KiB = 2.86 MiB Load Address: 00600000 Entry Point: 00601514 Image Name: Linux-5.9.0-rc2-gc9818c0abfb0 Created: Tue Oct 20 01:23:21 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2997214 Bytes = 2926.97 KiB = 2.86 MiB Load Address: 00600000 Entry Point: 0060152c Completed OK # rm -rf /kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc5 # Build took: 0:01:12.880468