# git rev-parse -q --verify 388692e943a58f28aac0fe83e75f5994da9ff8a1^{commit} 388692e943a58f28aac0fe83e75f5994da9ff8a1 already have revision, skipping fetch # git checkout -q -f -B kisskb 388692e943a58f28aac0fe83e75f5994da9ff8a1 # git clean -qxdf # < git log -1 # commit 388692e943a58f28aac0fe83e75f5994da9ff8a1 # Author: Madhavan Srinivasan # Date: Mon Aug 17 06:26:17 2020 +0530 # # powerpc/kernel: Cleanup machine check function declarations # # __machine_check_early_realmode_p*() are currently declared as extern # in cputable.c and because of this when compiled with "C=1" (which # enables semantic checker) produces these warnings. # # CHECK arch/powerpc/kernel/mce_power.c # arch/powerpc/kernel/mce_power.c:709:6: warning: symbol '__machine_check_early_realmode_p7' was not declared. Should it be static? # arch/powerpc/kernel/mce_power.c:717:6: warning: symbol '__machine_check_early_realmode_p8' was not declared. Should it be static? # arch/powerpc/kernel/mce_power.c:722:6: warning: symbol '__machine_check_early_realmode_p9' was not declared. Should it be static? # arch/powerpc/kernel/mce_power.c:740:6: warning: symbol '__machine_check_early_realmode_p10' was not declared. Should it be static? # # Patch here moves the declaration to asm/mce.h and includes the same in # cputable.c # # Fixes: ae744f3432d3 ("powerpc/book3s: Flush SLB/TLBs if we get SLB/TLB machine check errors on power8") # Fixes: 7b9f71f974a1 ("powerpc/64s: POWER9 machine check handler") # Signed-off-by: Madhavan Srinivasan # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20200817005618.3305028-1-maddy@linux.ibm.com # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 388692e943a58f28aac0fe83e75f5994da9ff8a1 # < make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # < make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc6xx_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/kernel/rcu/update.c:591:0: /kisskb/src/kernel/rcu/tasks.h:593:13: warning: 'show_rcu_tasks_classic_gp_kthread' defined but not used [-Wunused-function] static void show_rcu_tasks_classic_gp_kthread(void) { } ^ In file included from /kisskb/src/include/linux/skbuff.h:31:0, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:37, from /kisskb/src/drivers/net/ethernet/sfc/net_driver.h:13, from /kisskb/src/drivers/net/ethernet/sfc/ef100.c:12: /kisskb/src/drivers/net/ethernet/sfc/ef100.c: In function 'ef100_pci_parse_continue_entry': /kisskb/src/include/linux/dma-mapping.h:139:25: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) ^ /kisskb/src/drivers/net/ethernet/sfc/ef100.c:145:6: note: in expansion of macro 'DMA_BIT_MASK' DMA_BIT_MASK(ESF_GZ_TX_SEND_ADDR_WIDTH), ^ /kisskb/src/include/linux/dma-mapping.h:139:25: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) ^ /kisskb/src/drivers/net/ethernet/sfc/ef100.c:163:6: note: in expansion of macro 'DMA_BIT_MASK' DMA_BIT_MASK(ESF_GZ_TX_SEND_ADDR_WIDTH), ^ /kisskb/src/drivers/net/ethernet/sfc/ef100.c: In function 'ef100_pci_parse_xilinx_cap': /kisskb/src/include/linux/dma-mapping.h:139:25: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) ^ /kisskb/src/drivers/net/ethernet/sfc/ef100.c:337:5: note: in expansion of macro 'DMA_BIT_MASK' DMA_BIT_MASK(ESF_GZ_TX_SEND_ADDR_WIDTH), ^ /kisskb/src/drivers/net/ethernet/sfc/ef100.c: In function 'ef100_pci_probe': /kisskb/src/include/linux/dma-mapping.h:139:25: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) ^ /kisskb/src/drivers/net/ethernet/sfc/ef100.c:498:5: note: in expansion of macro 'DMA_BIT_MASK' DMA_BIT_MASK(ESF_GZ_TX_SEND_ADDR_WIDTH), ^ INFO: Uncompressed kernel (size 0xaf9b60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xaf9b60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xaf9b60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xae9478) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xaf9b60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xaf9b60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-5.9.0-rc1+ Created: Mon Aug 17 18:53:57 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5237387 Bytes = 5114.64 KiB = 4.99 MiB Load Address: 00000000 Entry Point: 00000000 INFO: Uncompressed kernel (size 0xaf9b60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xaf9b60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-5.9.0-rc1+ Created: Mon Aug 17 18:53:58 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5267463 Bytes = 5144.01 KiB = 5.02 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.9.0-rc1+ Created: Mon Aug 17 18:53:58 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5267339 Bytes = 5143.89 KiB = 5.02 MiB Load Address: 00b00000 Entry Point: 00b00894 Image Name: Linux-5.9.0-rc1+ Created: Mon Aug 17 18:53:58 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5267448 Bytes = 5143.99 KiB = 5.02 MiB Load Address: 00b00000 Entry Point: 00b00894 INFO: Uncompressed kernel (size 0xaf9b60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xaf9b60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xaf9b60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xae9478) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-5.9.0-rc1+ Created: Mon Aug 17 18:54:00 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5267674 Bytes = 5144.21 KiB = 5.02 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.9.0-rc1+ Created: Mon Aug 17 18:54:01 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5267461 Bytes = 5144.00 KiB = 5.02 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.9.0-rc1+ Created: Mon Aug 17 18:54:01 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5267918 Bytes = 5144.45 KiB = 5.02 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.9.0-rc1+ Created: Mon Aug 17 18:54:01 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5267590 Bytes = 5144.13 KiB = 5.02 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.9.0-rc1+ Created: Mon Aug 17 18:54:01 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5267431 Bytes = 5143.98 KiB = 5.02 MiB Load Address: 00b00000 Entry Point: 00b00294 Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-gcc5 # Build took: 0:05:46.591461