The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] PCI: AMD 813x B2 devices do not need quirk
@ 2009-02-26 18:46 Greg KH
  2009-02-27  0:29 ` Jesse Barnes
  0 siblings, 1 reply; 2+ messages in thread
From: Greg KH @ 2009-02-26 18:46 UTC (permalink / raw)
  To: Jesse Barnes
  Cc: Stefan Assmann, Jamie Wellnitz, stable, linux-pci, linux-kernel

From: Stefan Assmann <sassmann@novell.com>

Turns out that the new AMD 813x devices do not need the
quirk_disable_amd_813x_boot_interrupt quirk to be run on them, if it is,
no interrupts are seen on the PCI-X adapter.

From: Stefan Assmann <sassmann@novell.com>
Reported-by: Jamie Wellnitz <Jamie.Wellnitz@emulex.com>
Tested-by: Jamie Wellnitz <Jamie.Wellnitz@emulex.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

---
 drivers/pci/quirks.c |    3 +++
 1 file changed, 3 insertions(+)

--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -1554,6 +1554,7 @@ DECLARE_PCI_FIXUP_RESUME(PCI_VENDOR_ID_S
  */
 #define AMD_813X_MISC			0x40
 #define AMD_813X_NOIOAMODE		(1<<0)
+#define AMD_813X_REV_B2			0x13
 
 static void quirk_disable_amd_813x_boot_interrupt(struct pci_dev *dev)
 {
@@ -1561,6 +1562,8 @@ static void quirk_disable_amd_813x_boot_
 
 	if (noioapicquirk)
 		return;
+	if (dev->revision == AMD_813X_REV_B2)
+		return;
 
 	pci_read_config_dword(dev, AMD_813X_MISC, &pci_config_dword);
 	pci_config_dword &= ~AMD_813X_NOIOAMODE;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] PCI: AMD 813x B2 devices do not need quirk
  2009-02-26 18:46 [PATCH] PCI: AMD 813x B2 devices do not need quirk Greg KH
@ 2009-02-27  0:29 ` Jesse Barnes
  0 siblings, 0 replies; 2+ messages in thread
From: Jesse Barnes @ 2009-02-27  0:29 UTC (permalink / raw)
  To: Greg KH; +Cc: Stefan Assmann, Jamie Wellnitz, stable, linux-pci, linux-kernel

On Thursday, February 26, 2009 10:46:48 am Greg KH wrote:
> From: Stefan Assmann <sassmann@novell.com>
>
> Turns out that the new AMD 813x devices do not need the
> quirk_disable_amd_813x_boot_interrupt quirk to be run on them, if it is,
> no interrupts are seen on the PCI-X adapter.

Applied to my for-linus branch and pushed to Linus.

Thanks,
-- 
Jesse Barnes, Intel Open Source Technology Center

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-27  0:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-26 18:46 [PATCH] PCI: AMD 813x B2 devices do not need quirk Greg KH
2009-02-27  0:29 ` Jesse Barnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox