From patchwork Thu May 21 21:03:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sakari Ailus X-Patchwork-Id: 6459811 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A10979F318 for ; Thu, 21 May 2015 21:04:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D40932052C for ; Thu, 21 May 2015 21:04:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 21D99204EC for ; Thu, 21 May 2015 21:04:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755850AbbEUVEl (ORCPT ); Thu, 21 May 2015 17:04:41 -0400 Received: from nblzone-211-213.nblnetworks.fi ([83.145.211.213]:51910 "EHLO hillosipuli.retiisi.org.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754853AbbEUVEk (ORCPT ); Thu, 21 May 2015 17:04:40 -0400 Received: from lanttu.localdomain (lanttu-e.localdomain [192.168.1.64]) by hillosipuli.retiisi.org.uk (Postfix) with ESMTP id CB28260096; Fri, 22 May 2015 00:04:34 +0300 (EEST) From: Sakari Ailus To: linux-pci@vger.kernel.org Cc: alex.williamson@redhat.com Subject: [PATCH 1/1] PCI: Add function 1 DMA alias quirk for Marvell 9120 Date: Fri, 22 May 2015 00:03:38 +0300 Message-Id: <1432242218-28414-1-git-send-email-sakari.ailus@iki.fi> X-Mailer: git-send-email 1.7.10.4 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Marvell 9120 SATA controller has the same issue as a number of others, use the same quirk for this one. The other quirks were added by patch "PCI: Add function 1 DMA alias quirk for Marvell devices" (commit id cc346a4714a59d08c118e8f33fd86692d3563133). Signed-off-by: Sakari Ailus Acked-by: Alex Williamson --- (Resending to linux-pci, was originally sent to linux-iommu list.) Hi, I recently booted the v4.0.1 kernel with intel-iommu enabled and had similar issues as in the original bug report with Marvell 88SE9120 (rev 12). The same quirk appears to work for that one as well. drivers/pci/quirks.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 85f247e..d4af5a8 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -3572,6 +3572,8 @@ static void quirk_dma_func1_alias(struct pci_dev *dev) * SKUs this function is not present, making this a ghost requester. * https://bugzilla.kernel.org/show_bug.cgi?id=42679 */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL_EXT, 0x9120, + quirk_dma_func1_alias); DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL_EXT, 0x9123, quirk_dma_func1_alias); /* https://bugzilla.kernel.org/show_bug.cgi?id=42679#c14 */