PCI: AMD 813x B2 devices do not need quirk
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]>
Reported-by Jamie Wellnitz <[email protected]>
Tested-by Jamie Wellnitz <[email protected]>
Cc stable <[email protected]>
Signed-off-by Greg Kroah-Hartman <[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 0x13static 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 ;
Jesse Barnes
AppliedQuoted 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_interruptquirk 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