Buildresult: powerpc-fixes/mpc85xx_defconfig+KVM/powerpc-gcc9 built on Jun 20 2021, 11:44
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Jun 20 2021, 11:44
Duration:
0:03:13.465341
Builder:
blade46
Revision:
powerpc/perf: Fix crash in perf_instruction_pointer() when ppmu is not set (
60b7ed54a41b550d50caf7f2418db4a7e75b5bdc)
Target:
powerpc-fixes/mpc85xx_defconfig+KVM/powerpc-gcc9
Branch:
powerpc-fixes
Compiler:
powerpc-gcc9
(powerpc64-linux-gcc (GCC) 9.2.0 / GNU ld (GNU Binutils) 2.32)
Config:
mpc85xx_defconfig+KVM
(
download
)
Log:
Download original
Possible warnings (5)
.config:4214:warning: override: reassigning to symbol PPC_E500MC .config:4215:warning: override: reassigning to symbol VIRTUALIZATION include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 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 60b7ed54a41b550d50caf7f2418db4a7e75b5bdc^{commit} 60b7ed54a41b550d50caf7f2418db4a7e75b5bdc already have revision, skipping fetch # git checkout -q -f -B kisskb 60b7ed54a41b550d50caf7f2418db4a7e75b5bdc # git clean -qxdf # < git log -1 # commit 60b7ed54a41b550d50caf7f2418db4a7e75b5bdc # Author: Athira Rajeev <atrajeev@linux.vnet.ibm.com> # Date: Thu Jun 17 13:55:06 2021 -0400 # # powerpc/perf: Fix crash in perf_instruction_pointer() when ppmu is not set # # On systems without any specific PMU driver support registered, running # perf record causes Oops. # # The relevant portion from call trace: # # BUG: Kernel NULL pointer dereference on read at 0x00000040 # Faulting instruction address: 0xc0021f0c # Oops: Kernel access of bad area, sig: 11 [#1] # BE PAGE_SIZE=4K PREEMPT CMPCPRO # SAF3000 DIE NOTIFICATION # CPU: 0 PID: 442 Comm: null_syscall Not tainted 5.13.0-rc6-s3k-dev-01645-g7649ee3d2957 #5164 # NIP: c0021f0c LR: c00e8ad8 CTR: c00d8a5c # NIP perf_instruction_pointer+0x10/0x60 # LR perf_prepare_sample+0x344/0x674 # Call Trace: # perf_prepare_sample+0x7c/0x674 (unreliable) # perf_event_output_forward+0x3c/0x94 # __perf_event_overflow+0x74/0x14c # perf_swevent_hrtimer+0xf8/0x170 # __hrtimer_run_queues.constprop.0+0x160/0x318 # hrtimer_interrupt+0x148/0x3b0 # timer_interrupt+0xc4/0x22c # Decrementer_virt+0xb8/0xbc # # During perf record session, perf_instruction_pointer() is called to # capture the sample IP. This function in core-book3s accesses # ppmu->flags. If a platform specific PMU driver is not registered, ppmu # is set to NULL and accessing its members results in a crash. Fix this # crash by checking if ppmu is set. # # Fixes: 2ca13a4cc56c ("powerpc/perf: Use regs->nip when SIAR is zero") # Cc: stable@vger.kernel.org # v5.11+ # Reported-by: Christophe Leroy <christophe.leroy@csgroup.eu> # Signed-off-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com> # Tested-by: Christophe Leroy <christophe.leroy@csgroup.eu> # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # Link: https://lore.kernel.org/r/1623952506-1431-1-git-send-email-atrajeev@linux.vnet.ibm.com # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 60b7ed54a41b550d50caf7f2418db4a7e75b5bdc # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # Added to kconfig CONFIG_PPC_E500MC=y # Added to kconfig CONFIG_VIRTUALIZATION=y # Added to kconfig CONFIG_KVM_E500MC=y # Added to kconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4214:warning: override: reassigning to symbol PPC_E500MC .config:4215:warning: override: reassigning to symbol VIRTUALIZATION # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:12, 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] 22 | #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) | ^ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' 78 | # 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' 139 | if (IS_ERR_VALUE(fep->ring_mem_addr)) | ^~~~~~~~~~~~ /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 0xf68160) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf68160) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf68160) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf68160) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf68160) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf68160) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf68160) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf68160) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf68160) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf68160) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf68160) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf68160) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf68160) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf68160) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf68160) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf57a34) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) Image Name: Linux-5.13.0-rc2-g60b7ed54a41b Created: Sun Jun 20 11:47:41 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7139647 Bytes = 6972.31 KiB = 6.81 MiB Load Address: 01000000 Entry Point: 0100031c Image Name: Linux-5.13.0-rc2-g60b7ed54a41b Created: Sun Jun 20 11:47:41 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7140227 Bytes = 6972.88 KiB = 6.81 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.13.0-rc2-g60b7ed54a41b Created: Sun Jun 20 11:47:41 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7139922 Bytes = 6972.58 KiB = 6.81 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.13.0-rc2-g60b7ed54a41b Created: Sun Jun 20 11:47:41 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7140036 Bytes = 6972.69 KiB = 6.81 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.13.0-rc2-g60b7ed54a41b Created: Sun Jun 20 11:47:41 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7139495 Bytes = 6972.16 KiB = 6.81 MiB Load Address: 01000000 Entry Point: 0100031c Image Name: Linux-5.13.0-rc2-g60b7ed54a41b Created: Sun Jun 20 11:47:41 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7139497 Bytes = 6972.17 KiB = 6.81 MiB Load Address: 01000000 Entry Point: 0100031c Image Name: Linux-5.13.0-rc2-g60b7ed54a41b Created: Sun Jun 20 11:47:41 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7139515 Bytes = 6972.18 KiB = 6.81 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.13.0-rc2-g60b7ed54a41b Created: Sun Jun 20 11:47:41 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7139664 Bytes = 6972.33 KiB = 6.81 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.13.0-rc2-g60b7ed54a41b Created: Sun Jun 20 11:47:41 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7139511 Bytes = 6972.18 KiB = 6.81 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.13.0-rc2-g60b7ed54a41b Created: Sun Jun 20 11:47:41 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7139644 Bytes = 6972.31 KiB = 6.81 MiB Load Address: 01000000 Entry Point: 0100031c Image Name: Linux-5.13.0-rc2-g60b7ed54a41b Created: Sun Jun 20 11:47:41 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7139515 Bytes = 6972.18 KiB = 6.81 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.13.0-rc2-g60b7ed54a41b Created: Sun Jun 20 11:47:41 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7139594 Bytes = 6972.26 KiB = 6.81 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.13.0-rc2-g60b7ed54a41b Created: Sun Jun 20 11:47:41 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7140249 Bytes = 6972.90 KiB = 6.81 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.13.0-rc2-g60b7ed54a41b Created: Sun Jun 20 11:47:41 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7139710 Bytes = 6972.37 KiB = 6.81 MiB Load Address: 01000000 Entry Point: 0100031c Image Name: Linux-5.13.0-rc2-g60b7ed54a41b Created: Sun Jun 20 11:47:41 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7104663 Bytes = 6938.15 KiB = 6.78 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.13.0-rc2-g60b7ed54a41b Created: Sun Jun 20 11:47:41 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7139784 Bytes = 6972.45 KiB = 6.81 MiB Load Address: 01000000 Entry Point: 010002cc Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc85xx_defconfig+KVM_powerpc-gcc9 # Build took: 0:03:13.465341
© Michael Ellerman 2006-2018.