Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932148Ab2FGGUw (ORCPT ); Thu, 7 Jun 2012 02:20:52 -0400 Received: from mout6.freenet.de ([195.4.92.96]:33982 "EHLO mout6.freenet.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754143Ab2FGGUu (ORCPT ); Thu, 7 Jun 2012 02:20:50 -0400 Message-ID: <4FD047A7.6050602@01019freenet.de> Date: Thu, 07 Jun 2012 08:18:15 +0200 From: Andreas Hartmann User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120428 Firefox/12.0 SeaMonkey/2.9.1 MIME-Version: 1.0 To: Alex Williamson CC: bjorn.helgaas@hp.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, jan.kiszka@siemens.com, andihartmann@01019freenet.de Subject: Re: [PATCH] PCI: Add Ralink RT2800 broken INTx masking quirk References: <20120606212241.6627.98371.stgit@bling.home> In-Reply-To: <20120606212241.6627.98371.stgit@bling.home> X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1449 Lines: 42 Hello Alex, what about a module parameter to achieve this behaviour manually by the user without recompiling? I fear, there are much more candidates out there needing this "feature". Kind regards and thank you, Andreas Alex Williamson wrote: > Passes pci_intx_mask_supported but continues to send interrupts as > discovered through VFIO-based device assignment. > > http://www.spinics.net/lists/kvm/msg73738.html > > Signed-off-by: Alex Williamson --- > > Depends on Jan's base patch for this quirk: > http://www.spinics.net/lists/linux-pci/msg15516.html > > drivers/pci/quirks.c | 2 ++ 1 file changed, 2 insertions(+) > > diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index > cbb4358..178f494 100644 --- a/drivers/pci/quirks.c +++ > b/drivers/pci/quirks.c @@ -2940,6 +2940,8 @@ static void __devinit > quirk_broken_intx_masking(struct pci_dev *dev) } > DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_CHELSIO, 0x0010, > quirk_broken_intx_masking); +DECLARE_PCI_FIXUP_FINAL(0x1814, > 0x0601, /* Ralink RT2800 802.11n PCI */ + > quirk_broken_intx_masking); > > static void pci_do_fixups(struct pci_dev *dev, struct pci_fixup > *f, struct pci_fixup *end) > -- 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/