# git rev-parse -q --verify 6cc5522b62bbc176e1a5666c401466a37ffc746e^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/linuxppc/linux.git next-test warning: The last gc run reported the following. Please correct the root cause and remove .git/gc.log. Automatic cleanup will not be performed until the file is removed. warning: There are too many unreachable loose objects; run 'git prune' to remove them. # git rev-parse -q --verify 6cc5522b62bbc176e1a5666c401466a37ffc746e^{commit} 6cc5522b62bbc176e1a5666c401466a37ffc746e # git checkout -q -f -B kisskb 6cc5522b62bbc176e1a5666c401466a37ffc746e # git clean -qxdf # < git log -1 # commit 6cc5522b62bbc176e1a5666c401466a37ffc746e # Author: Christophe Leroy # Date: Sat Nov 21 17:59:19 2020 +0000 # # powerpc: inline iomap accessors # # ioreadXX()/ioreadXXbe() accessors are equivalent to ppc # in_leXX()/in_be16() accessors but they are not inlined. # # Since commit 0eb573682872 ("powerpc/kerenl: Enable EEH for IO # accessors"), the 'le' versions are equivalent to the ones # defined in asm-generic/io.h, allthough the ones there are inlined. # # Include asm-generic/io.h to get them. Keep ppc versions of the # 'be' ones as they are optimised, but make them inline in ppc io.h. # # This reduces the size of ppc64e_defconfig build by 3 kbytes: # # text data bss dec hex filename # 10160733 4343422 562972 15067127 e5e7f7 vmlinux.before # 10159239 4341590 562972 15063801 e5daf9 vmlinux.after # # A typical function using ioread and iowrite before the change: # # c00000000066a3c4 <.ata_bmdma_stop>: # c00000000066a3c4: 7c 08 02 a6 mflr r0 # c00000000066a3c8: fb c1 ff f0 std r30,-16(r1) # c00000000066a3cc: f8 01 00 10 std r0,16(r1) # c00000000066a3d0: fb e1 ff f8 std r31,-8(r1) # c00000000066a3d4: f8 21 ff 81 stdu r1,-128(r1) # c00000000066a3d8: eb e3 00 00 ld r31,0(r3) # c00000000066a3dc: eb df 00 98 ld r30,152(r31) # c00000000066a3e0: 7f c3 f3 78 mr r3,r30 # c00000000066a3e4: 4b 9b 6f 7d bl c000000000021360 <.ioread8> # c00000000066a3e8: 60 00 00 00 nop # c00000000066a3ec: 7f c4 f3 78 mr r4,r30 # c00000000066a3f0: 54 63 06 3c rlwinm r3,r3,0,24,30 # c00000000066a3f4: 4b 9b 70 4d bl c000000000021440 <.iowrite8> # c00000000066a3f8: 60 00 00 00 nop # c00000000066a3fc: 7f e3 fb 78 mr r3,r31 # c00000000066a400: 38 21 00 80 addi r1,r1,128 # c00000000066a404: e8 01 00 10 ld r0,16(r1) # c00000000066a408: eb c1 ff f0 ld r30,-16(r1) # c00000000066a40c: 7c 08 03 a6 mtlr r0 # c00000000066a410: eb e1 ff f8 ld r31,-8(r1) # c00000000066a414: 4b ff ff 8c b c00000000066a3a0 <.ata_sff_dma_pause> # # The same function with this patch: # # c000000000669cb4 <.ata_bmdma_stop>: # c000000000669cb4: e8 63 00 00 ld r3,0(r3) # c000000000669cb8: e9 43 00 98 ld r10,152(r3) # c000000000669cbc: 7c 00 04 ac hwsync # c000000000669cc0: 89 2a 00 00 lbz r9,0(r10) # c000000000669cc4: 0c 09 00 00 twi 0,r9,0 # c000000000669cc8: 4c 00 01 2c isync # c000000000669ccc: 55 29 06 3c rlwinm r9,r9,0,24,30 # c000000000669cd0: 7c 00 04 ac hwsync # c000000000669cd4: 99 2a 00 00 stb r9,0(r10) # c000000000669cd8: a1 4d 06 f0 lhz r10,1776(r13) # c000000000669cdc: 2c 2a 00 00 cmpdi r10,0 # c000000000669ce0: 41 c2 00 08 beq- c000000000669ce8 <.ata_bmdma_stop+0x34> # c000000000669ce4: b1 4d 06 f2 sth r10,1778(r13) # c000000000669ce8: 4b ff ff a8 b c000000000669c90 <.ata_sff_dma_pause> # # Signed-off-by: Christophe Leroy # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/18b357d68c4cde149f75c7a1031c850925cd8128.1605981539.git.christophe.leroy@csgroup.eu # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 6cc5522b62bbc176e1a5666c401466a37ffc746e # < make -s -j 8 ARCH=m68k O=/kisskb/build/powerpc-next_m68k-defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- defconfig # < make -s -j 8 ARCH=m68k O=/kisskb/build/powerpc-next_m68k-defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 8 ARCH=m68k O=/kisskb/build/powerpc-next_m68k-defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 8 ARCH=m68k O=/kisskb/build/powerpc-next_m68k-defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- In file included from /kisskb/src/kernel/rcu/update.c:578: /kisskb/src/kernel/rcu/tasks.h:710:13: warning: 'show_rcu_tasks_rude_gp_kthread' defined but not used [-Wunused-function] static void show_rcu_tasks_rude_gp_kthread(void) {} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/m68k/mvme147/config.c: In function 'mvme147_hwclk': /kisskb/src/arch/m68k/mvme147/config.c:174:2: warning: #warning check me! [-Wcpp] #warning check me! ^~~~~~~ /kisskb/src/arch/m68k/mvme16x/config.c: In function 'mvme16x_hwclk': /kisskb/src/arch/m68k/mvme16x/config.c:439:2: warning: #warning check me! [-Wcpp] #warning check me! ^~~~~~~ In file included from /kisskb/src/drivers/net/ethernet/8390/xsurf100.c:48: /kisskb/src/drivers/net/ethernet/8390/lib8390.c:995:27: warning: '____alloc_ei_netdev' defined but not used [-Wunused-function] static struct net_device *____alloc_ei_netdev(int size) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:957:13: warning: '__ei_set_multicast_list' defined but not used [-Wunused-function] static void __ei_set_multicast_list(struct net_device *dev) ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:857:33: warning: '__ei_get_stats' defined but not used [-Wunused-function] static struct net_device_stats *__ei_get_stats(struct net_device *dev) ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:512:13: warning: '__ei_poll' defined but not used [-Wunused-function] static void __ei_poll(struct net_device *dev) ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:303:20: warning: '__ei_start_xmit' defined but not used [-Wunused-function] static netdev_tx_t __ei_start_xmit(struct sk_buff *skb, ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:257:13: warning: '__ei_tx_timeout' defined but not used [-Wunused-function] static void __ei_tx_timeout(struct net_device *dev, unsigned int txqueue) ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:233:12: warning: '__ei_close' defined but not used [-Wunused-function] static int __ei_close(struct net_device *dev) ^~~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:204:12: warning: '__ei_open' defined but not used [-Wunused-function] static int __ei_open(struct net_device *dev) ^~~~~~~~~ In file included from /kisskb/src/arch/m68k/include/asm/atomic.h:7, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/linux/cpumask.h:13, from /kisskb/src/include/linux/smp.h:13, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/spinlock.h:59, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/ocfs2/file.c:13: /kisskb/src/fs/ocfs2/file.c: In function 'ocfs2_file_write_iter': /kisskb/src/arch/m68k/include/asm/cmpxchg.h:79:22: warning: value computed is not used [-Wunused-value] #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ocfs2/file.c:2419:3: note: in expansion of macro 'xchg' xchg(&iocb->ki_complete, saved_ki_complete); ^~~~ Completed OK # rm -rf /kisskb/build/powerpc-next_m68k-defconfig_m68k-gcc8 # Build took: 0:03:34.429286