Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751278AbWINAo2 (ORCPT ); Wed, 13 Sep 2006 20:44:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751279AbWINAo2 (ORCPT ); Wed, 13 Sep 2006 20:44:28 -0400 Received: from twin.jikos.cz ([213.151.79.26]:47746 "EHLO twin.jikos.cz") by vger.kernel.org with ESMTP id S1751278AbWINAo1 (ORCPT ); Wed, 13 Sep 2006 20:44:27 -0400 Date: Thu, 14 Sep 2006 02:44:01 +0200 (CEST) From: Jiri Kosina To: Andrew Morton , Dmitry Torokhov cc: lkml , Arjan van de Ven , Dave Jones Subject: [PATCH 0/3] Synaptics - fix lockdep warnings Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1661 Lines: 47 Hi, the following three patches fix two lockdep warnings I am receiving with 2.6.18-rc6-mm2 (but at least the first one has been already discussed in the times of 2.6.17, reported by Dave Jones) and I can see the problem in current mainline source too). * [1/3] fixes this: ============================================= [ INFO: possible recursive locking detected ] 2.6.18-rc6-mm2-dirty #4 --------------------------------------------- kseriod/140 is trying to acquire lock: (&ps2dev->cmd_mutex/1){--..}, at: [] ps2_command+0x5b/0x3a0 but task is already holding lock: (&ps2dev->cmd_mutex/1){--..}, at: [] ps2_command+0x5b/0x3a0 * [2/3] adds support for spin_lock_irqsave_nested(), which is needed by [3/3] * [3/3] fixes this: ============================================= [ INFO: possible recursive locking detected ] 2.6.18-rc6-mm2-dirty #7 --------------------------------------------- swapper/0 is trying to acquire lock: (&serio->lock){++..}, at: [] serio_interrupt+0x20/0x60 but task is already holding lock: (&serio->lock){++..}, at: [] serio_interrupt+0x20/0x60 All three patches are based against 2.6.18-rc6-mm2, I can rebase them against mainline, if needed. Both warnings have been solved by splitting the respective functions to nested and non-nested variants, and calling them from synpatics driver as appropriate. -- JiKos. - 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/