# git rev-parse -q --verify 9580b71b5a7863c24a9bd18bcd2ad759b86b1eff^{commit} 9580b71b5a7863c24a9bd18bcd2ad759b86b1eff already have revision, skipping fetch # git checkout -q -f -B kisskb 9580b71b5a7863c24a9bd18bcd2ad759b86b1eff # git clean -qxdf # < git log -1 # commit 9580b71b5a7863c24a9bd18bcd2ad759b86b1eff # Author: Christophe Leroy # Date: Wed Feb 27 11:45:30 2019 +0000 # # powerpc/32: Clear on-stack exception marker upon exception return # # Clear the on-stack STACK_FRAME_REGS_MARKER on exception exit in order # to avoid confusing stacktrace like the one below. # # Call Trace: # [c0e9dca0] [c01c42a0] print_address_description+0x64/0x2bc (unreliable) # [c0e9dcd0] [c01c4684] kasan_report+0xfc/0x180 # [c0e9dd10] [c0895130] memchr+0x24/0x74 # [c0e9dd30] [c00a9e38] msg_print_text+0x124/0x574 # [c0e9dde0] [c00ab710] console_unlock+0x114/0x4f8 # [c0e9de40] [c00adc60] vprintk_emit+0x188/0x1c4 # --- interrupt: c0e9df00 at 0x400f330 # LR = init_stack+0x1f00/0x2000 # [c0e9de80] [c00ae3c4] printk+0xa8/0xcc (unreliable) # [c0e9df20] [c0c27e44] early_irq_init+0x38/0x108 # [c0e9df50] [c0c15434] start_kernel+0x310/0x488 # [c0e9dff0] [00003484] 0x3484 # # With this patch the trace becomes: # # Call Trace: # [c0e9dca0] [c01c42c0] print_address_description+0x64/0x2bc (unreliable) # [c0e9dcd0] [c01c46a4] kasan_report+0xfc/0x180 # [c0e9dd10] [c0895150] memchr+0x24/0x74 # [c0e9dd30] [c00a9e58] msg_print_text+0x124/0x574 # [c0e9dde0] [c00ab730] console_unlock+0x114/0x4f8 # [c0e9de40] [c00adc80] vprintk_emit+0x188/0x1c4 # [c0e9de80] [c00ae3e4] printk+0xa8/0xcc # [c0e9df20] [c0c27e44] early_irq_init+0x38/0x108 # [c0e9df50] [c0c15434] start_kernel+0x310/0x488 # [c0e9dff0] [00003484] 0x3484 # # Cc: stable@vger.kernel.org # Signed-off-by: Christophe Leroy # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 9580b71b5a7863c24a9bd18bcd2ad759b86b1eff # < make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_smp_defconfig # make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 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)) ^ /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:334.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:334.3-21: 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 0xc2770c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2770c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2770c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2770c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2770c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2770c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2770c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc16ed8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.0.0-rc2-g9580b71b5a78 Created: Mon Mar 4 15:27:28 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5979042 Bytes = 5838.91 KiB = 5.70 MiB Load Address: 00000000 Entry Point: 00000000 INFO: Uncompressed kernel (size 0xc2770c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.0.0-rc2-g9580b71b5a78 Created: Mon Mar 4 15:27:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6009060 Bytes = 5868.22 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.0.0-rc2-g9580b71b5a78 Created: Mon Mar 4 15:27:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6008306 Bytes = 5867.49 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a4 INFO: Uncompressed kernel (size 0xc2770c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2770c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.0.0-rc2-g9580b71b5a78 Created: Mon Mar 4 15:27:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6009447 Bytes = 5868.60 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.0.0-rc2-g9580b71b5a78 Created: Mon Mar 4 15:27:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6009172 Bytes = 5868.33 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.0.0-rc2-g9580b71b5a78 Created: Mon Mar 4 15:27:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6008331 Bytes = 5867.51 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.0.0-rc2-g9580b71b5a78 Created: Mon Mar 4 15:27:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6009064 Bytes = 5868.23 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.0.0-rc2-g9580b71b5a78 Created: Mon Mar 4 15:27:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6008306 Bytes = 5867.49 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a4 INFO: Uncompressed kernel (size 0xc2770c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2770c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2770c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2770c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2770c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.0.0-rc2-g9580b71b5a78 Created: Mon Mar 4 15:27:31 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6009104 Bytes = 5868.27 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.0.0-rc2-g9580b71b5a78 Created: Mon Mar 4 15:27:32 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6009035 Bytes = 5868.20 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.0.0-rc2-g9580b71b5a78 Created: Mon Mar 4 15:27:32 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6008984 Bytes = 5868.15 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.0.0-rc2-g9580b71b5a78 Created: Mon Mar 4 15:27:32 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6008346 Bytes = 5867.53 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.0.0-rc2-g9580b71b5a78 Created: Mon Mar 4 15:27:33 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6008218 Bytes = 5867.40 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.0.0-rc2-g9580b71b5a78 Created: Mon Mar 4 15:27:33 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6008986 Bytes = 5868.15 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.0.0-rc2-g9580b71b5a78 Created: Mon Mar 4 15:27:33 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6008321 Bytes = 5867.50 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.0.0-rc2-g9580b71b5a78 Created: Mon Mar 4 15:27:33 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6009467 Bytes = 5868.62 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a4 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-gcc5 # Build took: 0:02:45.221921