Skip to contentSkip to conversation

PCI: AMD 813x B2 devices do not need quirk

PATCH Applied Greg KH 2 participants 2 messages Feb 26, 2009 – Feb 27, 2009 PCI

lore
Share & tools
lore

Greg KH

author
#0 lore raw

PATCH 1/1 PCI: AMD 813x B2 devices do not need quirk

From: Stefan Assmann <[email protected]>

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 <[email protected]>

---
 drivers/pci/quirks.c |    3 +++
 1 file changed, 3 insertions(+)
drivers/pci/quirks.c +3 -0
@@ -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;
Applied
#1 lore raw
Quoted 5 lines · Greg KH

From: Stefan Assmann <[email protected]>

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,

Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center