linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wim ten Have <wim.ten.have@oracle.com>
To: Sinan Kaya <okaya@codeaurora.org>
Cc: linux-pci@vger.kernel.org, timur@codeaurora.org,
	linux-kernel@vger.kernel.org,
	Wim ten Have <wim.ten.have@oracle.com>,
	linux-arm-msm@vger.kernel.org,
	Bjorn Helgaas <bhelgaas@google.com>,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH V2] PCI: Do not enable extended tags on pre-dated (v1.x) systems
Date: Fri, 7 Jul 2017 18:08:52 +0200	[thread overview]
Message-ID: <20170707180852.56b01e8b.wim.ten.have@oracle.com> (raw)
In-Reply-To: <7d6e99b9-bdef-845a-a542-2c47f429eb12@codeaurora.org>

On Fri, 7 Jul 2017 11:01:16 -0400
Sinan Kaya <okaya@codeaurora.org> wrote:

> Hi Wim,
> 
> On 7/7/2017 10:53 AM, Sinan Kaya wrote:
> > According to extended tags ECN document, all PCIe receivers are expected
> > to support extended tags support. It should be safe to enable extended
> > tags on endpoints without checking compatibility.
> > 
> > This assumption seems to be working fine except for the legacy systems.
> > The ECN has been written against PCIE spec version 2.0. Therefore, we need
> > to exclude all version 1.0 devices from this change as there is HW out
> > there that can't handle extended tags.
> > 
> > Note that the default value of Extended Tags Enable bit is implementation
> > specific. Therefore, we are clearing the bit by default when incompatible
> > HW is found without assuming that value is zero.
> > 
> > Reported-by: Wim ten Have <wim.ten.have@oracle.com>
> > Link: https://pcisig.com/sites/default/files/specification_documents/ECN_Extended_Tag_Enable_Default_05Sept2008_final.pdf
> > Link: https://bugzilla.redhat.com/show_bug.cgi?id=1467674
> > Fixes: 60db3a4d8cc9 ("PCI: Enable PCIe Extended Tags if supported")
> > Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
> > ---  
> 
> Can you also give this a spin? I don't have a system with v1 PCIe bridges.
> I only tested v2 and later code path.
> 
> I tried to address Jike Song concerns on this version and removed your tested-by
> since the code changed.
> 
> Sinan
> 

Sure,

-- 
Wim ten Have | Consulting Member of Technical Staff
Oracle Linux and VM Development Engineering
ORACLE Nederland BV | Hertogswetering 163-167 | 3543 AS Utrecht/NL

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2017-07-07 16:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-07 14:53 [PATCH V2] PCI: Do not enable extended tags on pre-dated (v1.x) systems Sinan Kaya
2017-07-07 15:01 ` Sinan Kaya
2017-07-07 16:08   ` Wim ten Have [this message]
2017-07-07 15:07 ` Sinan Kaya
2017-07-07 15:22   ` Sinan Kaya
2017-07-10 23:09 ` Bjorn Helgaas
2017-07-11  0:20   ` Sinan Kaya
2017-07-11  1:41     ` Sinan Kaya

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170707180852.56b01e8b.wim.ten.have@oracle.com \
    --to=wim.ten.have@oracle.com \
    --cc=bhelgaas@google.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=okaya@codeaurora.org \
    --cc=timur@codeaurora.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).