From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754313AbbIRQC0 (ORCPT ); Fri, 18 Sep 2015 12:02:26 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:44985 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753955AbbIRQCY (ORCPT ); Fri, 18 Sep 2015 12:02:24 -0400 Message-ID: <55FC3587.7010601@ti.com> Date: Fri, 18 Sep 2015 12:02:15 -0400 From: Murali Karicheri Organization: Texas Instruments User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: possible reason: unannotated irqs-off Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org All, While chasing a fix for a deadlock in netcp driver with debug options enabled, i bumped on another warning shown below.. Looks like I need to enable CONFIG_IRQSOFF_TRACER as well to get rid of this. Have anyone seen this? My google search showed me some connection with this option and I enabled it as well and I don't see the warning anymore. Any idea if this is a false alarm or a real bug? Looks like I need to enable CONFIG_IRQSOFF_TRACER as well. If so, I can send a patch. Either way let me know. Murali [ 17.401337] ------------[ cut here ]------------ [ 17.405991] WARNING: CPU: 2 PID: 1201 at kernel/locking/lockdep.c:3557 check_flags.part.37+0x224/0x228() [ 17.415508] DEBUG_LOCKS_WARN_ON(current->hardirqs_enabled) [ 17.420836] Modules linked in: [ 17.424087] CPU: 2 PID: 1201 Comm: udevd Tainted: G W 4.1.6-01270-gcdac6fd #1 [ 17.432379] Hardware name: Keystone [ 17.435894] [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [ 17.443673] [] (show_stack) from [] (dump_stack+0x84/0xc4) [ 17.450926] [] (dump_stack) from [] (warn_slowpath_common+0x84/0xb4) [ 17.459048] [] (warn_slowpath_common) from [] (warn_slowpath_fmt+0x30/0x40) [ 17.467781] [] (warn_slowpath_fmt) from [] (check_flags.part.37+0x224/0x228) [ 17.476601] [] (check_flags.part.37) from [] (lock_is_held+0x88/0x94) [ 17.484811] [] (lock_is_held) from [] (rcu_note_context_switch+0x854/0x8c0) [ 17.493545] [] (rcu_note_context_switch) from [] (__schedule+0x40/0x844) [ 17.502017] [] (__schedule) from [] (schedule+0x40/0x98) [ 17.509097] [] (schedule) from [] (do_work_pending+0x24/0xb0) [ 17.516610] [] (do_work_pending) from [] (work_pending+0xc/0x20) [ 17.524380] ---[ end trace fe0042166f5d3227 ]--- [ 17.529009] possible reason: unannotated irqs-off. [ 17.533813] irq event stamp: 331979 [ 17.537308] hardirqs last enabled at (331979): [] no_work_pending+0x8/0x30 [ 17.545172] hardirqs last disabled at (331978): [] ret_slow_syscall+0xc/0x10 [ 17.553123] softirqs last enabled at (327182): [] __do_softirq+0x4dc/0x6cc [ 17.560987] softirqs last disabled at (327177): [] irq_exit+0x98/0xcc -- Murali Karicheri Linux Kernel, Keystone