# git rev-parse -q --verify 0c83b277ada72b585e6a3e52b067669df15bcedb^{commit} 0c83b277ada72b585e6a3e52b067669df15bcedb already have revision, skipping fetch # git checkout -q -f -B kisskb 0c83b277ada72b585e6a3e52b067669df15bcedb # git clean -qxdf # < git log -1 # commit 0c83b277ada72b585e6a3e52b067669df15bcedb # Author: Michael Ellerman # Date: Tue Aug 4 22:44:06 2020 +1000 # # powerpc: Fix circular dependency between percpu.h and mmu.h # # Recently random.h started including percpu.h (see commit # f227e3ec3b5c ("random32: update the net random state on interrupt and # activity")), which broke corenet64_smp_defconfig: # # In file included from /linux/arch/powerpc/include/asm/paca.h:18, # from /linux/arch/powerpc/include/asm/percpu.h:13, # from /linux/include/linux/random.h:14, # from /linux/lib/uuid.c:14: # /linux/arch/powerpc/include/asm/mmu.h:139:22: error: unknown type name 'next_tlbcam_idx' # 139 | DECLARE_PER_CPU(int, next_tlbcam_idx); # # This is due to a circular header dependency: # asm/mmu.h includes asm/percpu.h, which includes asm/paca.h, which # includes asm/mmu.h # # Which means DECLARE_PER_CPU() isn't defined when mmu.h needs it. # # We can fix it by moving the include of paca.h below the include of # asm-generic/percpu.h. # # This moves the include of paca.h out of the #ifdef __powerpc64__, but # that is OK because paca.h is almost entirely inside #ifdef # CONFIG_PPC64 anyway. # # It also moves the include of paca.h out of the #ifdef CONFIG_SMP, # which could possibly break something, but seems to have no ill # effects. # # Fixes: f227e3ec3b5c ("random32: update the net random state on interrupt and activity") # Cc: stable@vger.kernel.org # v5.8 # Reported-by: Stephen Rothwell # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20200804130558.292328-1-mpe@ellerman.id.au # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/mips-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/mips-linux-ld --version # < git log --format=%s --max-count=1 0c83b277ada72b585e6a3e52b067669df15bcedb # < make -s -j 48 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mips-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/mips-linux- defconfig # < make -s -j 48 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mips-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/mips-linux- help # make -s -j 48 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mips-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/mips-linux- olddefconfig # make -s -j 48 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mips-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/mips-linux- FIT description: Linux 5.8.0-rc2-32203-g0c83b277ada7 Created: Wed Aug 5 04:00:57 2020 Image 0 (kernel@0) Description: Linux 5.8.0-rc2-32203-g0c83b277ada7 Created: Wed Aug 5 04:00:57 2020 Type: Kernel Image Compression: gzip compressed Data Size: 5000248 Bytes = 4883.05 KiB = 4.77 MiB Architecture: MIPS OS: Linux Load Address: 0x80100000 Entry Point: 0x8092c1e0 Hash algo: sha1 Hash value: 4ff365de558e8a4998477b6d08c937ba392089ae Image 1 (fdt@boston) Description: img,boston Device Tree Created: Wed Aug 5 04:00:57 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: Wed Aug 5 04:00:57 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: Wed Aug 5 04:00:57 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: Wed Aug 5 04:00:57 2020 Type: Flat Device Tree Compression: uncompressed Data Size: 5198 Bytes = 5.08 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 7556b1594bd7ab9e3b3fa939d8e3e03ae58fa180 Image 5 (fdt@xilfpga) Description: MIPSfpga (xilfpga) Device Tree Created: Wed Aug 5 04:00:57 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_mips-gcc4.9 # Build took: 0:01:38.916490