Buildresult: powerpc-next/mpc85xx_defconfig/powerpc-gcc4.9 built on Mar 2 2021, 05:06
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Mar 2 2021, 05:06
Duration:
0:02:06.118776
Builder:
ka2
Revision:
KVM: PPC: Book3S HV: Convert tbacct/stoltb_lock to raw spinlocks (
19d767f0429ab26cb3de6c1f7a805a973c5dbd26)
Target:
powerpc-next/mpc85xx_defconfig/powerpc-gcc4.9
Branch:
powerpc-next
Compiler:
powerpc-gcc4.9
(powerpc64-linux-gcc (GCC) 4.9.4 / GNU ld (GNU Binutils) 2.29.1.20170915)
Config:
mpc85xx_defconfig
(
download
)
Log:
Download original
Possible warnings (3)
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 19d767f0429ab26cb3de6c1f7a805a973c5dbd26^{commit} 19d767f0429ab26cb3de6c1f7a805a973c5dbd26 already have revision, skipping fetch # git checkout -q -f -B kisskb 19d767f0429ab26cb3de6c1f7a805a973c5dbd26 # git clean -qxdf # < git log -1 # commit 19d767f0429ab26cb3de6c1f7a805a973c5dbd26 # Author: Michael Ellerman <mpe@ellerman.id.au> # Date: Mon Mar 1 14:32:14 2021 +1100 # # KVM: PPC: Book3S HV: Convert tbacct/stoltb_lock to raw spinlocks # # With CONFIG_PROVE_RAW_LOCK_NESTING=y we see lockdep splats when # running KVM: # # ============================= # [ BUG: Invalid wait context ] # 5.11.0-11811-gb49a419bbf28 #1 Not tainted # ----------------------------- # qemu-system-ppc/14068 is trying to lock: # c000000134282100 (&vcpu->arch.tbacct_lock){....}-{3:3}, at: kvmppc_core_vcpu_put_hv+0x44/0xd0 [kvm_hv] # other info that might help us debug this: # context-{5:5} # 2 locks held by qemu-system-ppc/14068: # #0: c0000001342800c8 (&vcpu->mutex){+.+.}-{4:4}, at: kvm_vcpu_ioctl+0xdc/0x8c0 [kvm] # #1: c000001e612cfa98 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x1a4/0xdd0 # stack backtrace: # CPU: 10 PID: 14068 Comm: qemu-system-ppc Not tainted 5.11.0-11811-gb49a419bbf28 #1 # Call Trace: # dump_stack+0xec/0x144 (unreliable) # __lock_acquire+0xab0/0x2e70 # lock_acquire+0x128/0x600 # _raw_spin_lock_irqsave+0x6c/0xc0 # kvmppc_core_vcpu_put_hv+0x44/0xd0 [kvm_hv] # kvmppc_core_vcpu_put+0x34/0x50 [kvm] # kvm_arch_vcpu_put+0x20/0x40 [kvm] # kvm_sched_out+0x44/0x80 [kvm] # __schedule+0x684/0xdd0 # preempt_schedule_common+0x30/0x60 # __cond_resched+0x60/0x80 # kvmhv_run_single_vcpu+0xe2c/0x1220 [kvm_hv] # kvmppc_vcpu_run_hv+0x984/0xcd0 [kvm_hv] # kvmppc_vcpu_run+0x34/0x48 [kvm] # kvm_arch_vcpu_ioctl_run+0x340/0x450 [kvm] # kvm_vcpu_ioctl+0x2ac/0x8c0 [kvm] # sys_ioctl+0x300/0x1050 # system_call_exception+0x160/0x230 # system_call_common+0xec/0x278 # # Which is complaining that we're taking a regular # spinlock (tbacct_lock) while holding a raw spinlock (rq->lock). # # To fix it, convert tbacct_lock to a raw spinlock. # # We see a similar splat for stoltb_lock, the analysis & fix is the # same. # # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 19d767f0429ab26cb3de6c1f7a805a973c5dbd26 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-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: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] #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' # 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: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 0xd5d9f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd5d9f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd5d9f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd5d9f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd5d9f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd5d9f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd5d9f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd5d9f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd5d9f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd5d9f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd5d9f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd5d9f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd5d9f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd5d9f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd5d9f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd4d2cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) Image Name: Linux-5.12.0-rc1-94789-g19d767f0 Created: Tue Mar 2 05:08:12 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6467341 Bytes = 6315.76 KiB = 6.17 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.12.0-rc1-94789-g19d767f0 Created: Tue Mar 2 05:08:15 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6499672 Bytes = 6347.34 KiB = 6.20 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.12.0-rc1-94789-g19d767f0 Created: Tue Mar 2 05:08:13 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6499665 Bytes = 6347.33 KiB = 6.20 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.12.0-rc1-94789-g19d767f0 Created: Tue Mar 2 05:08:15 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6500215 Bytes = 6347.87 KiB = 6.20 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.12.0-rc1-94789-g19d767f0 Created: Tue Mar 2 05:08:15 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6499726 Bytes = 6347.39 KiB = 6.20 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.12.0-rc1-94789-g19d767f0 Created: Tue Mar 2 05:08:15 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6499841 Bytes = 6347.50 KiB = 6.20 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.12.0-rc1-94789-g19d767f0 Created: Tue Mar 2 05:08:15 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6499920 Bytes = 6347.58 KiB = 6.20 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.12.0-rc1-94789-g19d767f0 Created: Tue Mar 2 05:08:15 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6500552 Bytes = 6348.20 KiB = 6.20 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.12.0-rc1-94789-g19d767f0 Created: Tue Mar 2 05:08:16 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6499618 Bytes = 6347.28 KiB = 6.20 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.12.0-rc1-94789-g19d767f0 Created: Tue Mar 2 05:08:16 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6499724 Bytes = 6347.39 KiB = 6.20 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.12.0-rc1-94789-g19d767f0 Created: Tue Mar 2 05:08:16 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6499774 Bytes = 6347.44 KiB = 6.20 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.12.0-rc1-94789-g19d767f0 Created: Tue Mar 2 05:08:16 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6499993 Bytes = 6347.65 KiB = 6.20 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.12.0-rc1-94789-g19d767f0 Created: Tue Mar 2 05:08:16 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6499787 Bytes = 6347.45 KiB = 6.20 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.12.0-rc1-94789-g19d767f0 Created: Tue Mar 2 05:08:16 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6499785 Bytes = 6347.45 KiB = 6.20 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.12.0-rc1-94789-g19d767f0 Created: Tue Mar 2 05:08:16 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6499830 Bytes = 6347.49 KiB = 6.20 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.12.0-rc1-94789-g19d767f0 Created: Tue Mar 2 05:08:16 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6499693 Bytes = 6347.36 KiB = 6.20 MiB Load Address: 00e00000 Entry Point: 00e00314 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-gcc4.9 # Build took: 0:02:06.118776
© Michael Ellerman 2006-2018.