# 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-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-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_mpc5200_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc5200_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc5200_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc5200_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc5200_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/platforms/52xx/lite5200_sleep.S: Assembler messages: /kisskb/src/arch/powerpc/platforms/52xx/lite5200_sleep.S:184: Warning: invalid register expression /kisskb/src/block/genhd.c: In function 'diskstats_show': /kisskb/src/block/genhd.c:1667:1: warning: the frame size of 1160 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/lib/zstd/compress.c: In function 'ZSTD_compressBlock_doubleFast': /kisskb/src/lib/zstd/compress.c:1393:1: warning: the frame size of 1584 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ INFO: Uncompressed kernel (size 0x7d55e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x7d55e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x7d55e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x7c4f30) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) Image Name: Linux-5.9.0-rc2-48379-gc9818c0ab Created: Tue Oct 20 03:01:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3734402 Bytes = 3646.88 KiB = 3.56 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.9.0-rc2-48379-gc9818c0ab Created: Tue Oct 20 03:01:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3764906 Bytes = 3676.67 KiB = 3.59 MiB Load Address: 00800000 Entry Point: 00800274 Image Name: Linux-5.9.0-rc2-48379-gc9818c0ab Created: Tue Oct 20 03:01:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3764437 Bytes = 3676.21 KiB = 3.59 MiB Load Address: 00800000 Entry Point: 00800274 Image Name: Linux-5.9.0-rc2-48379-gc9818c0ab Created: Tue Oct 20 03:01:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3764904 Bytes = 3676.66 KiB = 3.59 MiB Load Address: 00800000 Entry Point: 00800274 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc5200_defconfig_powerpc-gcc4.9 # Build took: 0:01:09.689259