Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752917Ab1EAJRV (ORCPT ); Sun, 1 May 2011 05:17:21 -0400 Received: from mail-iw0-f174.google.com ([209.85.214.174]:43681 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752390Ab1EAJRQ (ORCPT ); Sun, 1 May 2011 05:17:16 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=YL9yjGOGqvFv9Skij1rrLUrRrLKVFVQ+bfddLqfhxkOF4glwjWSS6J3UKAED8PFhcz +xbojVs7wW2qNGQHZrofPdPvV0/qtUFC5pm/AtQ/9cGjL0Tjna3MQAMIvOS3J1kV0seZ isPbxOVaC3ojGf6W2kOFVJj2gNjxuwANxr7KE= Date: Sun, 1 May 2011 04:17:10 -0500 From: Jonathan Nieder To: linux-media@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Mauro Carvalho Chehab , Dan Carpenter , Hans Verkuil , Andi Huber , Marlon de Boer , Damien Churchill Subject: [PATCH v2.6.38 resend 0/7] cx88 deadlock and data races Message-ID: <20110501091710.GA18263@elie> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2171 Lines: 49 Hi, Since v2.6.37 (BKL removal), trying to open a cx88-blackbird driven MPEG device would hang. Ben Hutchings provided an initial patch[1] to fix that, and Andi Huber helped a lot in finding races that patch had missed. Ben requested that I take authorship of the series, so I've done so. These patches have visited the list twice before[2], towards the beginning of this month. No feedback from maintainers or reviewers --- I'm beginning to wonder if I have the right list. Luckily two people[3][4] experiencing this problem on bugzilla were kind enough to test the series and found it worked okay. Patches are against v2.6.38 (but they do not conflict with anything in media-tree/staging/for_v2.6.40). The intent is to include them in v2.6.40 if possible. A copy of these patches is also available for convenient fetching from git://repo.or.cz/linux-2.6/jrn.git cx88-locking Thoughts? Jonathan Nieder (7): [media] cx88: protect per-device driver list with device lock [media] cx88: fix locking of sub-driver operations [media] cx88: hold device lock during sub-driver initialization [media] cx88: protect cx8802_devlist with a mutex [media] cx88: gracefully reject attempts to use unregistered cx88-blackbird driver [media] cx88: don't use atomic_t for core->mpeg_users [media] cx88: don't use atomic_t for core->users drivers/media/video/cx88/cx88-blackbird.c | 41 +++++++++++++++------------- drivers/media/video/cx88/cx88-dvb.c | 2 + drivers/media/video/cx88/cx88-mpeg.c | 40 ++++++++++++++++++---------- drivers/media/video/cx88/cx88-video.c | 5 ++- drivers/media/video/cx88/cx88.h | 11 +++++-- 5 files changed, 61 insertions(+), 38 deletions(-) [1] http://bugs.debian.org/619827 [2] http://thread.gmane.org/gmane.linux.kernel/1118815 [3] https://bugzilla.kernel.org/show_bug.cgi?id=31792 [4] https://bugzilla.kernel.org/show_bug.cgi?id=31962 -- 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/