# git rev-parse -q --verify c45a95b1dfe42dc1d9b3cc6fb8c5321e08c8eec4^{commit} c45a95b1dfe42dc1d9b3cc6fb8c5321e08c8eec4 already have revision, skipping fetch # git checkout -q -f -B kisskb c45a95b1dfe42dc1d9b3cc6fb8c5321e08c8eec4 # git clean -qxdf # < git log -1 # commit c45a95b1dfe42dc1d9b3cc6fb8c5321e08c8eec4 # Author: Michael Ellerman # Date: Mon Jul 16 23:52:14 2018 +1000 # # powerpc/xmon: Fix disassembly since printf changes # # The recent change to add printf annotations to xmon inadvertently made # the disassembly output ugly, eg: # # c00000002001e058 7ee00026 mfcr r23 # c00000002001e05c fffffffffae101a0 std r23,416(r1) # c00000002001e060 fffffffff8230000 std r1,0(r3) # # The problem being that negative 32-bit values are being displayed in # full 64-bits. # # The printf conversion was actually correct, we are passing unsigned # long so it should use "lx", but we only read 4 bytes, so it should # really just be unsigned int, and that also fixes the printing to look # the way we want: # # c00000002001e058 7ee00026 mfcr r23 # c00000002001e05c fae101a0 std r23,416(r1) # c00000002001e060 f8230000 std r1,0(r3) # # Fixes: e70d8f55268b ("powerpc/xmon: Add __printf annotation to xmon_printf()") # 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 c45a95b1dfe42dc1d9b3cc6fb8c5321e08c8eec4 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc83xx_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc83xx_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc83xx_defconfig_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. arch/powerpc/boot/mpc832x_rdb.dtb: Warning (interrupts_property): /qe@e0100000/mdio@3120/ethernet-phy@0:#interrupt-cells: size is (4), expected multiple of 8 arch/powerpc/boot/mpc832x_rdb.dtb: Warning (interrupts_property): /qe@e0100000/mdio@3120/ethernet-phy@4:#interrupt-cells: size is (4), expected multiple of 8 INFO: Uncompressed kernel (size 0x607758) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x607758) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x607758) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x607758) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x607758) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x607758) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x5f7040) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x607758) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) Image Name: Linux-4.18.0-rc3-gc45a95b Created: Tue Jul 17 03:54:58 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3084425 Bytes = 3012.13 kB = 2.94 MB Load Address: 00700000 Entry Point: 007001f4 Image Name: Linux-4.18.0-rc3-gc45a95b Created: Tue Jul 17 03:54:58 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3060955 Bytes = 2989.21 kB = 2.92 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.18.0-rc3-gc45a95b Created: Tue Jul 17 03:54:58 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3084957 Bytes = 3012.65 kB = 2.94 MB Load Address: 00700000 Entry Point: 007001f4 Image Name: Linux-4.18.0-rc3-gc45a95b Created: Tue Jul 17 03:54:58 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3084912 Bytes = 3012.61 kB = 2.94 MB Load Address: 00700000 Entry Point: 007001f4 Image Name: Linux-4.18.0-rc3-gc45a95b Created: Tue Jul 17 03:54:58 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3084985 Bytes = 3012.68 kB = 2.94 MB Load Address: 00700000 Entry Point: 007001f4 Image Name: Linux-4.18.0-rc3-gc45a95b Created: Tue Jul 17 03:54:58 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3084752 Bytes = 3012.45 kB = 2.94 MB Load Address: 00700000 Entry Point: 007001f4 Image Name: Linux-4.18.0-rc3-gc45a95b Created: Tue Jul 17 03:54:58 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3085329 Bytes = 3013.02 kB = 2.94 MB Load Address: 00700000 Entry Point: 007001f4 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc83xx_defconfig_powerpc-5.3 # Build took: 0:00:20.266119