Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2460925yba; Mon, 15 Apr 2019 12:07:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqyootNdVKhlZG8gYIzf2j3KxxLFjDNvAsq7fNEjCr9RdFBZr8Z21gZa2jNjCVrPMenxqRuF X-Received: by 2002:a62:424b:: with SMTP id p72mr59038358pfa.167.1555355253721; Mon, 15 Apr 2019 12:07:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555355253; cv=none; d=google.com; s=arc-20160816; b=r4ToCxkT1woh+icJBulxTbgRvwMgJlKteFIGsc8qztlZPA0xFDzFh9Jze15i/CZKJ8 0hF6DPZVU/nGt+vI9GBIC3jqkAVeXalkcVSUflrvDqfzCFhkVcDIY3ddfiDdqt4uBYDx fdDuP3deCoIDlv1a9UdHIjpRTnXfs2ImzYqdgsiG4TSzedUPmCROI4/Apwgy23KgQ6cX Xq32zexOUr+Nc5YbVUOLUSZObxfeXT9nGdvrjzad335IhLYNOBzM2gLgwVrcMt6tedpP 1mM8Ds3kZS0fnRxsrt5DFsyH38XfcdiP68py8Rw3qMBK0EoVC4VHyWls7uy2qjmFv0gO p1xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ZMEwxewHWRVNCBYjWvtntHkUCmxQSTApoxFugN6lVWI=; b=TErlU9Bspr/Q9IsPSliMIpOQBXDRRJTySpZiCOLqu8q31etksxuqA/SJS1SbhL1sK4 JcRXno3t1ZGkcON7iulcJNpq7Ojjnr6NS6j1s5pHtWyx8lek08bdUZGLD3yIYvvMEFj+ VJr7kKm6Zbc9EkQFqZHmkd3ssM5AF13frh5gwAlF0XGKuED/FOrG+onupRU0A2EUcNx+ 5DtXykAlRaohAdsMtV/Otsa6wbueCQMuiNOSdY7k0uObxcUSbzWjMC6KpnaGpXEhxOfL zml7u5q0TkP8OA/dV96J+hgEc3nrLbscUkZ5yAqkh9U3agFb+xoX5p1S0c93l+4v3DzI IWDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RgyUid8Y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r80si47929223pfa.128.2019.04.15.12.07.17; Mon, 15 Apr 2019 12:07:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RgyUid8Y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729613AbfDOTEr (ORCPT + 99 others); Mon, 15 Apr 2019 15:04:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:37878 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729589AbfDOTEm (ORCPT ); Mon, 15 Apr 2019 15:04:42 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D6FE5218D3; Mon, 15 Apr 2019 19:04:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555355082; bh=0IPO3GPXSNE+9Ka9AB5izpzFtVcFCfhwD+wiNvcxIvw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RgyUid8YRFlzjfeynxyJrtdWwy17y4haxwSHQzJsITxx2QaEPO9KJK1TC21/lG+up q6S1KJThFlU1Rrq6F5pSyM+NM1sowTc3VoPdXbMrGBhc5UVzMcnic9LewmfBhUpSn7 fxalT5q/DzW/f+KaVcA7kZ+PP75DVMGCAkxAo7Gc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Andre Przywara , Bjorn Helgaas Subject: [PATCH 4.14 66/69] PCI: Add function 1 DMA alias quirk for Marvell 9170 SATA controller Date: Mon, 15 Apr 2019 20:59:24 +0200 Message-Id: <20190415183736.547573805@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190415183726.036654568@linuxfoundation.org> References: <20190415183726.036654568@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andre Przywara commit 9cde402a59770a0669d895399c13407f63d7d209 upstream. There is a Marvell 88SE9170 PCIe SATA controller I found on a board here. Some quick testing with the ARM SMMU enabled reveals that it suffers from the same requester ID mixup problems as the other Marvell chips listed already. Add the PCI vendor/device ID to the list of chips which need the workaround. Signed-off-by: Andre Przywara Signed-off-by: Bjorn Helgaas CC: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/pci/quirks.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -3888,6 +3888,8 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_M /* https://bugzilla.kernel.org/show_bug.cgi?id=42679#c14 */ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL_EXT, 0x9130, quirk_dma_func1_alias); +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL_EXT, 0x9170, + quirk_dma_func1_alias); /* https://bugzilla.kernel.org/show_bug.cgi?id=42679#c47 + c57 */ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL_EXT, 0x9172, quirk_dma_func1_alias);