[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 6 Jun 2013 09:35:18 +0800
From: Fengguang Wu <fengguang.wu@...el.com>
To: fengguang.wu@...el.com,
Maarten Lankhorst <maarten.lankhorst@...onical.com>
Cc: dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: [vt_console_print/cirrus_dirty_update] WARNING: at
kernel/mutex.c:858 mutex_trylock()
Greetings,
I got the below dmesg and the first bad commit is
commit 3d71c6ed43d838e593538176a9a59debe228cfb0
Author: Maarten Lankhorst <maarten.lankhorst@...onical.com>
Date: Tue Apr 2 12:33:01 2013 +0200
drm/ttm: convert to the reservation api
Now that the code is compatible in semantics, flip the switch.
Use ww_mutex instead of the homegrown implementation.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@...onical.com>
[ 13.044298] printing local APIC contents on CPU#0/0:
[ 13.044313] ------------[ cut here ]------------
[ 13.044367] WARNING: at /c/kernel-tests/src/tip/kernel/mutex.c:858 mutex_trylock+0x87/0x220()
[ 13.044378] DEBUG_LOCKS_WARN_ON(in_interrupt())
[ 13.044378] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.10.0-rc4-00296-ga2963dd #20
[ 13.044379] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2007
[ 13.044390] 0000000000000009 ffff88000de039f8 ffffffff81fc86d5 ffff88000de03a38
[ 13.044395] ffffffff810d511b ffff880000000018 ffff88000f33c690 0000000000000001
[ 13.044398] 00000000000003f0 ffff88000f4677c8 0000000000000000 ffff88000de03a98
[ 13.044400] Call Trace:
[ 13.044412] <IRQ> [<ffffffff81fc86d5>] dump_stack+0x19/0x1b
[ 13.044441] [<ffffffff810d511b>] warn_slowpath_common+0x6b/0x90
[ 13.044445] [<ffffffff810d51a6>] warn_slowpath_fmt+0x46/0x50
[ 13.044448] [<ffffffff81fd34d7>] mutex_trylock+0x87/0x220
[ 13.044482] [<ffffffff8186484d>] cirrus_dirty_update+0x1cd/0x330
[ 13.044486] [<ffffffff818649e8>] cirrus_imageblit+0x38/0x50
[ 13.044506] [<ffffffff8165782e>] soft_cursor+0x22e/0x240
[ 13.044510] [<ffffffff81656c31>] bit_cursor+0x581/0x5b0
[ 13.044525] [<ffffffff815de9f4>] ? vsnprintf+0x124/0x670
[ 13.044529] [<ffffffff81651333>] ? get_color.isra.16+0x43/0x130
[ 13.044532] [<ffffffff81653fca>] fbcon_cursor+0x18a/0x1d0
[ 13.044535] [<ffffffff816566b0>] ? update_attr.isra.2+0xa0/0xa0
[ 13.044556] [<ffffffff81754b82>] hide_cursor+0x32/0xa0
[ 13.044565] [<ffffffff81755bd3>] vt_console_print+0x103/0x3b0
[ 13.044569] [<ffffffff810d58ac>] ? print_time+0x9c/0xb0
[ 13.044576] [<ffffffff810d5960>] ? print_prefix+0xa0/0xc0
[ 13.044580] [<ffffffff810d63f6>] call_console_drivers.constprop.6+0x146/0x1f0
[ 13.044593] [<ffffffff815f9b38>] ? do_raw_spin_unlock+0xc8/0x100
[ 13.044597] [<ffffffff810d6f27>] console_unlock+0x2f7/0x460
[ 13.044600] [<ffffffff810d787a>] vprintk_emit+0x59a/0x5e0
[ 13.044615] [<ffffffff81fb676c>] printk+0x4d/0x4f
[ 13.044650] [<ffffffff82ba5511>] print_local_APIC+0x28/0x41c
[ 13.044672] [<ffffffff8114db55>] generic_smp_call_function_single_interrupt+0x145/0x2b0
[ 13.044688] [<ffffffff8106f9e7>] smp_call_function_single_interrupt+0x27/0x40
[ 13.044697] [<ffffffff81fd8f72>] call_function_single_interrupt+0x72/0x80
[ 13.044707] <EOI> [<ffffffff81078166>] ? native_safe_halt+0x6/0x10
[ 13.044717] [<ffffffff811425cd>] ? trace_hardirqs_on+0xd/0x10
[ 13.044738] [<ffffffff8104f669>] default_idle+0x59/0x120
[ 13.044742] [<ffffffff810501e8>] arch_cpu_idle+0x18/0x40
[ 13.044754] [<ffffffff811320c5>] cpu_startup_entry+0x235/0x410
[ 13.044763] [<ffffffff81f9e781>] rest_init+0xd1/0xe0
[ 13.044766] [<ffffffff81f9e6b5>] ? rest_init+0x5/0xe0
[ 13.044778] [<ffffffff82b93ec2>] start_kernel+0x425/0x493
[ 13.044781] [<ffffffff82b93810>] ? repair_env_string+0x5e/0x5e
[ 13.044786] [<ffffffff82b93595>] x86_64_start_reservations+0x2a/0x2c
[ 13.044789] [<ffffffff82b93688>] x86_64_start_kernel+0xf1/0x100
[ 13.044799] ---[ end trace 113ad28772af4058 ]---
git bisect start a2963dd6085970cbf5e09ab67fd57b2cb396f3b9 v3.9 --
git bisect good 73287a43cc79ca06629a88d1a199cd283f42456a # 10 2013-06-05 22:52:59 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
git bisect good 2e378f3eebd28feefbb1f9953834a5a19482f053 # 10 2013-06-05 23:11:57 Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6
git bisect good a1f0bcccffe508b36f8eb0bd39771d4bedc683a8 # 10 2013-06-05 23:23:44 Merge branch 'next' of git://git.monstr.eu/linux-2.6-microblaze
git bisect good 72dd4e7980bf584fa11db4f00e38d5cf956a8856 # 10 2013-06-06 00:45:04 Merge git://git.kernel.org/pub/scm/virt/kvm/kvm
git bisect good 279838960484fa22d903086eea743a6b6700647d # 10 2013-06-06 00:55:21 powerpc/pci: Remove the stale comments of pci_process_bridge_OF_ranges
git bisect good a1f2cc73c762868435ae6ec9126bb2240337c61c # 10 2013-06-06 01:20:30 drm/i915: add I915_PARAM_HAS_VEBOX to i915_getparam
git bisect good 6cf3c736200e3924d8ce6b37e5006a4598b9236d # 10 2013-06-06 02:33:37 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
git bisect good 0e32fde96bb9c1fa8fa477e52c1d6ae2f4995cea # 10 2013-06-06 04:09:34 Merge branch 'drm-nouveau-fixes-3.10' of git://anongit.freedesktop.org/git/nouveau/linux-2.6 into drm-fixes
git bisect good d7fe0cc0f2e0b302b247caa4306915a06218e0be # 10 2013-06-06 04:18:24 drm/i915: Fix DSPCLK_GATE_D for VLV
git bisect good f0e07e4668afdea1755a1e28a9649261afe980b3 # 10 2013-06-06 04:28:12 drm/nouveau: make flipping lockdep safe
git bisect good 979c3c0bdb21017cc6e00d20349f0ee0347dd5a7 # 10 2013-06-06 05:36:07 Merge remote-tracking branch 'drm-exynos/exynos-drm-next' into devel-cairo-x86_64-201306051657
git bisect bad 37fbcd59bdc8c309bc98957ff51021bbdff45606 # 0 2013-06-06 05:41:47 drm/mgag200: inline reservations
git bisect bad 1e9e9d11aa358123dd721dba5075e23c03b49957 # 0 2013-06-06 05:51:10 drm/ast: inline reservations
git bisect bad 3d71c6ed43d838e593538176a9a59debe228cfb0 # 0 2013-06-06 05:57:39 drm/ttm: convert to the reservation api
git bisect good f0e07e4668afdea1755a1e28a9649261afe980b3 # 30 2013-06-06 07:16:11 drm/nouveau: make flipping lockdep safe
git bisect bad a2963dd6085970cbf5e09ab67fd57b2cb396f3b9 # 0 2013-06-06 07:16:15 Merge remote-tracking branch 'mlankhorst/for-airlied' into devel-cairo-x86_64-201306051657
git bisect good f8f126f22a32f2f2b3b61bd5b8a3d51a2cac09ec # 30 2013-06-06 07:19:56 Add linux-next specific files for 20130605
Thanks,
Fengguang
View attachment "dmesg-kvm-cairo-2888-20130605173903-3.10.0-rc4-00296-ga2963dd-20" of type "text/plain" (82172 bytes)
Download attachment "a2963dd6085970cbf5e09ab67fd57b2cb396f3b9-bisect.log" of type "application/octet-stream" (13900 bytes)
View attachment ".config-bisect" of type "text/plain" (81431 bytes)
Powered by blists - more mailing lists