Buildresult: powerpc-next/mpc85xx_smp_defconfig/powerpc-gcc4.6 built on Mar 19 2020, 02:22
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Mar 19 2020, 02:22
Duration:
0:01:54.647946
Builder:
ka2
Revision:
powerpc/64: Prevent stack protection in early boot (
b86f6789c355a86ff6c3a8d5ab24774fd66a5a51)
Target:
powerpc-next/mpc85xx_smp_defconfig/powerpc-gcc4.6
Branch:
powerpc-next
Compiler:
powerpc-gcc4.6
(powerpc-linux-gcc (GCC) 4.6.3 / GNU ld (GNU Binutils) 2.22)
Config:
mpc85xx_smp_defconfig
(
download
)
Log:
Download original
Possible warnings (16)
kernel/printk/printk.c:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] include/linux/list.h:72:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] fs/ext4/extents.c:5009:23: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] drivers/tty/serial/8250/8250_core.c:248:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] kernel/trace/trace_events.c:2040:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] sound/soc/codecs/wm8960.c:800:70: warning: 'j' may be used uninitialized in this function [-Wuninitialized] sound/soc/codecs/wm8960.c:797:68: warning: 'i' may be used uninitialized in this function [-Wuninitialized] drivers/base/regmap/regmap.c:2598:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] drivers/base/regmap/regmap.c:1859:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] mm/hugetlb.c:1426:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/usb/core/devio.c:625:23: warning: 'errno' may be used uninitialized in this function [-Wuninitialized] fs/udf/unicode.c:132:8: warning: 'c' may be used uninitialized in this function [-Wuninitialized] fs/io_uring.c:5824:13: warning: 'err' may be used uninitialized in this function [-Wuninitialized] arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0)
Full Log
# git rev-parse -q --verify b86f6789c355a86ff6c3a8d5ab24774fd66a5a51^{commit} b86f6789c355a86ff6c3a8d5ab24774fd66a5a51 already have revision, skipping fetch # git checkout -q -f -B kisskb b86f6789c355a86ff6c3a8d5ab24774fd66a5a51 # git clean -qxdf # < git log -1 # commit b86f6789c355a86ff6c3a8d5ab24774fd66a5a51 # Author: Michael Ellerman <mpe@ellerman.id.au> # Date: Mon Mar 16 23:44:21 2020 +1100 # # powerpc/64: Prevent stack protection in early boot # # The previous commit reduced the amount of code that is run before we # setup a paca. However there are still a few remaining functions that # run with no paca, or worse, with an arbitrary value in r13 that will # be used as a paca pointer. # # In particular the stack protector canary is stored in the paca, so if # stack protector is activated for any of these functions we will read # the stack canary from wherever r13 points. If r13 happens to point # outside of memory we will get a machine check / checkstop. # # For example if we modify initialise_paca() to trigger stack # protection, and then boot in the mambo simulator with r13 poisoned in # skiboot before calling the kernel: # # DEBUG: 19952232: (19952232): INSTRUCTION: PC=0xC0000000191FC1E8: [0x3C4C006D]: addis r2,r12,0x6D [fetch] # DEBUG: 19952236: (19952236): INSTRUCTION: PC=0xC00000001807EAD8: [0x7D8802A6]: mflr r12 [fetch] # FATAL ERROR: 19952276: (19952276): Check Stop for 0:0: Machine Check with ME bit of MSR off # DEBUG: 19952276: (19952276): INSTRUCTION: PC=0xC0000000191FCA7C: [0xE90D0CF8]: ld r8,0xCF8(r13) [Instruction Failed] # INFO: 19952276: (19952277): ** Execution stopped: Mambo Error, Machine Check Stop, ** # systemsim % bt # pc: 0xC0000000191FCA7C initialise_paca+0x54 # lr: 0xC0000000191FC22C early_setup+0x44 # stack:0x00000000198CBED0 0x0 +0x0 # stack:0x00000000198CBF00 0xC0000000191FC22C early_setup+0x44 # stack:0x00000000198CBF90 0x1801C968 +0x1801C968 # # So annotate the relevant functions to ensure stack protection is never # enabled for them. # # Fixes: 06ec27aea9fc ("powerpc/64: add stack protector support") # Cc: stable@vger.kernel.org # v4.20+ # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # Link: https://lore.kernel.org/r/20200316124421.99211-2-mpe@ellerman.id.au # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 b86f6789c355a86ff6c3a8d5ab24774fd66a5a51 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc85xx_smp_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:72:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:338:21: note: 'pdeo' was declared here /kisskb/src/fs/ext4/extents.c: In function 'ext4_convert_unwritten_io_end_vec': /kisskb/src/fs/ext4/extents.c:5009:23: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:248:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:228:19: note: 'i' was declared here /kisskb/src/kernel/trace/trace_events.c: In function 'event_create_dir': /kisskb/src/kernel/trace/trace_events.c:2040:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c: In function 'wm8960_configure_clocking': /kisskb/src/sound/soc/codecs/wm8960.c:800:70: warning: 'j' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c:797:68: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2598:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1859:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1426:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /kisskb/src/drivers/usb/core/devio.c: In function 'async_completed': /kisskb/src/drivers/usb/core/devio.c:625:23: warning: 'errno' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/udf/unicode.c: In function 'udf_name_conv_char': /kisskb/src/fs/udf/unicode.c:132:8: warning: 'c' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/io_uring.c: In function '__io_sqe_files_update': /kisskb/src/fs/io_uring.c:5824:13: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.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:330.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 0xd307e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd307e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd307e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd307e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd307e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd307e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd307e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd307e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd307e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd307e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd307e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd307e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd307e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd307e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd307e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd20018) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) Image Name: Linux-5.6.0-rc2-00103-gb86f6789c Created: Thu Mar 19 02:24:31 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6337320 Bytes = 6188.79 KiB = 6.04 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.6.0-rc2-00103-gb86f6789c Created: Thu Mar 19 02:24:32 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6369685 Bytes = 6220.40 KiB = 6.07 MiB Load Address: 00e00000 Entry Point: 00e002a8 Image Name: Linux-5.6.0-rc2-00103-gb86f6789c Created: Thu Mar 19 02:24:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6370027 Bytes = 6220.73 KiB = 6.07 MiB Load Address: 00e00000 Entry Point: 00e002e8 Image Name: Linux-5.6.0-rc2-00103-gb86f6789c Created: Thu Mar 19 02:24:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6369698 Bytes = 6220.41 KiB = 6.07 MiB Load Address: 00e00000 Entry Point: 00e002e8 Image Name: Linux-5.6.0-rc2-00103-gb86f6789c Created: Thu Mar 19 02:24:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6369671 Bytes = 6220.38 KiB = 6.07 MiB Load Address: 00e00000 Entry Point: 00e002a8 Image Name: Linux-5.6.0-rc2-00103-gb86f6789c Created: Thu Mar 19 02:24:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6370074 Bytes = 6220.78 KiB = 6.07 MiB Load Address: 00e00000 Entry Point: 00e002e8 Image Name: Linux-5.6.0-rc2-00103-gb86f6789c Created: Thu Mar 19 02:24:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6369680 Bytes = 6220.39 KiB = 6.07 MiB Load Address: 00e00000 Entry Point: 00e002e8 Image Name: Linux-5.6.0-rc2-00103-gb86f6789c Created: Thu Mar 19 02:24:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6370651 Bytes = 6221.34 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e002a8 Image Name: Linux-5.6.0-rc2-00103-gb86f6789c Created: Thu Mar 19 02:24:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6369983 Bytes = 6220.69 KiB = 6.07 MiB Load Address: 00e00000 Entry Point: 00e002a8 Image Name: Linux-5.6.0-rc2-00103-gb86f6789c Created: Thu Mar 19 02:24:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6369682 Bytes = 6220.39 KiB = 6.07 MiB Load Address: 00e00000 Entry Point: 00e002e8 Image Name: Linux-5.6.0-rc2-00103-gb86f6789c Created: Thu Mar 19 02:24:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6371045 Bytes = 6221.72 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e002a8 Image Name: Linux-5.6.0-rc2-00103-gb86f6789c Created: Thu Mar 19 02:24:35 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6372135 Bytes = 6222.79 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e002a8 Image Name: Linux-5.6.0-rc2-00103-gb86f6789c Created: Thu Mar 19 02:24:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6369987 Bytes = 6220.69 KiB = 6.07 MiB Load Address: 00e00000 Entry Point: 00e002a8 Image Name: Linux-5.6.0-rc2-00103-gb86f6789c Created: Thu Mar 19 02:24:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6370656 Bytes = 6221.34 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e002a8 Image Name: Linux-5.6.0-rc2-00103-gb86f6789c Created: Thu Mar 19 02:24:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6371627 Bytes = 6222.29 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e002a8 Image Name: Linux-5.6.0-rc2-00103-gb86f6789c Created: Thu Mar 19 02:24:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6370068 Bytes = 6220.77 KiB = 6.07 MiB Load Address: 00e00000 Entry Point: 00e002a8 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-gcc4.6 # Build took: 0:01:54.647946
© Michael Ellerman 2006-2018.