From patchwork Thu Jun 28 02:32:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Nelson X-Patchwork-Id: 167783 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 41855B6FBE for ; Thu, 28 Jun 2012 12:32:39 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751564Ab2F1CcV (ORCPT ); Wed, 27 Jun 2012 22:32:21 -0400 Received: from mail-pz0-f46.google.com ([209.85.210.46]:36198 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751447Ab2F1CcU (ORCPT ); Wed, 27 Jun 2012 22:32:20 -0400 Received: by dady13 with SMTP id y13so2226692dad.19 for ; Wed, 27 Jun 2012 19:32:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=hUdCg8FSc7PPykjLh/HH1HImqE0xFZpsvibeYeKF04k=; b=m3DA+v+R4yDiB+VCgfzftVq+Pjn+CvoE+u5I/xPq2HydwHcWa0cSA38nDMIUYHpIFs taHN0LF1YxsxX/M/JFBcxkZB3HUlyUhaICNFlIjoYSMppJNshlOeKO4dZj09zIlFA/fH bOnd51f0fX0EN4EdWfCtP1j86k+y6N/5Rg9s/BPvKTtwjGrW+cjPs9rDkL7p60vZtiof JqMmnXetVvYAavd/9si/rBXdGiWikd0TXh+qF4g99IKFKvg4GPuRxnzB3DTr4NiaQcYY 5VKp0IL4NuL1UeGz31HSpFAZJAHGSSDvquOgDMfoG0hGW1y0Kl1PrLdinNKITE7lf1ty dAMg== Received: by 10.68.218.103 with SMTP id pf7mr1960021pbc.67.1340850740244; Wed, 27 Jun 2012 19:32:20 -0700 (PDT) Received: from octopus.ibm.com ([128.250.103.217]) by mx.google.com with ESMTPS id os9sm551786pbb.62.2012.06.27.19.32.16 (version=SSLv3 cipher=OTHER); Wed, 27 Jun 2012 19:32:18 -0700 (PDT) Message-ID: <4FEBC22E.1060904@gmail.com> Date: Thu, 28 Jun 2012 12:32:14 +1000 From: Mark Nelson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120601 Thunderbird/10.0.5 MIME-Version: 1.0 To: Jeff Garzik CC: Sergei Shtylyov , linux-ide@vger.kernel.org, tj@kernel.org Subject: [PATCH 1/1] ahci: Enable SB600 64bit DMA on MSI K9AGM2 (MS-7327) v2 References: <4FE92267.60106@gmail.com> <4FE9937B.7080503@mvista.com> <4FEAA8AE.8040807@gmail.com> <4FEAF1D5.9000505@mvista.com> In-Reply-To: <4FEAF1D5.9000505@mvista.com> Sender: linux-ide-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org Like e65cc194f7628ecaa02462f22f42fb09b50dcd49 (ahci: Enable SB600 64bit DMA on MSI K9A2 Platinum) and 3c4aa91f21f65b7b40bdfb015eacbcb8453ccae2 (ahci: Enable SB600 64bit DMA on Asus M3A), this patch enables 64bit DMA for the AHCI SATA controller of another 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 --- v2 brings a more fleshed out commit message including the commit summaries of the commits mentioned 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 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) */