Received: by 10.213.65.68 with SMTP id h4csp4311602imn; Tue, 10 Apr 2018 12:46:29 -0700 (PDT) X-Google-Smtp-Source: AIpwx49rYCGyTqO0PUzdTM8YcyiLA0EFfvkvPex8Tx/bGay3n7ix+U1I6Jse0/GlVTPO+5PTpGC2 X-Received: by 2002:a17:902:2884:: with SMTP id f4-v6mr1755750plb.153.1523389589025; Tue, 10 Apr 2018 12:46:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523389588; cv=none; d=google.com; s=arc-20160816; b=aZqgwLQaXbvkdNyc52EwwJllvXGK23MAyb5nRTJyaLpTrakl9jM7maMgcJ+cUIKokN f/qi1nkdBMMh4oaIL63mRJxbQp/3RO690ORS65Wa/yecsliAp1eLVHlpb5ZdpY6ncDCf 9fHcYs6Mr8WXYPbdrtRCyAUVHFRcgMlsU/frGJrZvU4co3YbNVhCfuY4B0/h1ceOthwQ e93PrOH8uRVmc8PXXULKEgnFALSHQNVU1E6uk86eOulnL6ibfaUYBmJLvANufSFGZ9z/ 8D+VlfjtelHuOEPTdoHwRG9JgJVCwJt1tO1FdpU5AtLulUhMywFzmMfTZVJQj1KXL45X 4dXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dmarc-filter:arc-authentication-results; bh=CTK9dhSP56BC7TdQrcx9M0GtTZn62DOOU1y/FhxuqYU=; b=n4+8T92j586PsGqCTZTeCEwxTC6zCW2hPDAi+F72LIxEJY+Y/OF684OmOZ/9uu3n6r 0HA/HGxFY8nw/6zFKbA915VFA/MA5hG4RJX8RtMdhcNPOGGYWioHqye9J6KmSQ0o0L8d O/xtgrfADU0Y7g+rCpfQtApSH/AjGy/d0RvPHgWqlgf9RPv/uu1l9LLoCsldQ8w523aT VAwNT5re8i0fu5Kksqa/ermlsIsJajL/gPgSTvyXV/uq614beBViWfwRwfARc53rzljL h9Y8n1/P53C0A3OiJ0/S83u4CvjHACiifgCxeStP2f9ITE5R/K/4Y7HX95J9334L4ySI 3C2Q== ARC-Authentication-Results: i=1; mx.google.com; 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 x26si2208316pgc.168.2018.04.10.12.45.52; Tue, 10 Apr 2018 12:46:28 -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; 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 S1753747AbeDJTls (ORCPT + 99 others); Tue, 10 Apr 2018 15:41:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:54174 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753720AbeDJTlq (ORCPT ); Tue, 10 Apr 2018 15:41:46 -0400 Received: from localhost (50-81-22-222.client.mchsi.com [50.81.22.222]) (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 3794921745; Tue, 10 Apr 2018 19:41:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3794921745 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=helgaas@kernel.org Date: Tue, 10 Apr 2018 14:41:44 -0500 From: Bjorn Helgaas To: Sinan Kaya Cc: linux-pci@vger.kernel.org, sulrich@codeaurora.org, timur@codeaurora.org, linux-arm-msm@vger.kernel.org, Bjorn Helgaas , open list , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] PCI: quirk HT1100 & HT2000 and one HT2100 Root Ports for Extended Tags Message-ID: <20180410194144.GD54986@bhelgaas-glaptop.roam.corp.google.com> References: <1522882209-9743-1-git-send-email-okaya@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1522882209-9743-1-git-send-email-okaya@codeaurora.org> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 04, 2018 at 06:50:09PM -0400, Sinan Kaya wrote: > Per PCIe r3.1, sec 2.2.6.2 and 7.8.4, a Requester may not use 8-bit Tags > unless its Extended Tag Field Enable is set, but all Receivers/Completers > must handle 8-bit Tags correctly regardless of their Extended Tag Field > Enable. > > Some devices do not handle 8-bit Tags as Completers, so add a quirk for > them. If we find such a device, we disable Extended Tags for the entire > hierarchy to make peer-to-peer DMA possible. > > The Broadcom HT1100/HT2000/HT2100 seems to have issues with handling 8-bit > tags. Mark it as broken. > > Fixes: 60db3a4d8cc9 ("PCI: Enable PCIe Extended Tags if supported") > Link: https://bugzilla.kernel.org/show_bug.cgi?id=196197 > Signed-off-by: Sinan Kaya Applied to pci/enumeration for v4.18, thanks! > --- > drivers/pci/quirks.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c > index 8b14bd3..f012742 100644 > --- a/drivers/pci/quirks.c > +++ b/drivers/pci/quirks.c > @@ -4813,9 +4813,13 @@ static void quirk_no_ext_tags(struct pci_dev *pdev) > > pci_walk_bus(bridge->bus, pci_configure_extended_tags, NULL); > } > +DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SERVERWORKS, 0x0132, quirk_no_ext_tags); > DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SERVERWORKS, 0x0140, quirk_no_ext_tags); > +DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SERVERWORKS, 0x0141, quirk_no_ext_tags); > DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SERVERWORKS, 0x0142, quirk_no_ext_tags); > DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SERVERWORKS, 0x0144, quirk_no_ext_tags); > +DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SERVERWORKS, 0x0420, quirk_no_ext_tags); > +DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SERVERWORKS, 0x0422, quirk_no_ext_tags); > > #ifdef CONFIG_PCI_ATS > /* > -- > 2.7.4 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel