Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755031Ab3GPOog (ORCPT ); Tue, 16 Jul 2013 10:44:36 -0400 Received: from e23smtp08.au.ibm.com ([202.81.31.141]:49269 "EHLO e23smtp08.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754599Ab3GPOoe (ORCPT ); Tue, 16 Jul 2013 10:44:34 -0400 Message-ID: <51E55B7D.2040209@linux.vnet.ibm.com> Date: Tue, 16 Jul 2013 20:11:01 +0530 From: "Srivatsa S. Bhat" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0 MIME-Version: 1.0 To: "linux-kernel@vger.kernel.org" CC: Tejun Heo , Lai Jiangshan , "Rafael J. Wysocki" , bhelgaas@google.com, "Srivatsa S. Bhat" Subject: workqueue, pci: INFO: possible recursive locking detected Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Scanned: Fidelis XPS MAILER x-cbid: 13071614-5140-0000-0000-00000386C60C Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4060 Lines: 98 Hi, I have been seeing this warning every time during boot. I haven't spent time digging through it though... Please let me know if any machine-specific info is needed. Regards, Srivatsa S. Bhat ---------------------------------------------------- ============================================= [ INFO: possible recursive locking detected ] 3.11.0-rc1-lockdep-fix-a #6 Not tainted --------------------------------------------- kworker/0:1/142 is trying to acquire lock: ((&wfc.work)){+.+.+.}, at: [] flush_work+0x0/0xb0 but task is already holding lock: ((&wfc.work)){+.+.+.}, at: [] process_one_work+0x169/0x610 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock((&wfc.work)); lock((&wfc.work)); *** DEADLOCK *** May be due to missing lock nesting notation 3 locks held by kworker/0:1/142: #0: (events){.+.+.+}, at: [] process_one_work+0x169/0x610 #1: ((&wfc.work)){+.+.+.}, at: [] process_one_work+0x169/0x610 #2: (&__lockdep_no_validate__){......}, at: [] device_attach+0x2a/0xc0 stack backtrace: CPU: 0 PID: 142 Comm: kworker/0:1 Not tainted 3.11.0-rc1-lockdep-fix-a #6 Hardware name: IBM -[8737R2A]-/00Y2738, BIOS -[B2E120RUS-1.20]- 11/30/2012 Workqueue: events work_for_cpu_fn ffff881036fecd88 ffff881036fef678 ffffffff8161a919 0000000000000003 ffff881036fec400 ffff881036fef6a8 ffffffff810c2234 ffff881036fec400 ffff881036fecd88 ffff881036fec400 0000000000000000 ffff881036fef708 Call Trace: [] dump_stack+0x59/0x80 [] print_deadlock_bug+0xf4/0x100 [] validate_chain+0x504/0x750 [] __lock_acquire+0x30d/0x580 [] lock_acquire+0x97/0x170 [] ? start_flush_work+0x220/0x220 [] flush_work+0x48/0xb0 [] ? start_flush_work+0x220/0x220 [] ? mark_held_locks+0x80/0x130 [] ? queue_work_on+0x4b/0xa0 [] ? trace_hardirqs_on_caller+0x105/0x1d0 [] ? trace_hardirqs_on+0xd/0x10 [] work_on_cpu+0x80/0x90 [] ? wqattrs_hash+0x190/0x190 [] ? pci_pm_prepare+0x60/0x60 [] ? cpumask_next_and+0x29/0x50 [] __pci_device_probe+0x9a/0xe0 [] ? _raw_spin_unlock_irq+0x30/0x50 [] ? pci_dev_get+0x22/0x30 [] pci_device_probe+0x3a/0x60 [] ? _raw_spin_unlock_irq+0x30/0x50 [] really_probe+0x6c/0x320 [] driver_probe_device+0x47/0xa0 [] ? __driver_attach+0xb0/0xb0 [] __device_attach+0x53/0x60 [] bus_for_each_drv+0x74/0xa0 [] device_attach+0xa0/0xc0 [] pci_bus_add_device+0x39/0x60 [] virtfn_add+0x251/0x3e0 [] ? trace_hardirqs_on+0xd/0x10 [] sriov_enable+0x22f/0x3d0 [] pci_enable_sriov+0x4d/0x60 [] be_vf_setup+0x175/0x410 [be2net] [] be_setup+0x37a/0x4b0 [be2net] [] be_probe+0x5c0/0x820 [be2net] [] local_pci_probe+0x4e/0x90 [] work_for_cpu_fn+0x18/0x30 [] process_one_work+0x1da/0x610 [] ? process_one_work+0x169/0x610 [] worker_thread+0x28c/0x3a0 [] ? process_one_work+0x610/0x610 [] kthread+0xee/0x100 [] ? __init_kthread_worker+0x70/0x70 [] ret_from_fork+0x7c/0xb0 [] ? __init_kthread_worker+0x70/0x70 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/