# git rev-parse -q --verify 42cdbd5fbbb3ab88135b1bcaaf76feac958a7a61^{commit} 42cdbd5fbbb3ab88135b1bcaaf76feac958a7a61 already have revision, skipping fetch # git checkout -q -f -B kisskb 42cdbd5fbbb3ab88135b1bcaaf76feac958a7a61 # git clean -qxdf # < git log -1 # commit 42cdbd5fbbb3ab88135b1bcaaf76feac958a7a61 # Author: Christophe Leroy # Date: Wed Aug 8 06:37:03 2018 +0000 # # lib/test_hexdump: fix failure on big endian cpu # # On a big endian cpu, test_hexdump fails as follows. The logs show # that bytes are expected in reversed order. # # [...] # [ 16.643648] test_hexdump: Len: 24 buflen: 130 strlen: 97 # [ 16.648681] test_hexdump: Result: 97 'be32db7b 0a1893b2 70bac424 7d83349b a69c31ad 9c0face9 .2.{....p..$}.4...1.....' # [ 16.660951] test_hexdump: Expect: 97 '7bdb32be b293180a 24c4ba70 9b34837d ad319ca6 e9ac0f9c .2.{....p..$}.4...1.....' # [ 16.673129] test_hexdump: Len: 8 buflen: 130 strlen: 77 # [ 16.678113] test_hexdump: Result: 77 'be32db7b0a1893b2 .2.{....' # [ 16.688660] test_hexdump: Expect: 77 'b293180a7bdb32be .2.{....' # [ 16.699170] test_hexdump: Len: 6 buflen: 131 strlen: 87 # [ 16.704238] test_hexdump: Result: 87 'be32 db7b 0a18 .2.{..' # [ 16.715511] test_hexdump: Expect: 87 '32be 7bdb 180a .2.{..' # [ 16.726864] test_hexdump: Len: 24 buflen: 131 strlen: 97 # [ 16.731902] test_hexdump: Result: 97 'be32db7b 0a1893b2 70bac424 7d83349b a69c31ad 9c0face9 .2.{....p..$}.4...1.....' # [ 16.744175] test_hexdump: Expect: 97 '7bdb32be b293180a 24c4ba70 9b34837d ad319ca6 e9ac0f9c .2.{....p..$}.4...1.....' # [ 16.756379] test_hexdump: Len: 32 buflen: 131 strlen: 101 # [ 16.761507] test_hexdump: Result: 101 'be32db7b0a1893b2 70bac4247d83349b a69c31ad9c0face9 4cd1199943b1af0c .2.{....p..$}.4...1.....L...C...' # [ 16.774212] test_hexdump: Expect: 101 'b293180a7bdb32be 9b34837d24c4ba70 e9ac0f9cad319ca6 0cafb1439919d14c .2.{....p..$}.4...1.....L...C...' # [ 16.786763] test_hexdump: failed 801 out of 1184 tests # # This patch fixes it. # # Fixes: 64d1d77a44697 ("hexdump: introduce test suite") # Signed-off-by: Christophe Leroy # Reviewed-by: Andy Shevchenko # 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 42cdbd5fbbb3ab88135b1bcaaf76feac958a7a61 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet64_smp_defconfig+KVM_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- corenet64_smp_defconfig # Added to kconfig CONFIG_KVM_E500MC=y # Added to kconfig CONFIG_VIRTUALIZATION=y # Added to kconfig CONFIG_KVM_MPIC=y # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet64_smp_defconfig+KVM_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet64_smp_defconfig+KVM_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. /kisskb/src/net/core/rtnetlink.c: In function 'rtnl_newlink': /kisskb/src/net/core/rtnetlink.c:3099:1: warning: the frame size of 1232 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ INFO: Uncompressed kernel (size 0xf38c48) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) Image Name: Linux-4.18.0-rc3-g42cdbd5 Created: Thu Aug 9 23:56:51 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6437582 Bytes = 6286.70 kB = 6.14 MB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_corenet64_smp_defconfig+KVM_powerpc-5.3 # Build took: 0:01:48.076089