# git rev-parse -q --verify 2dfc21550af6fcc9dbd445da241f8f963d25c782^{commit} 2dfc21550af6fcc9dbd445da241f8f963d25c782 already have revision, skipping fetch # git checkout -q -f -B kisskb 2dfc21550af6fcc9dbd445da241f8f963d25c782 # git clean -qxdf # < git log -1 # commit 2dfc21550af6fcc9dbd445da241f8f963d25c782 # 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 powerpc instructions are only 4 bytes # and the code only reads 4 bytes, so inst 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 2dfc21550af6fcc9dbd445da241f8f963d25c782 # < make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc6xx_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. In file included from /kisskb/src/sound/ppc/pmac.h:25:0, from /kisskb/src/sound/ppc/awacs.c:29: /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:223:9: warning: 'speaker_vol' may be used uninitialized in this function [-Wmaybe-uninitialized] return _snd_ctl_add_slave(master, slave, 0); ^ /kisskb/src/sound/ppc/awacs.c:886:36: note: 'speaker_vol' was declared here struct snd_kcontrol *master_vol, *speaker_vol; ^ 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 0xa75430) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa75430) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa75430) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa75430) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa64cd8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa75430) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa75430) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-4.18.0-rc3+ Created: Tue Jul 17 13:22:41 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4927467 Bytes = 4811.98 kB = 4.70 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.18.0-rc3+ Created: Tue Jul 17 13:22:41 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4952318 Bytes = 4836.25 kB = 4.72 MB Load Address: 00b00000 Entry Point: 00b007a0 Image Name: Linux-4.18.0-rc3+ Created: Tue Jul 17 13:22:42 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4952264 Bytes = 4836.20 kB = 4.72 MB Load Address: 00b00000 Entry Point: 00b007a0 INFO: Uncompressed kernel (size 0xa75430) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa75430) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa75430) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-4.18.0-rc3+ Created: Tue Jul 17 13:22:42 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4951785 Bytes = 4835.73 kB = 4.72 MB Load Address: 00b00000 Entry Point: 00b001f4 INFO: Uncompressed kernel (size 0xa75430) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-4.18.0-rc3+ Created: Tue Jul 17 13:22:44 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4951727 Bytes = 4835.67 kB = 4.72 MB Load Address: 00b00000 Entry Point: 00b001f4 INFO: Uncompressed kernel (size 0xa64cd8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-4.18.0-rc3+ Created: Tue Jul 17 13:22:44 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4951778 Bytes = 4835.72 kB = 4.72 MB Load Address: 00b00000 Entry Point: 00b001f4 Image Name: Linux-4.18.0-rc3+ Created: Tue Jul 17 13:22:44 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4951198 Bytes = 4835.15 kB = 4.72 MB Load Address: 00b00000 Entry Point: 00b001f4 Image Name: Linux-4.18.0-rc3+ Created: Tue Jul 17 13:22:44 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4952102 Bytes = 4836.04 kB = 4.72 MB Load Address: 00b00000 Entry Point: 00b001f4 Image Name: Linux-4.18.0-rc3+ Created: Tue Jul 17 13:22:44 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4950992 Bytes = 4834.95 kB = 4.72 MB Load Address: 00b00000 Entry Point: 00b001f4 Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-5.3 # Build took: 0:04:58.753741