# 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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-gcc --version # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-ld --version # < git log --format=%s --max-count=1 c9818c0abfb0c3500684bb2bc75981123d63134d # < make -s -j 48 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- defconfig # < make -s -j 48 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- help # make -s -j 48 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- olddefconfig # make -s -j 48 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- FIT description: Linux 5.9.0-rc2-gc9818c0abfb0 Created: Tue Oct 20 03:22:59 2020 Image 0 (kernel@0) Description: Linux 5.9.0-rc2-gc9818c0abfb0 Created: Tue Oct 20 03:22:59 2020 Type: Kernel Image Compression: gzip compressed Data Size: 5076703 Bytes = 4957.72 KiB = 4.84 MiB Architecture: MIPS OS: Linux Load Address: 0x80100000 Entry Point: 0x80955b00 Hash algo: sha1 Hash value: dd2c3bff8b7b0a6e6b83a88a8a915718c36818ea Image 1 (fdt@boston) Description: img,boston Device Tree Created: Tue Oct 20 03:22:59 2020 Type: Flat Device Tree Compression: uncompressed Data Size: 3793 Bytes = 3.70 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 4799f50d688573234da6e9d7701234d394759ef4 Image 2 (fdt@ni169445) Description: NI 169445 device tree Created: Tue Oct 20 03:22:59 2020 Type: Flat Device Tree Compression: uncompressed Data Size: 1871 Bytes = 1.83 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 51b89b31605ee62038c8468c429af091dfc75ec7 Image 3 (fdt@ocelot_pcb123) Description: MSCC Ocelot PCB123 Device Tree Created: Tue Oct 20 03:22:59 2020 Type: Flat Device Tree Compression: uncompressed Data Size: 4639 Bytes = 4.53 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: be2724f58b66c316a61da7c11ced633f4e7e86c7 Image 4 (fdt@ocelot_pcb120) Description: MSCC Ocelot PCB120 Device Tree Created: Tue Oct 20 03:22:59 2020 Type: Flat Device Tree Compression: uncompressed Data Size: 5398 Bytes = 5.27 KiB = 0.01 MiB Architecture: MIPS Hash algo: sha1 Hash value: 2a757b83ef9e9d35fb6c43bdbde70d311b3e4555 Image 5 (fdt@xilfpga) Description: MIPSfpga (xilfpga) Device Tree Created: Tue Oct 20 03:22:59 2020 Type: Flat Device Tree Compression: uncompressed Data Size: 2708 Bytes = 2.64 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 63d058b780f65e22da30f0a183433765f1807f1d Default Configuration: 'conf@default' Configuration 0 (conf@default) Description: Generic Linux kernel Kernel: kernel@0 Configuration 1 (conf@boston) Description: Boston Linux kernel Kernel: kernel@0 FDT: fdt@boston Configuration 2 (conf@ni169445) Description: NI 169445 Linux Kernel Kernel: kernel@0 FDT: fdt@ni169445 Configuration 3 (conf@ocelot_pcb123) Description: Ocelot Linux kernel Kernel: kernel@0 FDT: fdt@ocelot_pcb123 Configuration 4 (conf@ocelot_pcb120) Description: Ocelot Linux kernel Kernel: kernel@0 FDT: fdt@ocelot_pcb120 Configuration 5 (conf@xilfpga) Description: MIPSfpga Linux kernel Kernel: kernel@0 FDT: fdt@xilfpga Completed OK # rm -rf /kisskb/build/powerpc-next_mips-defconfig_mipsel # Build took: 0:01:43.836988