stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* stable request: PCI: tegra: Enable Relaxed Ordering only for Tegra20 & Tegra30
@ 2019-11-11 12:54 Vidya Sagar
  2019-11-11 13:09 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 6+ messages in thread
From: Vidya Sagar @ 2019-11-11 12:54 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: stable, Jon Hunter, thierry.reding@gmail.com, Lorenzo Pieralisi,
	Bjorn Helgaas

Hi Greg,
We noticed that the Tegra PCIe host controller driver enabled
"Relaxed Ordering" bit in the PCIe configuration space for "all"
devices erroneously. We pushed a fix for this through the
commit: 7be142caabc4780b13a522c485abc806de5c4114 and it has been
soaking in main line for the last four months.
Based on the discussion we had @ http://patchwork.ozlabs.org/patch/1127604/
we would now like to push it to the following stable kernels
4.19                  : Applies cleanly
3.16, 4.4, 4.9 & 4.14 : Following equivalent patch needs to be used as the
                         file was at drivers/pci/host/pci-tegra.c earlier
                         (and moved to drivers/pci/controller/pci-tegra.c starting 4.19)

---
  drivers/pci/host/pci-tegra.c | 7 +++++--
  1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/drivers/pci/host/pci-tegra.c b/drivers/pci/host/pci-tegra.c
index 083cf37ca047..56daa83b041c 100644
--- a/drivers/pci/host/pci-tegra.c
+++ b/drivers/pci/host/pci-tegra.c
@@ -615,12 +615,15 @@ DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_NVIDIA, 0x0bf1, tegra_pcie_fixup_class);
  DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_NVIDIA, 0x0e1c, tegra_pcie_fixup_class);
  DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_NVIDIA, 0x0e1d, tegra_pcie_fixup_class);

-/* Tegra PCIE requires relaxed ordering */
+/* Tegra20 and Tegra30 PCIE requires relaxed ordering */
  static void tegra_pcie_relax_enable(struct pci_dev *dev)
  {
         pcie_capability_set_word(dev, PCI_EXP_DEVCTL, PCI_EXP_DEVCTL_RELAX_EN);
  }
