From patchwork Mon Oct 26 05:03:09 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Nelson X-Patchwork-Id: 36881 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.176.167]) by ozlabs.org (Postfix) with ESMTP id 8292EB7BAB for ; Mon, 26 Oct 2009 16:03:13 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754587AbZJZFDG (ORCPT ); Mon, 26 Oct 2009 01:03:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754636AbZJZFDG (ORCPT ); Mon, 26 Oct 2009 01:03:06 -0400 Received: from mail-ew0-f208.google.com ([209.85.219.208]:63601 "EHLO mail-ew0-f208.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754587AbZJZFDF (ORCPT ); Mon, 26 Oct 2009 01:03:05 -0400 Received: by ewy4 with SMTP id 4so3296202ewy.37 for ; Sun, 25 Oct 2009 22:03:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=3bkqjYNEbn7GRg2DgynTp6IJ0s+iCfiXX/8hlqxxdtM=; b=OJ1aUsKReD/4n+WPTrwFE3u1gMEkchc9fNo2vioIZIc9AijjbnTLlBQ2WNHaf3sS/p Ys/F8lGx95UWaSJK9OipevnOV+GEb7LeXbZzd8PDSveW5Y0NbplAIYylLlPkFJiKkyU3 T2/iLHelpxgYfwypYeNGxFoIFbUN/86s4sEXE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=xj4kMvBANopgd1/0P1o2NIDDgKuO3JOw6ahPHaMVU+RcI1ivkO0C9cbRE9VdZhfW+r 4QDkU4ex7tBlBi6qohXUmmK82y5KXA/Q7TyTZf+JTUdosJOaBZr6eQHkT0KVS/H8Nna7 aDt+or7qRyiDfy4EwbZ9v4e/SJz282bPA6NUw= MIME-Version: 1.0 Received: by 10.211.147.12 with SMTP id z12mr5995486ebn.37.1256533389655; Sun, 25 Oct 2009 22:03:09 -0700 (PDT) Date: Mon, 26 Oct 2009 16:03:09 +1100 Message-ID: <65a6ef750910252203s58af446fv268c857191e698d3@mail.gmail.com> Subject: [PATCH] ahci: Enable SB600 64bit DMA on MSI K9A2 Platinum From: Mark Nelson To: linux-ide@vger.kernel.org, Tejun Heo , jeff@garzik.org Sender: linux-ide-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org Like the Asus M2A-VM, MSI's K9A2 Platinum (MS-7376) can also support 64bit DMA. According to MSI tech support, 64bit DMA is known to work with BIOS versions 1.7 and later. Earlier BIOSs most likey work also, but we'll be safe here and just enable 64bit DMA on 1.7 and newer. Signed-off-by: Mark Nelson --- 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 Index: upstream/drivers/ata/ahci.c =================================================================== --- upstream.orig/drivers/ata/ahci.c +++ upstream/drivers/ata/ahci.c @@ -2718,6 +2718,20 @@ static bool ahci_sb600_enable_64bit(stru }, .driver_data = "20071026", /* yyyymmdd */ }, + /* + * BIOS version 1.7 and up are known to support 64bit DMA + * 1.7 was released on 2009-01-13. + * Enable 64bit DMA on 1.7 and anything newer. + */ + { + .ident = "MSI K9A2 Platinum", + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, + "MICRO-STAR INTERNATIONAL CO.,LTD"), + DMI_MATCH(DMI_BOARD_NAME, "MS-7376"), + }, + .driver_data = "20090113", /* yyyymmdd */ + }, { } }; const struct dmi_system_id *match;