kernel version
Linux rock-3a 4.19.193-43-rockchip-g934feac9bf6c #rockchip SMP Sun May 8 15:06:40 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
dmesg about pci subsystem
[ +0.000139] pcie30_avdd0v9: 900 mV
[ +0.000186] reg-fixed-voltage pcie30-avdd0v9: Looking up vin-supply from device tree
[ +0.000013] pcie30_avdd0v9: supplied by vcc3v3_sys
[ +0.000177] reg-fixed-voltage pcie30-avdd0v9: pcie30_avdd0v9 supplying 900000uV
[ +0.000141] pcie30_avdd1v8: 1800 mV
[ +0.000185] reg-fixed-voltage pcie30-avdd1v8: Looking up vin-supply from device tree
[ +0.000013] pcie30_avdd1v8: supplied by vcc3v3_sys
[ +0.000169] reg-fixed-voltage pcie30-avdd1v8: pcie30_avdd1v8 supplying 1800000uV
[ +0.000639] pcie30_3v3: 100 <--> 3300 mV at 3300 mV
[ +0.003684] rk-pcie 3c0000000.pcie: Looking up vpcie3v3-supply from device tree
[ +0.000116] rk-pcie 3c0000000.pcie: Linked as a consumer to regulator.10
[ +0.000411] rk-pcie 3c0800000.pcie: Looking up vpcie3v3-supply from device tree
[ +0.000018] rk-pcie 3c0000000.pcie: missing legacy IRQ resource
[ +0.000066] rk-pcie 3c0000000.pcie: Missing *config* reg space
[ +0.000016] rk-pcie 3c0800000.pcie: Linked as a consumer to regulator.10
[ +0.000028] rk-pcie 3c0000000.pcie: host bridge /pcie@fe260000 ranges:
[ +0.000090] rk-pcie 3c0000000.pcie: err 0x300000000..0x3007fffff -> 0x00000000
[ +0.000057] rk-pcie 3c0000000.pcie: IO 0x300800000..0x3008fffff -> 0x00800000
[ +0.000063] rk-pcie 3c0000000.pcie: MEM 0x300900000..0x33fffffff -> 0x00900000
[ +0.000183] rk-pcie 3c0800000.pcie: missing legacy IRQ resource
[ +0.000059] rk-pcie 3c0800000.pcie: Missing *config* reg space
[ +0.000042] rk-pcie 3c0800000.pcie: host bridge /pcie@fe280000 ranges:
[ +0.000061] rk-pcie 3c0800000.pcie: err 0x380000000..0x3807fffff -> 0x80000000
[ +0.000054] rk-pcie 3c0800000.pcie: IO 0x380800000..0x3808fffff -> 0x80800000
[ +0.000053] rk-pcie 3c0800000.pcie: MEM 0x380900000..0x3bfffffff -> 0x80900000
[ +0.000059] ehci-pci: EHCI PCI platform driver
[ +0.238228] rk-pcie 3c0000000.pcie: PCIe Linking... LTSSM is 0x0
[ +0.318067] rk-pcie 3c0000000.pcie: PCIe Linking... LTSSM is 0x0
[ +0.000145] rk-pcie 3c0800000.pcie: PCIe Link up, LTSSM is 0x30011
[ +0.000413] rk-pcie 3c0800000.pcie: PCI host bridge to bus 0002:20
[ +0.000040] pci_bus 0002:20: root bus resource [bus 20-2f]
[ +0.000037] pci_bus 0002:20: root bus resource [??? 0x380000000-0x3807fffff flags 0x0] (bus address [0x80000000-0x807fffff])
[ +0.000037] pci_bus 0002:20: root bus resource [io 0x100000-0x1fffff] (bus address [0x80800000-0x808fffff])
[ +0.000033] pci_bus 0002:20: root bus resource [mem 0x380900000-0x3bfffffff] (bus address [0x80900000-0xbfffffff])
[ +0.000117] pci 0002:20:00.0: [1d87:3566] type 01 class 0x060400
[ +0.000051] pci 0002:20:00.0: reg 0x10: [mem 0x00000000-0x3fffffff 64bit]
[ +0.000012] pci 0002:20:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
[ +0.000081] pci 0002:20:00.0: supports D1 D2
[ +0.000007] pci 0002:20:00.0: PME# supported from D0 D1 D3hot
[ +0.019746] pci 0002:20:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ +0.000633] pci 0002:21:00.0: [15b7:5009] type 00 class 0x010802
[ +0.000304] pci 0002:21:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[ +0.000197] pci 0002:21:00.0: reg 0x20: [mem 0x00000000-0x000000ff 64bit]
[ +0.001021] pci 0002:21:00.0: 4.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x2 link at 0002:20:00.0 (capable of 31.504 Gb/s with 8 GT/s x4 link)
[ +0.209699] pci_bus 0002:21: busn_res: [bus 21-2f] end is updated to 21
[ +0.000182] pci 0002:20:00.0: BAR 0: no space for [mem size 0x40000000 64bit]
[ +0.000105] pci 0002:20:00.0: BAR 0: failed to assign [mem size 0x40000000 64bit]
[ +0.000032] pci 0002:20:00.0: BAR 8: assigned [mem 0x380900000-0x3809fffff]
[ +0.000058] pci 0002:20:00.0: BAR 6: assigned [mem 0x380a00000-0x380a0ffff pref]
[ +0.000050] pci 0002:21:00.0: BAR 0: assigned [mem 0x380900000-0x380903fff 64bit]
[ +0.000041] pci 0002:21:00.0: BAR 0: error updating (0x80900004 != 0xffffffff)
[ +0.000032] pci 0002:21:00.0: BAR 0: error updating (high 0x000000 != 0xffffffff)
[ +0.000033] pci 0002:21:00.0: BAR 4: assigned [mem 0x380904000-0x3809040ff 64bit]
[ +0.000089] pci 0002:21:00.0: BAR 4: error updating (0x80904004 != 0xffffffff)
[ +0.000030] pci 0002:21:00.0: BAR 4: error updating (high 0x000000 != 0xffffffff)
[ +0.000029] pci 0002:20:00.0: PCI bridge to [bus 21]
[ +0.000029] pci 0002:20:00.0: bridge window [mem 0x380900000-0x3809fffff]
[ +0.003961] pcieport 0002:20:00.0: Signaling PME with IRQ 114
[ +0.001120] pcieport 0002:20:00.0: AER enabled with IRQ 115
[ +0.001226] nvme 0002:21:00.0: of_irq_parse_pci: failed with rc=134
[ +0.000735] nvme nvme0: pci function 0002:21:00.0
[ +0.029872] rk-pcie 3c0000000.pcie: PCIe Linking... LTSSM is 0x1
[ +0.058033] rk-pcie 3c0000000.pcie: PCIe Linking... LTSSM is 0x0
[ +0.606137] rk-pcie 3c0000000.pcie: PCIe Linking... LTSSM is 0x0
[ +0.041740] rk-pcie 3c0000000.pcie: PCIe Linking... LTSSM is 0x0
[ +0.164065] rk-pcie 3c0000000.pcie: PCIe Linking... LTSSM is 0x1
[ +1.010004] rk-pcie 3c0000000.pcie: PCIe Linking... LTSSM is 0x0
[ +1.013617] rk-pcie 3c0000000.pcie: PCIe Linking... LTSSM is 0x0
[ +0.601846] rk-pcie 3c0000000.pcie: PCIe Linking... LTSSM is 0x0
[ +0.049733] rk-pcie 3c0000000.pcie: PCIe Link Fail
[ +0.000073] rk-pcie 3c0000000.pcie: failed to initialize host