# git rev-parse -q --verify 960b6f657c92adab4931653f9dc0e94ed5da1975^{commit} 960b6f657c92adab4931653f9dc0e94ed5da1975 already have revision, skipping fetch # git checkout -q -f -B kisskb 960b6f657c92adab4931653f9dc0e94ed5da1975 # git clean -qxdf # < git log -1 # commit 960b6f657c92adab4931653f9dc0e94ed5da1975 # Author: Michael Ellerman # Date: Thu Apr 5 22:39:34 2018 +1000 # # powerpc/64s: Fix section mismatch warnings from setup_rfi_flush() # # The recent LPM changes to setup_rfi_flush() are causing some section # mismatch warnings because we removed the __init annotation on # setup_rfi_flush(): # # The function setup_rfi_flush() references # the function __init ppc64_bolted_size(). # the function __init memblock_alloc_base(). # # The references are actually in init_fallback_flush(), but that is # inlined into setup_rfi_flush(). # # These references are safe because: # - only pseries calls setup_rfi_flush() at runtime # - pseries always passes L1D_FLUSH_FALLBACK at boot # - so the fallback flush area will always be allocated # - so the check in init_fallback_flush() will always return early: # /* Only allocate the fallback flush area once (at boot time). */ # if (l1d_flush_fallback_area) # return; # # - and therefore we won't actually call the freed init routines. # # We should rework the code to make it safer by default rather than # relying on the above, but for now as a quick-fix just add a __ref # annotation to squash the warning. # # Fixes: abf110f3e1ce ("powerpc/rfi-flush: Make it possible to call setup_rfi_flush() again") # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 960b6f657c92adab4931653f9dc0e94ed5da1975 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.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)) ^ INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb3ceb8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.16.0-rc4-g960b6f6 Created: Fri Apr 6 04:05:03 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5563589 Bytes = 5433.19 kB = 5.31 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-g960b6f6 Created: Fri Apr 6 04:05:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5563087 Bytes = 5432.70 kB = 5.31 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-g960b6f6 Created: Fri Apr 6 04:05:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5563034 Bytes = 5432.65 kB = 5.31 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-g960b6f6 Created: Fri Apr 6 04:05:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5563728 Bytes = 5433.33 kB = 5.31 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-g960b6f6 Created: Fri Apr 6 04:05:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5563340 Bytes = 5432.95 kB = 5.31 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-g960b6f6 Created: Fri Apr 6 04:05:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5563000 Bytes = 5432.62 kB = 5.31 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-g960b6f6 Created: Fri Apr 6 04:05:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5538870 Bytes = 5409.05 kB = 5.28 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.16.0-rc4-g960b6f6 Created: Fri Apr 6 04:05:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5562436 Bytes = 5432.07 kB = 5.30 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-g960b6f6 Created: Fri Apr 6 04:05:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5563000 Bytes = 5432.62 kB = 5.31 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-g960b6f6 Created: Fri Apr 6 04:05:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5562680 Bytes = 5432.30 kB = 5.30 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc4-g960b6f6 Created: Fri Apr 6 04:05:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5563027 Bytes = 5432.64 kB = 5.31 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc4-g960b6f6 Created: Fri Apr 6 04:05:05 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5562579 Bytes = 5432.21 kB = 5.30 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc4-g960b6f6 Created: Fri Apr 6 04:05:05 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5562609 Bytes = 5432.24 kB = 5.30 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-g960b6f6 Created: Fri Apr 6 04:05:05 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5563045 Bytes = 5432.66 kB = 5.31 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc4-g960b6f6 Created: Fri Apr 6 04:05:05 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5562578 Bytes = 5432.21 kB = 5.30 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc4-g960b6f6 Created: Fri Apr 6 04:05:05 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5562889 Bytes = 5432.51 kB = 5.31 MB Load Address: 00c00000 Entry Point: 00c0020c Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-5.3 # Build took: 0:01:42.707816