Patchwork [#upstream] libata: Fujitsu AMILO Pa 2510 can't do 64bit DMA either

login
register
mail settings
Submitter Tejun Heo
Date Sept. 17, 2009, 11:43 p.m.
Message ID <4AB2C9BA.5040103@kernel.org>
Download mbox | patch
Permalink /patch/33809/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

Tejun Heo - Sept. 17, 2009, 11:43 p.m.
This is the third SB600 system which can't do 64bit DMA.  Add it to
blacklist.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Holger Hasselmann <hhasselm@web.de>
Cc: Shane Huang <Shane.Huang@amd.com>
---
This is bad because we can't backport this to -stable and broken 64bit
DMA makes these systems unusable for kernels released without the
following blacklisting.  I think we should disable 64bit DMA for
SB600s in -stable.  Any objections?  Shane?

 drivers/ata/ahci.c |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index d4cd9c2..173a150 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -2688,6 +2688,20 @@  static bool ahci_sb600_32bit_only(struct pci_dev *pdev)
 				DMI_MATCH(DMI_BOARD_NAME, "GA-MA69VM-S2"),
 			},
 		},
+		/*
+		 * This laptop can't do 64bit DMA either.  The latest
+		 * BIOS as of this writing (1.10c) doesn't fix the
+		 * problem either.
+		 *
+		 * http://thread.gmane.org/gmane.linux.ide/42716
+		 */
+		{
+			.ident = "Fujitsu AMILO Pa 2510",
+			.matches = {
+				DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"),
+				DMI_MATCH(DMI_PRODUCT_NAME, "AMILO Pa 2510"),
+			},
+		},
 		{ }
 	};
 	const struct dmi_system_id *match;