# git rev-parse -q --verify c0842fbc1b18c7a044e6ff3e8fa78bfa822c7d1a^{commit} c0842fbc1b18c7a044e6ff3e8fa78bfa822c7d1a already have revision, skipping fetch # git checkout -q -f -B kisskb c0842fbc1b18c7a044e6ff3e8fa78bfa822c7d1a # git clean -qxdf # < git log -1 # commit c0842fbc1b18c7a044e6ff3e8fa78bfa822c7d1a # Author: Linus Torvalds # Date: Fri Jul 31 07:51:14 2020 +0200 # # random32: move the pseudo-random 32-bit definitions to prandom.h # # The addition of percpu.h to the list of includes in random.h revealed # some circular dependencies on arm64 and possibly other platforms. This # include was added solely for the pseudo-random definitions, which have # nothing to do with the rest of the definitions in this file but are # still there for legacy reasons. # # This patch moves the pseudo-random parts to linux/prandom.h and the # percpu.h include with it, which is now guarded by _LINUX_PRANDOM_H and # protected against recursive inclusion. # # A further cleanup step would be to remove this from # entirely, and make people who use the prandom infrastructure include # just the new header file. That's a bit of a churn patch, but grepping # for "prandom_" and "next_pseudo_random32" "struct rnd_state" should # catch most users. # # But it turns out that that nice cleanup step is fairly painful, because # a _lot_ of code currently seems to depend on the implicit include of # , which can currently come in a lot of ways, including # such fairly core headfers as . # # So the "nice cleanup" part may or may never happen. # # Fixes: 1c9df907da83 ("random: fix circular include dependency on arm64 after addition of percpu.h") # Tested-by: Guenter Roeck # Acked-by: Willy Tarreau # Signed-off-by: Linus Torvalds # < /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 c0842fbc1b18c7a044e6ff3e8fa78bfa822c7d1a # < make -s -j 80 ARCH=powerpc O=/kisskb/build/linus_ppc44x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc44x_defconfig # < make -s -j 80 ARCH=powerpc O=/kisskb/build/linus_ppc44x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 80 ARCH=powerpc O=/kisskb/build/linus_ppc44x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/linus_ppc44x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /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=] } ^ /kisskb/src/arch/powerpc/boot/dts/katmai.dts:322.26-361.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:363.26-402.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:404.26-443.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x5db67c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5db67c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5db67c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5db67c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5db67c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5db67c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5db67c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5db67c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5db67c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5db67c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5db67c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.8.0-gc0842fbc1b18 Created: Tue Aug 4 22:14:58 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3022082 Bytes = 2951.25 KiB = 2.88 MiB Load Address: 00600000 Entry Point: 00601498 Image Name: Linux-5.8.0-gc0842fbc1b18 Created: Tue Aug 4 22:14:58 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3022813 Bytes = 2951.97 KiB = 2.88 MiB Load Address: 00600000 Entry Point: 006000c4 Image Name: Linux-5.8.0-gc0842fbc1b18 Created: Tue Aug 4 22:14:58 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3022735 Bytes = 2951.89 KiB = 2.88 MiB Load Address: 00600000 Entry Point: 00601488 Image Name: Linux-5.8.0-gc0842fbc1b18 Created: Tue Aug 4 22:14:58 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3022594 Bytes = 2951.75 KiB = 2.88 MiB Load Address: 00600000 Entry Point: 006014a8 Image Name: Linux-5.8.0-gc0842fbc1b18 Created: Tue Aug 4 22:14:58 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3022095 Bytes = 2951.26 KiB = 2.88 MiB Load Address: 00600000 Entry Point: 006014b8 Image Name: Linux-5.8.0-gc0842fbc1b18 Created: Tue Aug 4 22:14:58 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3022703 Bytes = 2951.86 KiB = 2.88 MiB Load Address: 00600000 Entry Point: 006014a8 Image Name: Linux-5.8.0-gc0842fbc1b18 Created: Tue Aug 4 22:14:58 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3022496 Bytes = 2951.66 KiB = 2.88 MiB Load Address: 00600000 Entry Point: 006014a0 Image Name: Linux-5.8.0-gc0842fbc1b18 Created: Tue Aug 4 22:14:58 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3021656 Bytes = 2950.84 KiB = 2.88 MiB Load Address: 00600000 Entry Point: 006014a8 Image Name: Linux-5.8.0-gc0842fbc1b18 Created: Tue Aug 4 22:14:58 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3021905 Bytes = 2951.08 KiB = 2.88 MiB Load Address: 00600000 Entry Point: 006001b8 Completed OK # rm -rf /kisskb/build/linus_ppc44x_defconfig_powerpc-gcc4.9 # Build took: 0:01:04.098287