Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2448026yba; Mon, 15 Apr 2019 11:51:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqwaDM73fg9BdyJ4HFA6TCHibnJalo6MrYrruvMatCI5Qj5phfIG0HSxv4rSJ4+RFev3Hd+c X-Received: by 2002:a65:62c3:: with SMTP id m3mr71099640pgv.159.1555354260823; Mon, 15 Apr 2019 11:51:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555354260; cv=none; d=google.com; s=arc-20160816; b=0oHpHhhsgFEHgoXSEXJFx2I3qKFd6hwM841d1XiT/HAfItmhMCxbl2MBc7WmW19vgi S8WrqUyfO7gE7pSiYxN/ycjQlS56ISRjkx0jOuFCTbEQVXq5dTZJMMtnw61EZcRYP+FE pled2/Pdu4zjLq5buP4bH180Soca+CKX6oKkFHu3LZRbo4l9ZNkFWR92JpLF4mkCIXua 6yxhKgucSzXHl/FPYOnn3R8zY2+3kSEU+aZvrCvFOiFmQXloKYfgQOKTz38xy16v1Tm+ cb/KSfme6REBkq6ksERPCD7QiYSw4fRe+EHWdMgfPmrGjn9aeApiGmhPmwrgz8kUB9UK 4sBg== 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=7JQjV1Y/GRjJqBZLLIi3buFWSUnk1rHw7qr56AJjemM=; b=wKJM5B0T4CiOYmn2w27l/fMLyNuKV6g7yvPGw2yQj3pjrlXq5uuv7EfdkBgbhHu5xx qGZc14woZYdsPY/0+LvMQyfgHmZ/fxut7C9tVH8NDPHgkP3NF28PhHieaqTzcE7VPaaM gjGy1+Fvb1o7t33Vs1wM85whSYqXXPSj2anmVVTBHW+ts9yFd76DnoHoyyhtLVIukKnC JfnJupBjhF2ihHPNZdTD11OoAobn1sItBComZxK/KTVCCTjIMkDLdnhU3T5zNTFKan+Q bhmP3HXzWk5CPBKQ4bVF2BxsIOqUI/D09WiUaJa2MVVpYaPyg0yBodsNK6eBnxCWoq5a QgQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="nyoQz/Wc"; 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 z8si45365044pgh.82.2019.04.15.11.50.44; Mon, 15 Apr 2019 11:51:00 -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="nyoQz/Wc"; 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 S1729094AbfDOSsP (ORCPT + 99 others); Mon, 15 Apr 2019 14:48:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:52036 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729088AbfDOSsN (ORCPT ); Mon, 15 Apr 2019 14:48:13 -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 47181218FE; Mon, 15 Apr 2019 18:48:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555354092; bh=XG236dCSBRpL3kj6+C+m7KpVATumLoxtR9UeKdfgVzs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nyoQz/WcaQsiEoAIkio7ER7H2CiiOautoTBD9nU7LRZfYw5nttxNpQLkhXxdv7cHP H1GKqjdgz104OA6vmg935qD2wKhHbqAd6FZ8jF5JyUGD7XtmqHbvI3w5B70xXN/cPL gswePQ/aWTVw0Czn7bl2dvRBRM+KTnxsomAvdbA8= 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.9 76/76] PCI: Add function 1 DMA alias quirk for Marvell 9170 SATA controller Date: Mon, 15 Apr 2019 20:44:40 +0200 Message-Id: <20190415183729.688018384@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190415183707.712011689@linuxfoundation.org> References: <20190415183707.712011689@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 @@ -3866,6 +3866,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);