Xavier SOM PCIe can't detect any device on custom board

I use PCIe C1 controller for a network extension chip. I adjust PCIe C1 in device tree. But there is no any device for lspci command when Xavier boot up. There are many errors as follow:

[    0.943655] iommu: Adding device 14100000.pcie to group 0
[    0.944521] iommu: Adding device 141a0000.pcie to group 1
[    1.014413] GPIO line 490 (pcie-reg-enable) hogged as output/high
[    1.014452] GPIO line 289 (pcie-reg-enable) hogged as output/high
[    2.341820] tegra-pcie-dw 14100000.pcie: Setting init speed to max speed
[    2.342751] OF: PCI: host bridge /pcie@14100000 ranges:
[    2.860839] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[    3.372959] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[    3.884434] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[    4.396456] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[    4.907533] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[    5.419717] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[    5.931559] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[    6.443507] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[    6.955230] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[    7.467117] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[    7.978439] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[    8.486675] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[    8.997851] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[    9.506613] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   10.018556] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   10.526628] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   11.038326] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   11.546479] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   12.054453] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   12.561983] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   13.070442] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   13.578179] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   14.086322] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   14.593459] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   15.102262] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   15.610268] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   16.118084] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   16.626003] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   17.134080] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   17.642007] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   18.150295] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   18.658035] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   19.165814] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   19.674039] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   20.181288] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   20.690129] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   21.198094] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   21.706060] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   22.214154] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   22.722148] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   23.230062] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   23.738147] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   24.246049] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   24.753093] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   25.262049] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   25.769165] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   26.278089] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   26.786125] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   27.294165] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   27.802047] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   28.310000] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   28.817113] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   29.325911] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   29.833406] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   30.341727] tegra-pcie-dw 14100000.pcie: link is down
[   30.341970] tegra-pcie-dw 14100000.pcie: PCI host bridge to bus 0001:00
[   30.343037] pcieport 0001:00:00.0: Signaling PME through PCIe PME interrupt
[   30.343043] pcie_pme 0001:00:00.0:pcie001: service driver pcie_pme loaded
[   30.343158] aer 0001:00:00.0:pcie002: service driver aer loaded
[   30.343330] pcie_pme 0001:00:00.0:pcie001: unloading service driver pcie_pme
[   30.343373] aer 0001:00:00.0:pcie002: unloading service driver aer
[   30.344769] tegra-pcie-dw 14100000.pcie: PCIe link is not up...!
[   30.345379] tegra-pcie-dw 141a0000.pcie: Setting init speed to max speed
[   30.346408] OF: PCI: host bridge /pcie@141a0000 ranges:
[   30.858196] tegra-pcie-dw 141a0000.pcie: link is down
[   30.858405] tegra-pcie-dw 141a0000.pcie: PCI host bridge to bus 0005:00
[   30.859190] pcieport 0005:00:00.0: Signaling PME through PCIe PME interrupt
[   30.859196] pcie_pme 0005:00:00.0:pcie001: service driver pcie_pme loaded
[   30.859259] aer 0005:00:00.0:pcie002: service driver aer loaded
[   30.859422] pcie_pme 0005:00:00.0:pcie001: unloading service driver pcie_pme
[   30.859506] aer 0005:00:00.0:pcie002: unloading service driver aer
[   30.861016] tegra-pcie-dw 141a0000.pcie: PCIe link is not up...!

