Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2474088yba; Mon, 15 Apr 2019 12:23:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqz6m+njdlxMht5Gq3Pip5pb8KFjaPnb9gwmGwi/vlJXM6Wqse4A/VDY6+w+YtliYPTVYO3+ X-Received: by 2002:a65:424b:: with SMTP id d11mr71921652pgq.205.1555356215923; Mon, 15 Apr 2019 12:23:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555356215; cv=none; d=google.com; s=arc-20160816; b=JSSb+f8oWQF0tpDHwYfZAnAutoOzr4qJyI9XvqtbvXQwhZR0y82rS8HNzxDGi4SVRC kiOzXz/IFxk4K+iP6oQrnPnbWqmoIM0gsjkf/SyHRg1dAP3HE2PzjkSqFl9gQ8M/uetD qMNYq4Afj59PCtNio3V60tXNEvP4sfIfQWh8OX5TKsxXZk1KWA+u+yK8MBIC400IQ4TA RFfgR0xiISCc0t0URNlPC/wGHHt3mpYxPBN6CgWCdydiayBQVIpTOhLQvILgzh4cRGh+ TUYK1kxyaPwfLz7ik414DEsf/NfB/+QO33ok0DIxFBjVU6lPBsjRP9W1wNxUj7cuKqn2 NUNg== 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=k6ZuTRA6F4Feboml02Msj23/pgEATeXxAr3cHJgHBmc=; b=bt6Z9Kwk7UEb32m1lgPfFBMk+CU941Wi9C0PvvaK4ts/uiy9YsH7Ukcy3aU2gz5WMH E/yA9KU1cTHPosSQ9LHZ32aI0LhNzs8cf1nFryL9yP8nyrZ3PmaCDUXKiK2u3+IrXYwX bybe5zhzE19NwqLuBWFK/1pHlDg0Lo4rdlxRviuHQMAGS57s1y5ERhJUIeKbfQkl8olf FBAoo5lLXA0oVy1ymDoCBoJspXbbdEyXAW/3fmrw0HvuGFhCz7N9U93baf6F78+sSh3L yfDfEaqqVQKL+dED4DyoKh0G5U9csoTdhOU2q2jcdGnDMdszAOF6b4hzZAAjaHQZuhEg lmhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RkE2Paqg; 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 21si28503268pgl.340.2019.04.15.12.23.19; Mon, 15 Apr 2019 12:23:35 -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=RkE2Paqg; 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 S1730499AbfDOTIf (ORCPT + 99 others); Mon, 15 Apr 2019 15:08:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:44022 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729955AbfDOTId (ORCPT ); Mon, 15 Apr 2019 15:08:33 -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 1ABE4218FE; Mon, 15 Apr 2019 19:08:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555355312; bh=gaY1P9Lh2EP7pna666U4YcdovS0RnyvD47hplslACxw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RkE2PaqgHDJvZr08wLB4Yy3sQINvmt046Rg8X0q50ZnQQMxFmjQ/yTSl0F1n7e3Qh FvPRdR5R1oZB+/O5SBd00A2bcfUreEJLVzkBQIDnw5Zrutcwghf8lGgRX1vHJu6tvH 90Gm4D5ES8BLyJZ5GyXccjD9hC9RjB2cppIqjdik= 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.19 091/101] PCI: Add function 1 DMA alias quirk for Marvell 9170 SATA controller Date: Mon, 15 Apr 2019 20:59:29 +0200 Message-Id: <20190415183745.190967628@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190415183740.341577907@linuxfoundation.org> References: <20190415183740.341577907@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 @@ -3852,6 +3852,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);