[PATCH v8 00/14] Fixes to pcie-tegra194 driver
From: Manikanta Maddireddy
Date: Tue Mar 24 2026 - 15:13:32 EST
This series[1] was originally posted by Vidya Sagar, and I have rebased
it onto 6.19.0-rc6-next. I addressed review comments and split this into
two series, one for fixes(current) and the other is for enhancements.
I verified these patches on Jetson AGX Orin(Tegra234 SoC).
I added below four new patches to fix bugs, commit message of each
patch has the details on the bug and fix.
- PCI: tegra194: Use HW version number
- PCI: tegra194: Fix CBB timeout caused by DBI access before core power-on
- PCI: tegra194: Disable PERST IRQ only in Endpoint mode
I added fixes tag for below patch and moved this to this series from enhancements series
- PCI: tegra194: Disable L1.2 capability of Tegra234 EP
Rest of the patches are same as the original V3 series, rebased them on
6.19.0-rc6-next and addressed minor review comments.
I reordered the patches with regard to fixes tag.
Verification details.
- I verified both Root Port and Endpoint mode controllers on Tegra234 SoC.
- Basic sanity Link up, configuration space access and BAR access are verified.
- I verified that ASPM L1.2 capability is disabled for Endpoint mode.
- I verified suspend to RAM tests with Endpoint mode.
[1] https://patchwork.kernel.org/project/linux-pci/patch/20221013183854.21087-1-vidyas@xxxxxxxxxx/
Manikanta Maddireddy (6):
PCI: tegra194: Increase LTSSM poll time on surprise down
PCI: tegra194: Disable LTSSM after transition to detect on surprise
down
PCI: tegra194: Disable PERST IRQ only in Endpoint mode
PCI: tegra194: Use DWC IP core version
PCI: dwc: Apply ECRC workaround to DesignWare 5.00a as well
PCI: tegra194: Fix CBB timeout caused by DBI access before core
power-on
Vidya Sagar (8):
PCI: tegra194: Fix polling delay for L2 state
PCI: tegra194: Don't force the device into the D0 state before L2
PCI: tegra194: Use devm_gpiod_get_optional() to parse
"nvidia,refclk-select"
PCI: tegra194: Disable direct speed change for Endpoint
PCI: tegra194: Set LTR message request before PCIe link up
PCI: tegra194: Allow system suspend when the Endpoint link is not up
PCI: tegra194: Free up EP resources during remove()
PCI: tegra194: Disable L1.2 capability of Tegra234 EP
drivers/pci/controller/dwc/pcie-designware.c | 4 +-
drivers/pci/controller/dwc/pcie-designware.h | 2 +
drivers/pci/controller/dwc/pcie-tegra194.c | 199 ++++++++++---------
3 files changed, 109 insertions(+), 96 deletions(-)
--
2.34.1