Patchwork ahci: Enable SB600 64bit DMA on Gateway SJM11-YK

login
register
mail settings
Submitter Todd Merrill
Date March 7, 2010, 5:51 a.m.
Message ID <1267941081.3382.16.camel@localhost>
Download mbox | patch
Permalink /patch/47066/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

Todd Merrill - March 7, 2010, 5:51 a.m.
ahci: Enable SB600 64bit DMA on Gateway SJM11-YK

The SJM11-YK motherboard, found in Gateway LT31 series netbooks, can
also support 64bit DMA. Tested with the earliest and latest known BIOS
versions.

Applies to kernel 2.6.33.

Signed-off-by: Todd Merrill <turmlos@comcast.net>



--
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
Tejun Heo - March 24, 2010, 11:38 p.m.
On 03/07/2010 02:51 PM, Todd Merrill wrote:
> ahci: Enable SB600 64bit DMA on Gateway SJM11-YK
> 
> The SJM11-YK motherboard, found in Gateway LT31 series netbooks, can
> also support 64bit DMA. Tested with the earliest and latest known BIOS
> versions.
> 
> Applies to kernel 2.6.33.
> 
> Signed-off-by: Todd Merrill <turmlos@comcast.net>

Looks good to me but can you please detail how you tested it?

Thanks.
Jeff Garzik - May 15, 2010, 4:10 a.m.
On 03/24/2010 07:38 PM, Tejun Heo wrote:
> On 03/07/2010 02:51 PM, Todd Merrill wrote:
>> ahci: Enable SB600 64bit DMA on Gateway SJM11-YK
>>
>> The SJM11-YK motherboard, found in Gateway LT31 series netbooks, can
>> also support 64bit DMA. Tested with the earliest and latest known BIOS
>> versions.
>>
>> Applies to kernel 2.6.33.
>>
>> Signed-off-by: Todd Merrill<turmlos@comcast.net>
>
> Looks good to me but can you please detail how you tested it?

Archiving patch, due to lack of response here...

	Jeff



--
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

--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -2758,6 +2758,19 @@  static bool ahci_sb600_enable_64bit(stru
 				DMI_MATCH(DMI_BOARD_NAME, "MS-7376"),
 			},
 		},
+		/*
+		 * The BIOS on the Gateway SJM11-YK, found in Gateway
+		 * LT31 series netbooks, supports 64bit DMA. Tested with
+		 * BIOS versions 1.3103 and 1.3302.
+		 */
+		{
+			.ident = "Gateway SJM11-YK",
+			.matches = {
+				DMI_MATCH(DMI_BOARD_VENDOR,
+					  "Gateway"),
+				DMI_MATCH(DMI_BOARD_NAME, "SJM11-YK"),
+			},
+		},
 		{ }
 	};
 	const struct dmi_system_id *match;