# git rev-parse -q --verify e3d773ddb5a1140780a15703b3e0e2618274cce9^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/linuxppc/linux.git fixes-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 e3d773ddb5a1140780a15703b3e0e2618274cce9^{commit} e3d773ddb5a1140780a15703b3e0e2618274cce9 # git checkout -q -f -B kisskb e3d773ddb5a1140780a15703b3e0e2618274cce9 # git clean -qxdf # < git log -1 # commit e3d773ddb5a1140780a15703b3e0e2618274cce9 # Author: Jordan Niethe # Date: Thu Feb 25 14:19:46 2021 +1100 # # powerpc/sstep: Fix VSX instruction emulation # # Commit af99da74333b ("powerpc/sstep: Support VSX vector paired storage # access instructions") added loading and storing 32 word long data into # adjacent VSRs. However the calculation used to determine if two VSRs # needed to be loaded/stored inadvertently prevented the load/storing # taking place for instructions with a data length less than 16 words. # # This causes the emulation to not function correctly, which can be seen # by the alignment_handler selftest: # # $ ./alignment_handler # [snip] # test: test_alignment_handler_vsx_207 # tags: git_version:powerpc-5.12-1-0-g82d2c16b350f # VSX: 2.07B # Doing lxsspx: PASSED # Doing lxsiwax: FAILED: Wrong Data # Doing lxsiwzx: PASSED # Doing stxsspx: PASSED # Doing stxsiwx: PASSED # failure: test_alignment_handler_vsx_207 # test: test_alignment_handler_vsx_300 # tags: git_version:powerpc-5.12-1-0-g82d2c16b350f # VSX: 3.00B # Doing lxsd: PASSED # Doing lxsibzx: PASSED # Doing lxsihzx: PASSED # Doing lxssp: FAILED: Wrong Data # Doing lxv: PASSED # Doing lxvb16x: PASSED # Doing lxvh8x: PASSED # Doing lxvx: PASSED # Doing lxvwsx: FAILED: Wrong Data # Doing lxvl: PASSED # Doing lxvll: PASSED # Doing stxsd: PASSED # Doing stxsibx: PASSED # Doing stxsihx: PASSED # Doing stxssp: PASSED # Doing stxv: PASSED # Doing stxvb16x: PASSED # Doing stxvh8x: PASSED # Doing stxvx: PASSED # Doing stxvl: PASSED # Doing stxvll: PASSED # failure: test_alignment_handler_vsx_300 # [snip] # # Fix this by making sure all VSX instruction emulation correctly # load/store from the VSRs. # # Fixes: af99da74333b ("powerpc/sstep: Support VSX vector paired storage access instructions") # Signed-off-by: Jordan Niethe # Reviewed-by: Ravi Bangoria # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20210225031946.1458206-1-jniethe5@gmail.com # < /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 e3d773ddb5a1140780a15703b3e0e2618274cce9 # < make -s -j 120 ARCH=m68k O=/kisskb/build/powerpc-fixes_m68k-defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- defconfig # < make -s -j 120 ARCH=m68k O=/kisskb/build/powerpc-fixes_m68k-defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 120 ARCH=m68k O=/kisskb/build/powerpc-fixes_m68k-defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 120 ARCH=m68k O=/kisskb/build/powerpc-fixes_m68k-defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- /kisskb/src/arch/m68k/mvme147/config.c: In function 'mvme147_hwclk': /kisskb/src/arch/m68k/mvme147/config.c:172: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:437: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) ^~~~~~~~~ Completed OK # rm -rf /kisskb/build/powerpc-fixes_m68k-defconfig_m68k-gcc8 # Build took: 0:01:10.505857