my device tree is :

	pcie@14100000 {
		compatible = "nvidia,tegra194-pcie", "snps,dw-pcie";
		power-domains = <0x3 0x13>;
		reg = <0x0 0x14100000 0x0 0x20000 0x0 0x30000000 0x0 0x40000 0x0 0x30040000 0x0 0x40000>;
		reg-names = "appl", "config", "atu_dma";
		status = "okay";
		#address-cells = <0x3>;
		#size-cells = <0x2>;
		device_type = "pci";
		num-lanes = <0x1>;
		linux,pci-domain = <0x1>;
		clocks = <0x4 0xdd 0x4 0x140>;
		clock-names = "core_clk", "core_clk_m";
		resets = <0x5 0x7a 0x5 0x75>;
		reset-names = "core_apb_rst", "core_rst";
		interrupts = <0x0 0x2d 0x4 0x0 0x2e 0x4>;
		interrupt-names = "intr", "msi";
		iommus = <0x2 0x57>;
		dma-coherent;
		#interrupt-cells = <0x1>;
		interrupt-map-mask = <0x0 0x0 0x0 0x0>;
		interrupt-map = <0x0 0x0 0x0 0x0 0x1 0x0 0x2d 0x4>;
		nvidia,dvfs-tbl = <0xc28cb00 0x18519600 0x2faf0800 0x4f73f740 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0>;
		nvidia,max-speed = <0x1>;
		nvidia,disable-aspm-states = <0xc>;
		nvidia,controller-id = <0x3 0x1>;
		nvidia,host1x = <0x9>;
		nvidia,disable-l1-cpm;
		nvidia,aux-clk-freq = <0x13>;
		nvidia,preset-init = <0x5>;
		nvidia,aspm-cmrt = <0x3c>;
		nvidia,aspm-pwr-on-t = <0x14>;
		nvidia,aspm-l0s-entrance-latency = <0x3>;
		bus-range = <0x0 0xff>;
		ranges = <0x81000000 0x0 0x30100000 0x0 0x30100000 0x0 0x100000 0x82000000 0x0 0x40000000 0x12 0x30000000 0x0 0x10000000 0xc2000000 0x12 0x0 0x12 0x0 0x0 0x30000000>;
		nvidia,cfg-link-cap-l1sub = <0x194>;
		nvidia,cap-pl16g-status = <0x164>;
		nvidia,cap-pl16g-cap-off = <0x178>;
		nvidia,event-cntr-ctrl = <0x1a8>;
		nvidia,event-cntr-data = <0x1ac>;
		nvidia,margin-port-cap = <0x180>;
		nvidia,margin-lane-cntrl = <0x184>;
		nvidia,dl-feature-cap = <0x2dc>;
		vddio-pex-ctl-supply = <0xa>;
		nvidia,enable-power-down;
		phys = <0x18>;
		phy-names = "pcie-p2u-0";
		linux,phandle = <0xf2>;
		phandle = <0xf2>;
	};

		fragment-pcie-c1-rp {
			ids = "<2822-0000-200";

			override@0 {
				target = <0xf2>;

				_overlay_ {
					nvidia,max-speed = <0x1>;
				};
			};
		};

		fragment-pcie-older-than-p2822-B00 {
			ids = "<2822-0000-400";

			override@0 {
				target = <0xf2>;

				_overlay_ {
					nvidia,disable-aspm-states = <0xf>;
				};
			};

			override@1 {
				target = <0xf3>;

				_overlay_ {
					delete-target-property = "nvidia,plat-gpios";
				};
			};

			override@2 {
				target = <0x13>;

				_overlay_ {

					pcie-reg-enable {
						status = "disabled";
					};
				};
			};
		};

I disabled the pcie@141a0000, now the log is as follow:
I don’t know why the link is down. @DaneLLL @linuxdev
I use pcie c1 and uphy_0.
The pcie c1 on the devkit connect to the sata controller(88SE9171A2). On our own customer board we just change the sata controller to the ethernet controller I210.
How should I debug it? @vidyas

