Received: by 10.192.165.156 with SMTP id m28csp762900imm; Wed, 11 Apr 2018 06:57:28 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/0zDF7wDhUfrKqlFA5NFCTvZaLbv2Pu5wyzvCOelJtRP03aLjG/mQJQlhx2Z7yWwLN/knH X-Received: by 2002:a17:902:7d92:: with SMTP id a18-v6mr5123213plm.331.1523455048657; Wed, 11 Apr 2018 06:57:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523455048; cv=none; d=google.com; s=arc-20160816; b=YNpqddKsLhVO3lsN3zB9/Onv65xtH11jqewKYtElzMLX7bPRtJbDstt7ka9kMVg6nv Zu2Wlkqm0ap/pzHZmNEX8lw+C3C/fSJ/AKIZ6SbKmx3sSWm1AYNdqxVKb9j8jnFCrpic esVJLKsyT/Kbl2sjBq2p2FMzM72IxkwYNt8/xvTBnNE6mcu0UABELhhthfaF3C4mgDqD uHNse268oH+Cz85Do4wAMko3SMN0C56M5irPiA9GkThVRjmiYdM3/eDh8pLqaiZTQQrY 3QVWWbRPyfO07AzWN120SqTOpAyBkM0veYzTCKS9It5oWg8Ad0i6l4LKAGtgM5DBsglM bN4w== 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=3Uv+njLfslHiy5pKXDrsyQQAkCxltJoSUnQNiB8sGgo=; b=kz7iQhyaP9J30vK607gWFj8dUNSMvQktJSOg6TKgnjKaqmaco07Ib0jwQVLFBEf4O+ T0S0cwErbeLtLAyNFHKpXLbW9F+xc+5N++8hk1wtCxtezCCTIjtG8oVt9E63NXDSd29V UBMhU8hSep81tpatgn8Xl8vX+vdEdCYViZFtROQ3LG2JEJsUZOT7+CzqtyYwcKuIRzl8 EIZKXB2A6tgBtjX2Hsr4nFLiPGqA5RH5coINQnC4tBx9lfjGzYkgt6Z+gCB+lOd3X+qh dA49gsjKb3F5nRqrH6NIzCb8q9ht3u/maevvYKdW0uolU4noTqQkpgeTF67eFBAMiKgC E3ew== 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 a61-v6si1180086plc.402.2018.04.11.06.56.51; Wed, 11 Apr 2018 06:57: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 S1753935AbeDKNvz (ORCPT + 99 others); Wed, 11 Apr 2018 09:51:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:47694 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753197AbeDKNvx (ORCPT ); Wed, 11 Apr 2018 09:51:53 -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 43C7921725; Wed, 11 Apr 2018 13:51:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 43C7921725 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: Wed, 11 Apr 2018 08:51:51 -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: <20180411135151.GB91792@bhelgaas-glaptop.roam.corp.google.com> References: <1522882209-9743-1-git-send-email-okaya@codeaurora.org> <20180410194144.GD54986@bhelgaas-glaptop.roam.corp.google.com> <20180410195008.GE54986@bhelgaas-glaptop.roam.corp.google.com> <1c94361d-7a8d-ad18-12e5-1612326a54db@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1c94361d-7a8d-ad18-12e5-1612326a54db@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 Tue, Apr 10, 2018 at 04:18:01PM -0400, Sinan Kaya wrote: > On 4/10/2018 3:50 PM, Bjorn Helgaas wrote: > > On Tue, Apr 10, 2018 at 02:41:44PM -0500, Bjorn Helgaas wrote: > >> 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! > > Actually, this is a really annoying issue and I think the fix is > > appropriate for v4.17, so I moved it to my for-linus branch. > > > > I agree. It causes boot issues on some AMD Opteron machines. It should > probably be back-ported too. We started enabling extended tags with 60db3a4d8cc9 ("PCI: Enable PCIe Extended Tags if supported"), which appeared in v4.11. So I added these stable tags: CC: stable@vger.kernel.org # v4.11: 62ce94a7a5a5 PCI: Mark Broadcom HT2100 Root Port Extended Tags as broken CC: stable@vger.kernel.org # v4.11 I'm not sure I'm using the stable request correctly, but my intent is: - 62ce94a7a5a5 appeared in v4.14, so cherry-pick 62ce94a7a5a5 to v4.11 through v4.13 - cherry-pick *this* patch on top of 62ce94a7a5a5 to v4.11 and later