Return-path: Received: from mailout3.hostsharing.net ([176.9.242.54]:35825 "EHLO mailout3.hostsharing.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752127AbcDFVeH (ORCPT ); Wed, 6 Apr 2016 17:34:07 -0400 Date: Wed, 6 Apr 2016 23:36:08 +0200 From: Lukas Wunner To: Michael =?iso-8859-1?Q?B=FCsch?= Cc: Bjorn Helgaas , linux-pci@vger.kernel.org, linux-wireless@vger.kernel.org, b43-dev@lists.infradead.org, Matthew Garrett Subject: Re: [PATCH] PCI: Add Broadcom 4331 reset quirk to prevent IRQ storm Message-ID: <20160406213608.GB12421@wunner.de> (sfid-20160406_233412_185863_B4AD9078) References: <811539524df8b5ed7e2817c1c3e3e08560c97964.1459275517.git.lukas@wunner.de> <20160405194015.GC15353@localhost> <20160405214945.1214e13b@wiggum> <20160406133151.GA4976@localhost> <20160406171724.2b7b070b@wiggum> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 In-Reply-To: <20160406171724.2b7b070b@wiggum> Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi, On Wed, Apr 06, 2016 at 05:17:24PM +0200, Michael B?sch wrote: > On Wed, 6 Apr 2016 08:31:51 -0500 Bjorn Helgaas wrote: > > > Even for interrupts, it's only a 90% solution because we do still get > > a few interrupts before the quirk runs. There may not be enough to > > trigger the "IRQ nobody cared" check, > > If no driver requested the shared interrupt yet, it should be disabled > in the interrupt controller. So the interrupts do not reach the CPU. > The interrupt storm (on the CPU) starts as soon as some driver > that shares the interrupt with b43 requests and thus enables the > interrupt. And that always happens after the PCI fixup. Thus this is > safe. Yes, that is correct. I only see 67 interrupts for IRQ 17 with the PCI quirk compiled in, all of which seem to come from the initialization of pciehp, mmc and the hda sound card (which share the IRQ with b43 on my machine). Thanks, Lukas