[    0.936671] iommu: Adding device 14100000.pcie to group 0
[    1.010785] GPIO line 490 (pcie-reg-enable) hogged as output/high
[    1.010826] GPIO line 289 (pcie-reg-enable) hogged as output/high
[    2.044359] ehci-pci: EHCI PCI platform driver
[    2.044459] ohci-pci: OHCI PCI platform driver
[    2.347161] tegra-pcie-dw 14100000.pcie: Setting init speed to max speed
[    2.348163] OF: PCI: host bridge /pcie@14100000 ranges:
[    2.866953] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[    3.379771] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[    3.890410] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[    4.402922] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[    4.913880] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[    5.426470] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[    5.937161] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[    6.445791] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[    6.957564] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[    7.469404] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[    7.977235] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[    8.486669] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[    8.996529] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[    9.505212] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   10.017221] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   10.525205] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   11.037061] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   11.545040] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   12.053102] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   12.560582] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   13.069081] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   13.576982] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   14.085090] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   14.592294] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   15.101021] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   15.609235] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   16.121032] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   16.628879] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   17.136771] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   17.644780] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   18.152816] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   18.660839] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   19.168687] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   19.676809] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   20.184083] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   20.693050] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   21.200812] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   21.709280] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   22.220828] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   22.728949] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   23.236797] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   23.744899] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   24.252902] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   24.759798] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   25.268771] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   25.775943] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   26.284766] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   26.792817] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   27.300756] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   27.808792] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   28.316724] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   28.823799] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   29.332564] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   29.840111] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   30.348720] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   30.856801] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   31.363973] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   31.872816] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   32.380774] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   32.888374] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   33.395837] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   33.904778] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   34.412770] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   34.920769] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   35.428648] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   35.936581] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   36.444591] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   36.951813] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   37.460599] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   37.968726] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   38.476642] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   38.984670] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   39.492729] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   40.000714] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   40.508663] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   41.016729] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   41.524285] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   42.032760] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   42.539777] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   43.048753] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   43.556642] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   44.064658] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   44.572544] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   45.080618] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   45.588580] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   46.096734] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   46.604592] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   47.112304] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   47.620584] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   48.127693] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   48.636509] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   49.144702] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   49.652558] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   50.160546] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   50.668678] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   51.176638] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   51.684801] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   52.192744] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   52.699368] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   53.208726] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   53.716690] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   54.224758] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   54.732666] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   55.240727] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   55.748456] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   56.256745] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   56.763426] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[   57.272581] tegra-pcie-dw 14100000.pcie: link is down
[   57.272853] tegra-pcie-dw 14100000.pcie: PCI host bridge to bus 0001:00
[   57.272860] pci_bus 0001:00: root bus resource [bus 00-ff]
[   57.272880] pci_bus 0001:00: root bus resource [io  0x0000-0xfffff] (bus address [0x30100000-0x301fffff])
[   57.272885] pci_bus 0001:00: root bus resource [mem 0x1230000000-0x123fffffff] (bus address [0x40000000-0x4fffffff])
[   57.272890] pci_bus 0001:00: root bus resource [mem 0x1200000000-0x122fffffff pref]
[   57.272918] pci 0001:00:00.0: [10de:1ad2] type 01 class 0x060400
[   57.273078] pci 0001:00:00.0: PME# supported from D0 D3hot D3cold
[   57.273710] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[   57.273744] pci 0001:00:00.0: Max Payload Size set to  256/ 256 (was  256), Max Read Rq  512
[   57.274038] pcieport 0001:00:00.0: Signaling PME through PCIe PME interrupt
[   57.274057] pcie_pme 0001:00:00.0:pcie001: service driver pcie_pme loaded
[   57.274189] aer 0001:00:00.0:pcie002: service driver aer loaded
[   57.274355] pcie_pme 0001:00:00.0:pcie001: unloading service driver pcie_pme
[   57.274424] aer 0001:00:00.0:pcie002: unloading service driver aer
[   57.274501] pci_bus 0001:01: busn_res: [bus 01-ff] is released
[   57.274594] pci_bus 0001:00: busn_res: [bus 00-ff] is released
[   57.275840] tegra-pcie-dw 14100000.pcie: PCIe link is not up...

Is it the Intel I210 NIC that is being tried out here? In that case, there shouldn’t be any issue with it as we have tried it out already.
PCIe controller in Jetson AGX Xavier is Gen-4 capable and we have seen with some very old legacy devices that if ‘DL Feature’ is advertised (which Tegra does as it is Gen-4 capable), PCIe link would be up at physical layer level but not Data Link Layer level. That is what is precisely reported by

link is down in DLL, try again with DLFE disabled<

But, once this condition is detected, the driver would disable ‘DL Feature’ and go for the link up again. Typically with this procedure, we did get the link up with the old legacy devices. I’m not sure why is that not happening with this particular endpoint device.
Can you please try the following patch once? (in this patch, I try to disable ‘DL Feature’ in the first go itself)

diff --git a/drivers/pci/dwc/pcie-tegra.c b/drivers/pci/dwc/pcie-tegra.c
index 6f3919f85..cf762de9b 100644
--- a/drivers/pci/dwc/pcie-tegra.c
+++ b/drivers/pci/dwc/pcie-tegra.c
@@ -2794,6 +2794,11 @@ static int tegra_pcie_dw_host_init(struct pcie_port *pp)
                                  PORT_LOGIC_PL_CHK_REG_CONTROL_STATUS, 4, tmp);
        }

+       pr_info("---> Disabling DL Feature\n");
+       dw_pcie_read(pci->dbi_base + pcie->dl_feature_cap, 4, &val);
+       val &= ~DL_FEATURE_EXCHANGE_EN;
+       dw_pcie_write(pci->dbi_base + pcie->dl_feature_cap, 4, val);
+
        if (pcie->is_safety_platform) {
                /* Disable HW autonomous speed change */
                val = readl(pci->dbi_base + CFG_LINK_STATUS_CONTROL_2);

Hi vidyas,

thank you very much for your reply.
As you say, the i210 have tried it by nvidia. So I don’t think it is a software problem and I tell my hardware colleague that I insist on rewelding the chip. After they change a new chip, it works now. So this maybe a welding problem. Thank you for your kindly answer.