linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jon Hunter <jonathanh@nvidia.com>,
	Vidya Sagar <vidyas@nvidia.com>,
	bhelgaas@google.com, treding@nvidia.com, swarren@nvidia.com,
	linux-tegra@vger.kernel.org, linux-pci@vger.kernel.org,
	kthota@nvidia.com, mmaddireddy@nvidia.com, sagar.tv@gmail.com
Subject: Re: [PATCH V3] PCI: tegra: Enable Relaxed Ordering only for Tegra20 & Tegra30
Date: Fri, 5 Jul 2019 11:35:06 +0100	[thread overview]
Message-ID: <20190705103506.GC17491@e121166-lin.cambridge.arm.com> (raw)
In-Reply-To: <20190705102330.GA11541@kroah.com>

On Fri, Jul 05, 2019 at 12:23:30PM +0200, Greg Kroah-Hartman wrote:
> On Fri, Jul 05, 2019 at 10:38:59AM +0100, Lorenzo Pieralisi wrote:
> > [+Greg]
> > 
> > On Fri, Jul 05, 2019 at 09:57:25AM +0100, Jon Hunter wrote:
> > > Hi Lorenzo,
> > > 
> > > On 04/07/2019 17:09, Lorenzo Pieralisi wrote:
> > > > On Thu, Jul 04, 2019 at 08:34:28PM +0530, Vidya Sagar wrote:
> > > >> Currently Relaxed Ordering bit in the configuration space is enabled for
> > > >> all PCIe devices as the quirk uses PCI_ANY_ID for both Vendor-ID and
> > > >> Device-ID, but, as per the Technical Reference Manual of Tegra20 which is
> > > >> available at https://developer.nvidia.com/embedded/downloads#?search=tegra%202
> > > >> in Sec 34.1, it is mentioned that Relexed Ordering bit needs to be enabled in
> > > >> its root ports to avoid deadlock in hardware. The same is applicable for
> > > >> Tegra30 as well though it is not explicitly mentioned in Tegra30 TRM document,
> > > >> but the same must not be extended to root ports of other Tegra SoCs or
> > > >> other hosts as the same issue doesn't exist there.
> > > >>
> > > >> Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
> > > > 
> > > > You forgot Thierry's ACK, I added it back but next time pay more
> > > > attention please.
> > > > 
> > > > You should link the versions through eg git send-email
> > > > --in-reply-to=Message-Id so that it is easier to follow.
> > > > 
> > > >> ---
> > > >> V3:
> > > >> * Modified commit message to make it more precise and explicit
> > > >>
> > > >> V2:
> > > >> * Modified commit message to include reference to Tegra20 TRM document.
> > > >>
> > > >>  drivers/pci/controller/pci-tegra.c | 7 +++++--
> > > >>  1 file changed, 5 insertions(+), 2 deletions(-)
> > > > 
> > > > I applied it to pci/tegra after rewriting the whole commit log and
> > > > adding a Fixes: tag that you or someone at Nvidia will follow up;
> > > > I will check.
> > > 
> > > I had a chat with Vidya last night to understand the issue, so now I
> > > have a good understanding of the problem this has caused, which is very
> > > unfortunate indeed!
> > > 
> > > Vidya mentioned that you would like us to get this backported to stable
> > > branches. Please correct me if I am wrong here. We can certainly do
> > > that, but I do have concerns about doing so, for non-Tegra devices
> > > inparticularly, given that this has been around for sometime now. Hence,
> > > I was wondering if we should leave this soak in the mainline for at
> > > least a kernel release cycle before doing so. I really don't want to
> > > break stable for anyone. What are your thoughts on this?
> > 
> > I looped in Greg to pick his brain, since it is unclear how we should
> > apply the stable kernel rules on this specific patch. Basically, this
> > technically is not a bug, it is just bad code that forces a feature on
> > ALL kernels that compile the PCI Tegra Controller driver in the kernel.
> > I would really really want to have this patch applied to all stable
> > kernels but first as you said it is better to apply it to mainline and
> > check it does not cause any issues on any other arch/platform then
> > we can think about backporting it to stable kernels.
> 
> You all have read the stable kernel rules, right:
>     https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
> 
> Patches have to be upstream first.
> 
> After it is merged in Linus's tree, post the patches with the git commit
> ids to stable@vger and we will be glad to review them there.

Hi Greg,

thanks, it was just to understand if the "Fixes:" tag would
automatically make it a stable kernel candidate when it hits Linus'
tree; I will drop it from the patch and we will post the patches to
stable@vger when/if we want it considered for stable, we just do not
want it to be automatically picked up, that's it.

Thanks for chiming in,
Lorenzo

> thanks,
> 
> greg k-h

  reply	other threads:[~2019-07-05 10:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-04 15:04 [PATCH V3] PCI: tegra: Enable Relaxed Ordering only for Tegra20 & Tegra30 Vidya Sagar
2019-07-04 16:09 ` Lorenzo Pieralisi
2019-07-05  8:57   ` Jon Hunter
2019-07-05  9:38     ` Lorenzo Pieralisi
2019-07-05 10:23       ` Greg Kroah-Hartman
2019-07-05 10:35         ` Lorenzo Pieralisi [this message]
2019-07-05 10:48           ` Greg Kroah-Hartman
2019-07-09 11:02       ` Jon Hunter
2019-11-05 10:50         ` Jon Hunter
2019-11-06 15:58           ` Lorenzo Pieralisi
2021-09-01 20:40 ` Bjorn Helgaas
2021-09-02 14:07   ` Bjorn Helgaas

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=20190705103506.GC17491@e121166-lin.cambridge.arm.com \
    --to=lorenzo.pieralisi@arm.com \
    --cc=bhelgaas@google.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jonathanh@nvidia.com \
    --cc=kthota@nvidia.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=mmaddireddy@nvidia.com \
    --cc=sagar.tv@gmail.com \
    --cc=swarren@nvidia.com \
    --cc=treding@nvidia.com \
    --cc=vidyas@nvidia.com \
    /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).