-DECLARE_PCI_FIXUP_FINAL(PCI_ANY_ID, PCI_ANY_ID, tegra_pcie_relax_enable);
+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_NVIDIA, 0x0bf0, tegra_pcie_relax_enable);
+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_NVIDIA, 0x0bf1, tegra_pcie_relax_enable);
+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_NVIDIA, 0x0e1c, tegra_pcie_relax_enable);
+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_NVIDIA, 0x0e1d, tegra_pcie_relax_enable);

  static int tegra_pcie_setup(int nr, struct pci_sys_data *sys)
  {
--
2.17.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: stable request: PCI: tegra: Enable Relaxed Ordering only for Tegra20 & Tegra30
  2019-11-11 12:54 stable request: PCI: tegra: Enable Relaxed Ordering only for Tegra20 & Tegra30 Vidya Sagar
@ 2019-11-11 13:09 ` Greg Kroah-Hartman
  2019-11-11 15:22   ` Vidya Sagar
  0 siblings, 1 reply; 6+ messages in thread
From: Greg Kroah-Hartman @ 2019-11-11 13:09 UTC (permalink / raw)
  To: Vidya Sagar
  Cc: stable, Jon Hunter, thierry.reding@gmail.com, Lorenzo Pieralisi,
	Bjorn Helgaas

On Mon, Nov 11, 2019 at 06:24:53PM +0530, Vidya Sagar wrote:
> Hi Greg,
> We noticed that the Tegra PCIe host controller driver enabled
> "Relaxed Ordering" bit in the PCIe configuration space for "all"
> devices erroneously. We pushed a fix for this through the
> commit: 7be142caabc4780b13a522c485abc806de5c4114 and it has been
> soaking in main line for the last four months.
> Based on the discussion we had @ http://patchwork.ozlabs.org/patch/1127604/
> we would now like to push it to the following stable kernels
> 4.19                  : Applies cleanly
> 3.16, 4.4, 4.9 & 4.14 : Following equivalent patch needs to be used as the
>                         file was at drivers/pci/host/pci-tegra.c earlier
>                         (and moved to drivers/pci/controller/pci-tegra.c starting 4.19)

All now queued up (except for 3.16, that's Ben's tree, he will get to it
soon.)

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: stable request: PCI: tegra: Enable Relaxed Ordering only for Tegra20 & Tegra30
  2019-11-11 13:09 ` Greg Kroah-Hartman
@ 2019-11-11 15:22   ` Vidya Sagar
  2019-11-18  6:35     ` Vidya Sagar
  0 siblings, 1 reply; 6+ messages in thread
From: Vidya Sagar @ 2019-11-11 15:22 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: stable, Jon Hunter, thierry.reding@gmail.com, Lorenzo Pieralisi,
	Bjorn Helgaas, linux-tegra@vger.kernel.org, Manikanta Maddireddy,
	Krishna Thota

On 11/11/2019 6:39 PM, Greg Kroah-Hartman wrote:
> On Mon, Nov 11, 2019 at 06:24:53PM +0530, Vidya Sagar wrote:
>> Hi Greg,
>> We noticed that the Tegra PCIe host controller driver enabled
>> "Relaxed Ordering" bit in the PCIe configuration space for "all"
>> devices erroneously. We pushed a fix for this through the
>> commit: 7be142caabc4780b13a522c485abc806de5c4114 and it has been
>> soaking in main line for the last four months.
>> Based on the discussion we had @ http://patchwork.ozlabs.org/patch/1127604/
>> we would now like to push it to the following stable kernels
>> 4.19                  : Applies cleanly
>> 3.16, 4.4, 4.9 & 4.14 : Following equivalent patch needs to be used as the
>>                          file was at drivers/pci/host/pci-tegra.c earlier
>>                          (and moved to drivers/pci/controller/pci-tegra.c starting 4.19)
> 
> All now queued up (except for 3.16, that's Ben's tree, he will get to it
> soon.)
> 
> thanks,
> 
> greg k-h
> 

Thanks a lot Greg.

- Vidya Sagar

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: stable request: PCI: tegra: Enable Relaxed Ordering only for Tegra20 & Tegra30
  2019-11-11 15:22   ` Vidya Sagar
@ 2019-11-18  6:35     ` Vidya Sagar
  2019-11-19 14:31       ` Ben Hutchings
  0 siblings, 1 reply; 6+ messages in thread
From: Vidya Sagar @ 2019-11-18  6:35 UTC (permalink / raw)
  To: ben
  Cc: Greg Kroah-Hartman, stable, Jon Hunter, thierry.reding@gmail.com,
	Lorenzo Pieralisi, Bjorn Helgaas, linux-tegra@vger.kernel.org,
	Manikanta Maddireddy, Krishna Thota

On 11/11/2019 8:52 PM, Vidya Sagar wrote:
> On 11/11/2019 6:39 PM, Greg Kroah-Hartman wrote:
>> On Mon, Nov 11, 2019 at 06:24:53PM +0530, Vidya Sagar wrote:
>>> Hi Greg,
>>> We noticed that the Tegra PCIe host controller driver enabled
>>> "Relaxed Ordering" bit in the PCIe configuration space for "all"
>>> devices erroneously. We pushed a fix for this through the
>>> commit: 7be142caabc4780b13a522c485abc806de5c4114 and it has been
>>> soaking in main line for the last four months.
>>> Based on the discussion we had @ http://patchwork.ozlabs.org/patch/1127604/
>>> we would now like to push it to the following stable kernels
>>> 4.19                  : Applies cleanly
>>> 3.16, 4.4, 4.9 & 4.14 : Following equivalent patch needs to be used as the
>>>                          file was at drivers/pci/host/pci-tegra.c earlier
>>>                          (and moved to drivers/pci/controller/pci-tegra.c starting 4.19)
>>
>> All now queued up (except for 3.16, that's Ben's tree, he will get to it
>> soon.)
>>
Hi Ben,
Could you please queue this up for 3.16 as well?

- Vidya Sagar

>> thanks,
>>
>> greg k-h
>>
> 
> Thanks a lot Greg.
> 
> - Vidya Sagar


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: stable request: PCI: tegra: Enable Relaxed Ordering only for Tegra20 & Tegra30
  2019-11-18  6:35     ` Vidya Sagar
@ 2019-11-19 14:31       ` Ben Hutchings
  2019-11-19 15:04         ` Vidya Sagar
  0 siblings, 1 reply; 6+ messages in thread
From: Ben Hutchings @ 2019-11-19 14:31 UTC (permalink / raw)
  To: Vidya Sagar
  Cc: Greg Kroah-Hartman, stable, Jon Hunter, thierry.reding@gmail.com,
	Lorenzo Pieralisi, Bjorn Helgaas, linux-tegra@vger.kernel.org,
	Manikanta Maddireddy, Krishna Thota

[-- Attachment #1: Type: text/plain, Size: 1365 bytes --]

On Mon, 2019-11-18 at 12:05 +0530, Vidya Sagar wrote:
> On 11/11/2019 8:52 PM, Vidya Sagar wrote:
> > On 11/11/2019 6:39 PM, Greg Kroah-Hartman wrote:
> > > On Mon, Nov 11, 2019 at 06:24:53PM +0530, Vidya Sagar wrote:
> > > > Hi Greg,
> > > > We noticed that the Tegra PCIe host controller driver enabled
> > > > "Relaxed Ordering" bit in the PCIe configuration space for "all"
> > > > devices erroneously. We pushed a fix for this through the
> > > > commit: 7be142caabc4780b13a522c485abc806de5c4114 and it has been
> > > > soaking in main line for the last four months.
> > > > Based on the discussion we had @ http://patchwork.ozlabs.org/patch/1127604/
> > > > we would now like to push it to the following stable kernels
> > > > 4.19                  : Applies cleanly
> > > > 3.16, 4.4, 4.9 & 4.14 : Following equivalent patch needs to be used as the
> > > >                          file was at drivers/pci/host/pci-tegra.c earlier
> > > >                          (and moved to drivers/pci/controller/pci-tegra.c starting 4.19)
> > > 
> > > All now queued up (except for 3.16, that's Ben's tree, he will get to it
> > > soon.)
> > > 
> Hi Ben,
> Could you please queue this up for 3.16 as well?

OK, I've added it to my queue.

Ben.

-- 
Ben Hutchings
Theory and practice are closer in theory than in practice - John Levine



[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: stable request: PCI: tegra: Enable Relaxed Ordering only for Tegra20 & Tegra30
  2019-11-19 14:31       ` Ben Hutchings
@ 2019-11-19 15:04         ` Vidya Sagar
  0 siblings, 0 replies; 6+ messages in thread
From: Vidya Sagar @ 2019-11-19 15:04 UTC (permalink / raw)
  To: Ben Hutchings
  Cc: Greg Kroah-Hartman, stable, Jon Hunter, thierry.reding@gmail.com,
	Lorenzo Pieralisi, Bjorn Helgaas, linux-tegra@vger.kernel.org,
	Manikanta Maddireddy, Krishna Thota

On 11/19/2019 8:01 PM, Ben Hutchings wrote:
> On Mon, 2019-11-18 at 12:05 +0530, Vidya Sagar wrote:
>> On 11/11/2019 8:52 PM, Vidya Sagar wrote:
>>> On 11/11/2019 6:39 PM, Greg Kroah-Hartman wrote:
>>>> On Mon, Nov 11, 2019 at 06:24:53PM +0530, Vidya Sagar wrote:
>>>>> Hi Greg,
>>>>> We noticed that the Tegra PCIe host controller driver enabled
>>>>> "Relaxed Ordering" bit in the PCIe configuration space for "all"
>>>>> devices erroneously. We pushed a fix for this through the
>>>>> commit: 7be142caabc4780b13a522c485abc806de5c4114 and it has been
>>>>> soaking in main line for the last four months.
>>>>> Based on the discussion we had @ http://patchwork.ozlabs.org/patch/1127604/
>>>>> we would now like to push it to the following stable kernels
>>>>> 4.19                  : Applies cleanly
>>>>> 3.16, 4.4, 4.9 & 4.14 : Following equivalent patch needs to be used as the
>>>>>                           file was at drivers/pci/host/pci-tegra.c earlier
>>>>>                           (and moved to drivers/pci/controller/pci-tegra.c starting 4.19)
>>>>
>>>> All now queued up (except for 3.16, that's Ben's tree, he will get to it
>>>> soon.)
>>>>
>> Hi Ben,
>> Could you please queue this up for 3.16 as well?
> 
> OK, I've added it to my queue.
> 
> Ben.
Thanks Ben
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1;
	t=1574175887; bh=uXgYUHwtrZapitSGWf5JwJRJHk5Ptu14CGrFy5WPBBY=;
	h=X-PGP-Universal:Subject:To:CC:References:X-Nvconfidentiality:From:
	 Message-ID:Date:User-Agent:MIME-Version:In-Reply-To:
	 X-Originating-IP:X-ClientProxiedBy:Content-Type:Content-Language:
	 Content-Transfer-Encoding;
	b=BPvs5cLXDhhzLY5asc+jfjOrcDfSlyLorXJ5IgqoZzGwtoQ5I7z6XjucTqpIfjqvw
	 vygAgc9INi1iMl3JQz19LURImeo9BxUh7BSosY61mt8KGlFI0vWOiCBtdKiWMy7avG
	 V9pqAEnRT6/i4VNoqZdFLItXcW8UXe/JP8Pw5vFyQn4+XzGDefCFLqGLySYDcUH8E0
	 djZWIOywbATPq1ULSYYChrKdqoRMTbhz2C1cA4f2LTMzoOB27bFwjRJxEGuMjIAYT+
	 m1Q/FvH2fSse30bw3za+YkstE61vC8SyMV2/4sOT1vb4JNVsVI9/0GyguV2syIrmlR
	 KjiT61+BAXAkg==

- Vidya Sagar
> 


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-11-19 15:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-11 12:54 stable request: PCI: tegra: Enable Relaxed Ordering only for Tegra20 & Tegra30 Vidya Sagar
2019-11-11 13:09 ` Greg Kroah-Hartman
2019-11-11 15:22   ` Vidya Sagar
2019-11-18  6:35     ` Vidya Sagar
2019-11-19 14:31       ` Ben Hutchings
2019-11-19 15:04         ` Vidya Sagar

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).