]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: tegra194: Disable direct speed change for Endpoint mode
authorVidya Sagar <vidyas@nvidia.com>
Tue, 24 Mar 2026 19:07:48 +0000 (00:37 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 8 Apr 2026 22:00:13 +0000 (17:00 -0500)
commit976f6763f57970388bcd7118931f33f447916927
treea0d31bc6335cb05b85c0129ad7f4746642b2362a
parentf62bc7917de1374dce86a852ffba8baf9cb7a56a
PCI: tegra194: Disable direct speed change for Endpoint mode

Pre-silicon simulation showed the controller operating in Endpoint mode
initiating link speed change after completing Secondary Bus Reset. Ideally,
the Root Port or the Switch Downstream Port should initiate the link speed
change post SBR, not the Endpoint.

So, as per the hardware team recommendation, disable direct speed change
for the Endpoint mode to prevent it from initiating speed change after the
physical layer link is up at Gen1, leaving speed change ownership with the
host.

Fixes: c57247f940e8 ("PCI: tegra: Add support for PCIe endpoint mode in Tegra194")
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Signed-off-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
[mani: commit log]
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-by: Vidya Sagar <vidyas@nvidia.com>
Link: https://patch.msgid.link/20260324190755.1094879-8-mmaddireddy@nvidia.com
drivers/pci/controller/dwc/pcie-tegra194.c