From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754151AbaIZJkV (ORCPT ); Fri, 26 Sep 2014 05:40:21 -0400 Received: from gw-1.arm.linux.org.uk ([78.32.30.217]:43724 "EHLO pandora.arm.linux.org.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753438AbaIZJkT (ORCPT ); Fri, 26 Sep 2014 05:40:19 -0400 Date: Fri, 26 Sep 2014 10:40:03 +0100 From: Russell King - ARM Linux To: Thomas Gleixner Cc: Kevin Hilman , ulf.hansson@linaro.org, linux-pm@vger.kernel.org, daniel.lezcano@linaro.org, rjw@rjwysocki.net, linux-kernel@vger.kernel.org, Lina Iyer , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v3 3/4] irq: Allow multiple clients to register for irq affinity notification Message-ID: <20140926094003.GL5182@n2100.arm.linux.org.uk> References: <1409170479-29955-1-git-send-email-lina.iyer@linaro.org> <1409170479-29955-4-git-send-email-lina.iyer@linaro.org> <20140902184305.GB91995@ilina-mac.local> <7htx3vbfqr.fsf@deeprootsystems.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 26, 2014 at 11:29:56AM +0200, Thomas Gleixner wrote: > On Thu, 25 Sep 2014, Kevin Hilman wrote: > > Maybe I'm missing something, or maybe we're just lucky and nobody uses > > them together, but irq_set_affinity_notifier() only allows a single > > notifier to be registered at any given time. So if you had a system > > A single notifier per irq ..... So what about two drivers wanting to use this notifier, but sharing an interrupt? It sounds to me like this notifier was misdesigned from the very start, and it should always have supported multiple notifiers. -- FTTC broadband for 0.8mile line: currently at 9.5Mbps down 400kbps up according to speedtest.net.