Patchwork [1/1] ahci: Enable SB600 64bit DMA on MSI K9AGM2 (MS-7327)

login
register
mail settings
Submitter Mark Nelson
Date June 26, 2012, 2:45 a.m.
Message ID <4FE92267.60106@gmail.com>
Download mbox | patch
Permalink /patch/167293/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

Mark Nelson - June 26, 2012, 2:45 a.m.
Like e65cc194f7628ecaa02462f22f42fb09b50dcd49 this patch enables 64bit DMA
for the AHCI SATA controller of a board that has the SB600 southbridge. In
this case though we're enabling 64bit DMA for another MSI motherboard, the
K9AGM2 or MS-7327. It is new enough that all of the BIOS releases since
the initial release (1.0 from 2007-02-09) work correctly with 64bit DMA 
enabled.

Signed-off-by: Mark Nelson <mdnelson8@gmail.com>
---
  drivers/ata/ahci.c |   16 ++++++++++++++++
  1 file changed, 16 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
Sergei Shtylyov - June 26, 2012, 10:48 a.m.
Hello.

On 26-06-2012 6:45, Mark Nelson wrote:

> Like e65cc194f7628ecaa02462f22f42fb09b50dcd49

    Please also specify that commit's summary in parens.

> this patch enables 64bit DMA
> for the AHCI SATA controller of a board that has the SB600 southbridge. In
> this case though we're enabling 64bit DMA for another MSI motherboard, the
> K9AGM2 or MS-7327. It is new enough that all of the BIOS releases since
> the initial release (1.0 from 2007-02-09) work correctly with 64bit DMA enabled.

> Signed-off-by: Mark Nelson <mdnelson8@gmail.com>

MBR, Sergei
--
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
Mark Nelson - June 27, 2012, 6:31 a.m.
On 26/06/12 20:48, Sergei Shtylyov wrote:
> Hello.
>
> On 26-06-2012 6:45, Mark Nelson wrote:
>
>> Like e65cc194f7628ecaa02462f22f42fb09b50dcd49
>
> Please also specify that commit's summary in parens.

Very good point! Should I do a simple respin of this patch adding the 
commit summary, or just do it for future patches?

Thanks!
Mark

>
>> this patch enables 64bit DMA
>> for the AHCI SATA controller of a board that has the SB600
>> southbridge. In
>> this case though we're enabling 64bit DMA for another MSI motherboard,
>> the
>> K9AGM2 or MS-7327. It is new enough that all of the BIOS releases since
>> the initial release (1.0 from 2007-02-09) work correctly with 64bit
>> DMA enabled.
>
>> Signed-off-by: Mark Nelson <mdnelson8@gmail.com>
>
> MBR, Sergei
--
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
Sergei Shtylyov - June 27, 2012, 11:43 a.m.
Hello.

On 27-06-2012 10:31, Mark Nelson wrote:

>>> Like e65cc194f7628ecaa02462f22f42fb09b50dcd49

>> Please also specify that commit's summary in parens.

> Very good point! Should I do a simple respin of this patch adding the commit
> summary, or just do it for future patches?

    That's up to the maintainer but I'd respin the patch...

> Thanks!
> Mark

>>> this patch enables 64bit DMA
>>> for the AHCI SATA controller of a board that has the SB600
>>> southbridge. In
>>> this case though we're enabling 64bit DMA for another MSI motherboard,
>>> the
>>> K9AGM2 or MS-7327. It is new enough that all of the BIOS releases since
>>> the initial release (1.0 from 2007-02-09) work correctly with 64bit
>>> DMA enabled.

>>> Signed-off-by: Mark Nelson <mdnelson8@gmail.com>

MBR, Sergei
--
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

Index: linux-2.6/drivers/ata/ahci.c
===================================================================
--- linux-2.6.orig/drivers/ata/ahci.c
+++ linux-2.6/drivers/ata/ahci.c
@@ -777,6 +777,22 @@  static bool ahci_sb600_enable_64bit(stru
  			},
  		},
  		/*
+		 * All BIOS versions for the MSI K9AGM2 (MS-7327) support
+		 * 64bit DMA.
+		 *
+		 * This board also had the typo mentioned above in the
+		 * Manufacturer DMI field (fixed in BIOS version 1.5), so
+		 * match on DMI_BOARD_VENDOR of "MICRO-STAR INTER" again.
+		 */
+		{
+			.ident = "MSI K9AGM2",
+			.matches = {
+				DMI_MATCH(DMI_BOARD_VENDOR,
+					  "MICRO-STAR INTER"),
+				DMI_MATCH(DMI_BOARD_NAME, "MS-7327"),
+			},
+		},
+		/*
  		 * All BIOS versions for the Asus M3A support 64bit DMA.
  		 * (all release versions from 0301 to 1206 were tested)
  		 */