This series fixes a set of independent Tegra194/Tegra234 PCIe
controller issues found while testing Root Port and Endpoint flows.
The Root Port fixes tighten probe/remove and suspend/resume error handling:
propagate optional GPIO failures, check reset deassertion, avoid skipping
cleanup when no link came up, and balance the optional core monitor clock
on failures.
The Endpoint fixes cover PERST# IRQ suspend handling, PHY/PLL error
unwinds, capability checks before programming optional PCIe extended
capabilities, hiding Tegra234 EP L1.2 advertisement for the documented
hardware limitation, and MSI/MSI-X handling. The MSI-X patches also keep
pci_epf_test from relocating controller-owned MSI-X table/PBA storage when
the EPC describes a fixed MSI-X BAR layout.
The patches are ordered from low-level error handling toward endpoint
capability/MSI-X fixes so each change remains reviewable and
self-contained.
Manikanta Maddireddy (11):
PCI: tegra194: Propagate REFCLK select GPIO errors
PCI: tegra194: Check core reset deassertion
PCI: tegra194: Fix Endpoint PERST# IRQ suspend race
PCI: tegra194: Do not skip no-link Root Port remove cleanup
PCI: tegra194: Check for 16 GT/s capability before programming
PCI: tegra194: Check for L1SS capability before programming
PCI: tegra194: Always disable Tegra234 Endpoint L1.2
PCI: tegra194: Guard Endpoint PLL-off error path
PCI: tegra194: Balance core monitor clock on failures
PCI: tegra194: Fix Endpoint MSI/MSI-X numbering
PCI: endpoint: test: Do not relocate fixed MSI-X tables
drivers/pci/controller/dwc/pcie-tegra194.c | 243 ++++++++++++------
drivers/pci/endpoint/functions/pci-epf-test.c | 27 +-
2 files changed, 186 insertions(+), 84 deletions(-)
--
2.34.1