From patchwork Tue Jun 3 19:41:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?SsOpcsO0bWUgQ2FycmV0ZXJv?= X-Patchwork-Id: 4290371 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 674129F326 for ; Tue, 3 Jun 2014 19:49:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6EC0320253 for ; Tue, 3 Jun 2014 19:49:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 25633201B4 for ; Tue, 3 Jun 2014 19:49:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753719AbaFCTtf (ORCPT ); Tue, 3 Jun 2014 15:49:35 -0400 Received: from zougloub.eu ([198.27.83.45]:34921 "EHLO zougloub.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753781AbaFCTtf convert rfc822-to-8bit (ORCPT ); Tue, 3 Jun 2014 15:49:35 -0400 X-Greylist: delayed 562 seconds by postgrey-1.27 at vger.kernel.org; Tue, 03 Jun 2014 15:49:35 EDT Received: from Vantage (unknown [199.102.103.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zougloub.eu (Postfix) with ESMTPSA id 140768BF886; Tue, 3 Jun 2014 21:37:19 +0200 (CEST) Date: Tue, 3 Jun 2014 15:41:56 -0400 From: =?UTF-8?B?SsOpcsO0bWU=?= Carretero To: linux-pci@vger.kernel.org Cc: Alex Williamson , linux-kernel@vger.kernel.org Subject: [PATCH] PCI: quirk dma_alias_devfn for HighPoint RocketRaid 642L (Marvell 9235) Message-ID: <20140603154156.4f1b46c4@Vantage> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This vendor has similar boards based on the same Marvell 88SE9235 chipset, but this patch was only tested with the 642L. Tested on ASUS Sabertooth 990FX (AMD). If you listen to the vendor support stating: Dear Customer, Sorry about that. Currently all our products' software package don't support IOMMU and we don't have plan to support that. ... you'll think you also wasted your money, but it turns out that you just lost a few hours of your valuable time talking to their support, because the good people from the Internet made their board work, with the regular AHCI driver, and even with IOMMU. Nice! Signed-off-by: Jérôme Carretero Acked-by: Alex Williamson --- drivers/pci/quirks.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index f6a42bc..43c0ea0 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -3380,6 +3380,8 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL_EXT, 0x91a0, /* https://bugzilla.kernel.org/show_bug.cgi?id=42679#c49 */ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL_EXT, 0x9230, quirk_dma_func1_alias); +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_TTI, 0x0642, + quirk_dma_func1_alias); /* https://bugs.gentoo.org/show_bug.cgi?id=497630 */ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_JMICRON, PCI_DEVICE_ID_JMICRON_JMB388_ESD,