PCIE gen 4 RX cannot enter compliance mode

Hi Nvidia:

I do compliance test for PCIE recently.
The PCIE gen3 TX, RX and gen4 TX are all pass.
But PCIE gen4 RX can not be test.
It’s seem to can not enter compliance mode.
I follow step of tuning guide and use these patch files in the figure below, it still can not do PCIE gen4 RX SI test.


What do I do to check PCIE enter compliance mode or not?
Is there other way to let PCIE gen4 enter compliance mode?

Best regards,
Ben

Is this jeptack5 or jetpack6? Which patch you are talking about?

Hi Wayne:

We use jeptack6.
The patch files are show below table from tuning guide.

Best regards,
Ben

please attach your so-called patch file here for me to double check.

Hi Wayne:

Please refer to the attachment, thank you.

Best regards,
Ben

PCIE PATCH A_B.zip (986 Bytes)

The power down patch is out of date. Please use this one for rel36. The one you are using is for rel-35.

diff --git a/drivers/pci/controller/dwc/pcie-tegra194.c b/drivers/pci/controller/dwc/pcie-tegra194.c
index a44b477cee27..937d7019fbb1 100644
--- a/drivers/pci/controller/dwc/pcie-tegra194.c
+++ b/drivers/pci/controller/dwc/pcie-tegra194.c
@@ -2193,10 +2193,12 @@ static int tegra_pcie_config_rp(struct tegra_pcie_dw *pcie)

        pcie->link_state = tegra_pcie_dw_link_up(&pcie->pci);
        if (!pcie->link_state) {
-               ret = -ENOMEDIUM;
-               goto fail_host_init;
+               dev_err(dev, "Disabling PCIe power down\n");
+               ret = 0;
        }
 
+       pcie->link_state = true;
+
        name = devm_kasprintf(dev, GFP_KERNEL, "%pOFP", dev->of_node);
        if (!name) {
                ret = -ENOMEM;