From patchwork Tue Jun 26 02:45:59 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Nelson X-Patchwork-Id: 167293 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 77E54B700E for ; Tue, 26 Jun 2012 12:46:05 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755915Ab2FZCqE (ORCPT ); Mon, 25 Jun 2012 22:46:04 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:50606 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755891Ab2FZCqD (ORCPT ); Mon, 25 Jun 2012 22:46:03 -0400 Received: by pbbrp8 with SMTP id rp8so7385242pbb.19 for ; Mon, 25 Jun 2012 19:46:02 -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 :content-type:content-transfer-encoding; bh=vGapc++/UO1jJvvDrJhEtc4ZtwpKkN1EOYESpsHpxWw=; b=ni/cWERaZqmvEsEyCYuBFcBo2LsXlJt+JGW4OJ/we6gw/mfZKIRtV0g1JDDp3zERBz Q73uhtiN/6RLVsJwtlL913gKMjTe5fqEVolZ0O9rZ8HB9Vv7K4DGq7Jb8mcRiC3hv8YP I5+BCtJzhDP14asEi1OsY67DDia4mLbD+UPOczAuEkkdvWvuISxt/zygigd+FxwJ9Sq7 DVGffpWBlAzoSSbnKDoLmKVXNdgYw2BQtQ/nwiZ65Le/43QCVsFjEaQYM8xVDZFHGsPV L1MJ6H9GLWecO7FDY+a9kH8zRGg5uC1AhSZwJo4uMiuAZyI7IOdgrQ7lpQHEuga2xLHW aneQ== Received: by 10.68.231.40 with SMTP id td8mr47004531pbc.150.1340678762791; Mon, 25 Jun 2012 19:46:02 -0700 (PDT) Received: from octopus.ibm.com ([128.250.103.231]) by mx.google.com with ESMTPS id ub6sm1541963pbc.64.2012.06.25.19.46.01 (version=SSLv3 cipher=OTHER); Mon, 25 Jun 2012 19:46:02 -0700 (PDT) Message-ID: <4FE92267.60106@gmail.com> Date: Tue, 26 Jun 2012 12:45:59 +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: linux-ide@vger.kernel.org, tj@kernel.org Subject: [PATCH 1/1] ahci: Enable SB600 64bit DMA on MSI K9AGM2 (MS-7327) Sender: linux-ide-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org 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 --- 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) */