[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4A5429F1.6050503@kernel.org>
Date: Wed, 08 Jul 2009 14:09:05 +0900
From: Tejun Heo <tj@...nel.org>
To: Linux Kernel <linux-kernel@...r.kernel.org>,
Greg KH <greg@...ah.com>
CC: linux-pci@...r.kernel.org, stable@...nel.org
Subject: [PATCH] pci: apply nv_msi_ht_cap_quirk on resume too
bko#12542 and lpd#334644 report that with the quirk not applied on
resume, msi stops working after resuming and mcp78s ahci fails due to
IRQ mis-delivery. Apply it on resume too.
Signed-off-by: Tejun Heo <tj@...nel.org>
Cc: Peer Chen <pchen@...dia.com>
Cc: Tj <linux@...orld.net>
Reported-by: Nicolas Derive <kalon33@...ntu.com>
---
drivers/pci/quirks.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 06b9656..34a89b7 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -2382,8 +2382,10 @@ static void __devinit nv_msi_ht_cap_quirk_leaf(struct pci_dev *dev)
}
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_NVIDIA, PCI_ANY_ID, nv_msi_ht_cap_quirk_leaf);
+DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_NVIDIA, PCI_ANY_ID, nv_msi_ht_cap_quirk_leaf);
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AL, PCI_ANY_ID, nv_msi_ht_cap_quirk_all);
+DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_AL, PCI_ANY_ID, nv_msi_ht_cap_quirk_all);
static void __devinit quirk_msi_intx_disable_bug(struct pci_dev *dev)
{
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists