# 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 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_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/include/linux/kernel.h:10:0, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) ^ /kisskb/src/include/linux/compiler.h:77:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: note: in expansion of macro 'IS_ERR_VALUE' if (IS_ERR_VALUE(fep->ring_mem_addr)) ^ arch/powerpc/boot/mpc8541cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/mpc8555cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xb63724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb63724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb63724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb63724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb63724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb63724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb63724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb63724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb63724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb63724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb63724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb63724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb63724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb63724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb63724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb52f6c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.18.0-rc3-gc45a95b Created: Tue Jul 17 03:55:27 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5586087 Bytes = 5455.16 kB = 5.33 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.18.0-rc3-gc45a95b Created: Tue Jul 17 03:55:27 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5610872 Bytes = 5479.37 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-gc45a95b Created: Tue Jul 17 03:55:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5613205 Bytes = 5481.65 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-gc45a95b Created: Tue Jul 17 03:55:29 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5610085 Bytes = 5478.60 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-gc45a95b Created: Tue Jul 17 03:55:29 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5612718 Bytes = 5481.17 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-gc45a95b Created: Tue Jul 17 03:55:29 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5609703 Bytes = 5478.23 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc3-gc45a95b Created: Tue Jul 17 03:55:29 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5609790 Bytes = 5478.31 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc3-gc45a95b Created: Tue Jul 17 03:55:30 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5613133 Bytes = 5481.58 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-gc45a95b Created: Tue Jul 17 03:55:30 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5609608 Bytes = 5478.13 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-gc45a95b Created: Tue Jul 17 03:55:30 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5609739 Bytes = 5478.26 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-gc45a95b Created: Tue Jul 17 03:55:30 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5610264 Bytes = 5478.77 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc3-gc45a95b Created: Tue Jul 17 03:55:30 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5611894 Bytes = 5480.37 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-gc45a95b Created: Tue Jul 17 03:55:30 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5610460 Bytes = 5478.96 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc3-gc45a95b Created: Tue Jul 17 03:55:30 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5610082 Bytes = 5478.60 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-gc45a95b Created: Tue Jul 17 03:55:30 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5609705 Bytes = 5478.23 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc3-gc45a95b Created: Tue Jul 17 03:55:30 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5610421 Bytes = 5478.93 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc85xx_defconfig_powerpc-5.3 # Build took: 0:01:43.783032