# git rev-parse -q --verify 7aec8604693cb387400565e7ef7c8ff8a6bfb791^{commit} 7aec8604693cb387400565e7ef7c8ff8a6bfb791 already have revision, skipping fetch # git checkout -q -f -B kisskb 7aec8604693cb387400565e7ef7c8ff8a6bfb791 # git clean -qxdf # < git log -1 # commit 7aec8604693cb387400565e7ef7c8ff8a6bfb791 # Author: Mathieu Malaterre # Date: Wed Dec 5 18:53:55 2018 +0100 # # powerpc/32: Move the old 6xx -mcpu logic before the TARGET_CPU logic # # The code: # # ifdef CONFIG_6xx # KBUILD_CFLAGS += -mcpu=powerpc # endif # # was added in 2006 in commit f48b8296b315 ("[PATCH] powerpc32: Set cpu # explicitly in kernel compiles"). This change was acceptable since the # TARGET_CPU logic was 64-bit only. # # Since commit 0e00a8c9fd92 ("powerpc: Allow CPU selection # also on PPC32") this logic is no longer acceptable after the TARGET_CPU # specific. It currently appends -mcpu=powerpc at the end of the command # line, after any TARGET_CPU specific: # # gcc -Wp,-MD,init/.do_mounts.o.d ... # -mcpu=powerpc -mbig-endian -m32 ... # -mcpu=e300c2 ... # -mcpu=powerpc ... # ../init/do_mounts.c # # Fixes: 0e00a8c9fd92 ("powerpc: Allow CPU selection also on PPC32") # Signed-off-by: Mathieu Malaterre # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 7aec8604693cb387400565e7ef7c8ff8a6bfb791 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_smp_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/kernel.h:10:0, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) ^ /kisskb/src/include/linux/compiler.h:77:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: note: in expansion of macro 'IS_ERR_VALUE' if (IS_ERR_VALUE(fep->ring_mem_addr)) ^ arch/powerpc/boot/dts/fsl/mpc8555cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/dts/fsl/mpc8541cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xc23c54) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc23c54) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc23c54) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc23c54) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc23c54) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc23c54) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc23c54) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc23c54) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc23c54) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc23c54) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0xc23c54) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc23c54) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc23c54) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc23c54) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc23c54) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc13460) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-4.20.0-rc2-g7aec8604693c Created: Sat Dec 8 05:35:34 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5998320 Bytes = 5857.73 KiB = 5.72 MiB Load Address: 00d00000 Entry Point: 00d002b0 Image Name: Linux-4.20.0-rc2-g7aec8604693c Created: Sat Dec 8 05:35:34 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5997822 Bytes = 5857.25 KiB = 5.72 MiB Load Address: 00d00000 Entry Point: 00d002b0 Image Name: Linux-4.20.0-rc2-g7aec8604693c Created: Sat Dec 8 05:35:34 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5997480 Bytes = 5856.91 KiB = 5.72 MiB Load Address: 00d00000 Entry Point: 00d002b0 Image Name: Linux-4.20.0-rc2-g7aec8604693c Created: Sat Dec 8 05:35:34 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5965713 Bytes = 5825.89 KiB = 5.69 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.20.0-rc2-g7aec8604693c Created: Sat Dec 8 05:35:34 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5996365 Bytes = 5855.83 KiB = 5.72 MiB Load Address: 00d00000 Entry Point: 00d00320 Image Name: Linux-4.20.0-rc2-g7aec8604693c Created: Sat Dec 8 05:35:34 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5996404 Bytes = 5855.86 KiB = 5.72 MiB Load Address: 00d00000 Entry Point: 00d002b0 Image Name: Linux-4.20.0-rc2-g7aec8604693c Created: Sat Dec 8 05:35:34 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5998358 Bytes = 5857.77 KiB = 5.72 MiB Load Address: 00d00000 Entry Point: 00d002b0 Image Name: Linux-4.20.0-rc2-g7aec8604693c Created: Sat Dec 8 05:35:34 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5998272 Bytes = 5857.69 KiB = 5.72 MiB Load Address: 00d00000 Entry Point: 00d002b0 Image Name: Linux-4.20.0-rc2-g7aec8604693c Created: Sat Dec 8 05:35:34 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5996363 Bytes = 5855.82 KiB = 5.72 MiB Load Address: 00d00000 Entry Point: 00d00320 Image Name: Linux-4.20.0-rc2-g7aec8604693c Created: Sat Dec 8 05:35:34 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5997431 Bytes = 5856.87 KiB = 5.72 MiB Load Address: 00d00000 Entry Point: 00d00320 Image Name: Linux-4.20.0-rc2-g7aec8604693c Created: Sat Dec 8 05:35:34 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5997345 Bytes = 5856.78 KiB = 5.72 MiB Load Address: 00d00000 Entry Point: 00d002b0 Image Name: Linux-4.20.0-rc2-g7aec8604693c Created: Sat Dec 8 05:35:34 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5997342 Bytes = 5856.78 KiB = 5.72 MiB Load Address: 00d00000 Entry Point: 00d002b0 Image Name: Linux-4.20.0-rc2-g7aec8604693c Created: Sat Dec 8 05:35:34 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5998529 Bytes = 5857.94 KiB = 5.72 MiB Load Address: 00d00000 Entry Point: 00d002b0 Image Name: Linux-4.20.0-rc2-g7aec8604693c Created: Sat Dec 8 05:35:34 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5997503 Bytes = 5856.94 KiB = 5.72 MiB Load Address: 00d00000 Entry Point: 00d00320 Image Name: Linux-4.20.0-rc2-g7aec8604693c Created: Sat Dec 8 05:35:35 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5996530 Bytes = 5855.99 KiB = 5.72 MiB Load Address: 00d00000 Entry Point: 00d00320 Image Name: Linux-4.20.0-rc2-g7aec8604693c Created: Sat Dec 8 05:35:35 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5996365 Bytes = 5855.83 KiB = 5.72 MiB Load Address: 00d00000 Entry Point: 00d002b0 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-gcc5 # Build took: 0:02:08.579583