From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manikanta Maddireddy Subject: [PATCH 00/12] Enable Tegra root port features and apply SW fixups Date: Sat, 28 Oct 2017 00:59:17 +0530 Message-ID: <1509132569-9398-1-git-send-email-mmaddireddy@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Sender: linux-pci-owner@vger.kernel.org To: thierry.reding@gmail.com, bhelgaas@google.com, jonathanh@nvidia.com Cc: linux-tegra@vger.kernel.org, linux-pci@vger.kernel.org, vidyas@nvidia.com, kthota@nvidia.com, Manikanta Maddireddy List-Id: linux-tegra@vger.kernel.org These series of patches does the following things, - Deasserting pcie_xrst after programming root port to make sure that register programming is reflected during LTSSM - Apply REFCLK pad settings to make sure P2P amplitude requirement is met - Enable Gen2 link speed - Advertise AER capability - Program UPHY electrical settings for meeting eye diagram requirements - Bunch of SW fixups explained in their respective commit log Testing done on Tegra124, 210 and 186: - PCIe link up, config read, BAR read and basic functionality of Ethernet card - Link speed switch to Gen2 after link retrain - Link speed stays in Gen1 after retrain if end point is only Gen1 capable - Simulated AER errors and verified dmesg logs for them - Rest of the programming is verified by dumping the registers after PCIe link up Manikanta Maddireddy (12): PCI: tegra: Start LTSSM after programming root port PCI: tegra: Move REFCLK pad settings out of phy_power_on() PCI: tegra: Retrain link for Gen2 speed PCI: tegra: Advertise AER capability PCI: tegra: Program UPHY electrical settings in Tegra210 PCI: tegra: Enable opportunistic update FC and ACK PCI: tegra: Disable AFI dynamic clock gating PCI: tegra: Wait for DLLP to finish before entering L1 or L2 PCI: tegra: Enable PCIe xclk clock clamping PCI: tegra: Add SW fixup for RAW violations PCI: tegra: Increase the deskew retry time PCI: tegra: Update flow control threshold in Tegra210 drivers/pci/host/pci-tegra.c | 306 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 288 insertions(+), 18 deletions(-) -- 2.1.4