From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@bugzilla.kernel.org
Subject: [Bug 79591] New: possible circular locking dependency detected
Date: Mon, 07 Jul 2014 08:11:24 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Return-path:
Received: from mail.kernel.org (mail.kernel.org [198.145.19.201])
by gabe.freedesktop.org (Postfix) with ESMTP id 29EDE6E277
for ; Mon, 7 Jul 2014 01:11:27 -0700 (PDT)
Received: from mail.kernel.org (localhost [127.0.0.1])
by mail.kernel.org (Postfix) with ESMTP id C63AB201BA
for ; Mon, 7 Jul 2014 08:11:25 +0000 (UTC)
Received: from bugzilla1.web.kernel.org (bugzilla1.web.kernel.org
[172.20.200.51])
by mail.kernel.org (Postfix) with ESMTP id 938EF2017D
for ; Mon, 7 Jul 2014 08:11:24 +0000 (UTC)
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
https://bugzilla.kernel.org/show_bug.cgi?id=79591
Bug ID: 79591
Summary: possible circular locking dependency detected
Product: Drivers
Version: 2.5
Kernel Version: 3.16.0-0.rc3.git3
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(DRI - non Intel)
Assignee: drivers_video-dri@kernel-bugs.osdl.org
Reporter: mail@stefanringel.de
Regression: No
[ 278.448193] ======================================================
[ 278.448194] [ INFO: possible circular locking dependency detected ]
[ 278.448197] 3.16.0-0.rc3.git3.1.fc21.x86_64 #1 Not tainted
[ 278.448198] -------------------------------------------------------
[ 278.448200] Xorg.bin/1249 is trying to acquire lock:
[ 278.448201] (&(&priv->lock)->rlock#2){-.-...}, at: []
nouveau_therm_update+0x48/0x350 [nouveau]
[ 278.448251]
but task is already holding lock:
[ 278.448253] (&(&priv->sensor.alarm_program_lock)->rlock){-.-...}, at:
[] alarm_timer_callback+0x54/0xe0 [nouveau]
[ 278.448273]
which lock already depends on the new lock.
[ 278.448275]
the existing dependency chain (in reverse order) is:
[ 278.448276]
-> #1 (&(&priv->sensor.alarm_program_lock)->rlock){-.-...}:
[ 278.448279] [] lock_acquire+0xa4/0x1d0
[ 278.448283] [] _raw_spin_lock_irqsave+0x57/0xa0
[ 278.448287] [] alarm_timer_callback+0x54/0xe0
[nouveau]
[ 278.448303] [] nv04_timer_alarm_trigger+0x138/0x190
[nouveau]
[ 278.448319] [] nv04_timer_alarm+0x60/0xd0 [nouveau]
[ 278.448334] [] nouveau_therm_update+0x307/0x350
[nouveau]
[ 278.448349] [] nouveau_therm_alarm+0x1a/0x20
[nouveau]
[ 278.448365] [] nv04_timer_alarm_trigger+0x138/0x190
[nouveau]
[ 278.448380] [] nv04_timer_intr+0x6b/0x90 [nouveau]
[ 278.448395] [] nouveau_mc_intr+0x141/0x1c0
[nouveau]
[ 278.448410] [] handle_irq_event_percpu+0x77/0x340
[ 278.448413] [] handle_irq_event+0x3d/0x60
[ 278.448415] [] handle_edge_irq+0x66/0x130
[ 278.448418] [] handle_irq+0x84/0x150
[ 278.448421] [] do_IRQ+0x4d/0xe0
[ 278.448423] [] ret_from_intr+0x0/0x1a
[ 278.448426] [] debug_dma_assert_idle+0xea/0x220
[ 278.448429] [] do_wp_page+0xe5/0x970
[ 278.448432] [] handle_mm_fault+0x8ec/0xfd0
[ 278.448434] [] __do_page_fault+0x239/0x620
[ 278.448437] [] do_page_fault+0x22/0x30
[ 278.448439] [] page_fault+0x28/0x30
[ 278.448441]
-> #0 (&(&priv->lock)->rlock#2){-.-...}:
[ 278.448444] [] __lock_acquire+0x1abb/0x1ca0
[ 278.448446] [] lock_acquire+0xa4/0x1d0
[ 278.448448] [] _raw_spin_lock_irqsave+0x57/0xa0
[ 278.448450] [] nouveau_therm_update+0x48/0x350
[nouveau]
[ 278.448465] [] nouveau_therm_alarm+0x1a/0x20
[nouveau]
[ 278.448480] [] nv04_timer_alarm_trigger+0x138/0x190
[nouveau]
[ 278.448496] [] nv04_timer_alarm+0x60/0xd0 [nouveau]
[ 278.448511] [] alarm_timer_callback+0xdd/0xe0
[nouveau]
[ 278.448526] [] nv04_timer_alarm_trigger+0x138/0x190
[nouveau]
[ 278.448542] [] nv04_timer_intr+0x6b/0x90 [nouveau]
[ 278.448557] [] nouveau_mc_intr+0x141/0x1c0
[nouveau]
[ 278.448572] [] handle_irq_event_percpu+0x77/0x340
[ 278.448574] [] handle_irq_event+0x3d/0x60
[ 278.448576] [] handle_edge_irq+0x66/0x130
[ 278.448578] [] handle_irq+0x84/0x150
[ 278.448581] [] do_IRQ+0x4d/0xe0
[ 278.448583] [] ret_from_intr+0x0/0x1a
[ 278.448585] [] __module_text_address+0x12/0x70
[ 278.448588] [] is_module_text_address+0x16/0x30
[ 278.448590] [] __kernel_text_address+0x3a/0x90
[ 278.448592] [] print_context_stack+0x62/0x100
[ 278.448594] [] dump_trace+0x170/0x350
[ 278.448596] [] save_stack_trace+0x2b/0x50
[ 278.448599] [] dma_entry_alloc+0x59/0x90
[ 278.448601] [] debug_dma_alloc_coherent+0x2f/0x90
[ 278.448603] [] ttm_dma_populate+0x545/0xaa0 [ttm]
[ 278.448613] [] nouveau_ttm_tt_populate+0x14c/0x170
[nouveau]
[ 278.448639] [] ttm_tt_bind+0x40/0x80 [ttm]
[ 278.448644] [] ttm_bo_handle_move_mem+0x5bf/0x650
[ttm]
[ 278.448649] [] ttm_bo_validate+0x2df/0x300 [ttm]
[ 278.448654] [] ttm_bo_init+0x253/0x3b0 [ttm]
[ 278.448658] [] nouveau_bo_new+0x202/0x310 [nouveau]
[ 278.448677] [] nouveau_gem_new+0x6b/0x160 [nouveau]
[ 278.448698] [] nouveau_gem_ioctl_new+0xb6/0x220
[nouveau]
[ 278.448718] [] drm_ioctl+0x1df/0x6a0 [drm]
[ 278.448733] [] nouveau_drm_ioctl+0x65/0xa0
[nouveau]
[ 278.448753] [] do_vfs_ioctl+0x2f0/0x520
[ 278.448756] [] SyS_ioctl+0x81/0xa0
[ 278.448758] [] system_call_fastpath+0x16/0x1b
[ 278.448760]
other info that might help us debug this:
[ 278.448762] Possible unsafe locking scenario:
[ 278.448764] CPU0 CPU1
[ 278.448765] ---- ----
[ 278.448766] lock(&(&priv->sensor.alarm_program_lock)->rlock);
[ 278.448767] lock(&(&priv->lock)->rlock#2);
[ 278.448770]
lock(&(&priv->sensor.alarm_program_lock)->rlock);
[ 278.448771] lock(&(&priv->lock)->rlock#2);
[ 278.448773]
*** DEADLOCK ***
[ 278.448775] 2 locks held by Xorg.bin/1249:
[ 278.448776] #0: (reservation_ww_class_mutex){+.+.+.}, at:
[] ttm_bo_init+0x2d1/0x3b0 [ttm]
[ 278.448783] #1: (&(&priv->sensor.alarm_program_lock)->rlock){-.-...}, at:
[] alarm_timer_callback+0x54/0xe0 [nouveau]
[ 278.448800]
stack backtrace:
[ 278.448803] CPU: 0 PID: 1249 Comm: Xorg.bin Not tainted
3.16.0-0.rc3.git3.1.fc21.x86_64 #1
[ 278.448804] Hardware name: System manufacturer System Product
Name/M4A78LT-M, BIOS 0802 08/24/2010
[ 278.448806] 0000000000000000 000000007a5a7c22 ffff88011aa03b00
ffffffff81807cec
[ 278.448809] ffffffff82bc2ef0 ffff88011aa03b40 ffffffff8180508c
ffff88011aa03ba0
[ 278.448812] ffff8801185b9a40 ffff8801185b99d0 0000000000000002
ffff8801185ba5a8
[ 278.448815] Call Trace:
[ 278.448816] [] dump_stack+0x4d/0x66
[ 278.448823] [] print_circular_bug+0x201/0x20f
[ 278.448825] [] __lock_acquire+0x1abb/0x1ca0
[ 278.448828] [] ? native_sched_clock+0x2e/0xb0
[ 278.448831] [] lock_acquire+0xa4/0x1d0
[ 278.448847] [] ? nouveau_therm_update+0x48/0x350
[nouveau]
[ 278.448850] [] _raw_spin_lock_irqsave+0x57/0xa0
[ 278.448866] [] ? nouveau_therm_update+0x48/0x350
[nouveau]
[ 278.448882] [] nouveau_therm_update+0x48/0x350 [nouveau]
[ 278.448898] [] nouveau_therm_alarm+0x1a/0x20 [nouveau]
[ 278.448915] [] nv04_timer_alarm_trigger+0x138/0x190
[nouveau]
[ 278.448931] [] nv04_timer_alarm+0x60/0xd0 [nouveau]
[ 278.448948] [] alarm_timer_callback+0xdd/0xe0 [nouveau]
[ 278.448964] [] nv04_timer_alarm_trigger+0x138/0x190
[nouveau]
[ 278.448981] [] nv04_timer_intr+0x6b/0x90 [nouveau]
[ 278.448998] [] nouveau_mc_intr+0x141/0x1c0 [nouveau]
[ 278.449000] [] handle_irq_event_percpu+0x77/0x340
[ 278.449003] [] handle_irq_event+0x3d/0x60
[ 278.449005] [] handle_edge_irq+0x66/0x130
[ 278.449007] [] handle_irq+0x84/0x150
[ 278.449010] [] ? irqtime_account_irq+0xc5/0xd0
[ 278.449012] [] do_IRQ+0x4d/0xe0
[ 278.449015] [] common_interrupt+0x72/0x72
[ 278.449016] [] ? 0xffffffffa0083fff
[ 278.449023] [] ? __module_address+0x29/0x150
[ 278.449026] [] ? __module_address+0xf3/0x150
[ 278.449029] [] __module_text_address+0x12/0x70
[ 278.449031] [] is_module_text_address+0x16/0x30
[ 278.449034] [] __kernel_text_address+0x3a/0x90
[ 278.449036] [] print_context_stack+0x62/0x100
[ 278.449038] [] dump_trace+0x170/0x350
[ 278.449041] [] save_stack_trace+0x2b/0x50
[ 278.449043] [] dma_entry_alloc+0x59/0x90
[ 278.449045] [] debug_dma_alloc_coherent+0x2f/0x90
[ 278.449051] [] ttm_dma_populate+0x545/0xaa0 [ttm]
[ 278.449072] [] nouveau_ttm_tt_populate+0x14c/0x170
[nouveau]
[ 278.449078] [] ttm_tt_bind+0x40/0x80 [ttm]
[ 278.449084] [] ttm_bo_handle_move_mem+0x5bf/0x650 [ttm]
[ 278.449089] [] ? ttm_bo_mem_space+0x179/0x370 [ttm]
[ 278.449092] [] ? lock_release_holdtime.part.28+0xf/0x200
[ 278.449098] [] ttm_bo_validate+0x2df/0x300 [ttm]
[ 278.449100] [] ? trace_hardirqs_on_caller+0x15d/0x200
[ 278.449106] [] ttm_bo_init+0x253/0x3b0 [ttm]
[ 278.449126] [] nouveau_bo_new+0x202/0x310 [nouveau]
[ 278.449147] [] ? nv10_bo_put_tile_region+0x50/0x50
[nouveau]
[ 278.449168] [] nouveau_gem_new+0x6b/0x160 [nouveau]
[ 278.449189] [] nouveau_gem_ioctl_new+0xb6/0x220 [nouveau]
[ 278.449197] [] drm_ioctl+0x1df/0x6a0 [drm]
[ 278.449201] [] ? trace_hardirqs_on_caller+0x15d/0x200
[ 278.449203] [] ? trace_hardirqs_on+0xd/0x10
[ 278.449223] [] nouveau_drm_ioctl+0x65/0xa0 [nouveau]
[ 278.449226] [] do_vfs_ioctl+0x2f0/0x520
[ 278.449228] [] SyS_ioctl+0x81/0xa0
[ 278.449231] [] ? __audit_syscall_entry+0x9c/0xf0
[ 278.449234] [] system_call_fastpath+0x16/0x1b
--
You are receiving this mail because:
You are watching the assignee of the bug.