Home
last modified time | relevance | path

Searched hist:b2a4eeb5393ed169062b819de782f4e28e7eb501 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/pci/
H A Dpcie_dw_rockchip.cb2a4eeb5393ed169062b819de782f4e28e7eb501 Tue Aug 27 01:49:51 UTC 2024 Shawn Lin <shawn.lin@rock-chips.com> driver: pci: rockchip: Fix rescan error

First, it need to free gpio if fails to link up
the device. And do proper hardware level settings.

=> pci e
pcie@2a200000: PCIe Linking... LTSSM is 0x0
pcie@2a200000: PCIe Linking... LTSSM is 0x2
pcie@2a200000: PCIe Linking... LTSSM is 0x2
pcie@2a200000: PCIe Linking... LTSSM is 0x3
pcie@2a200000: PCIe-0 Link Fail
pcie@2a210000: PCIe Linking... LTSSM is 0x0
pcie@2a210000: PCIe Linking... LTSSM is 0x3
pcie@2a210000: PCIe Linking... LTSSM is 0x3
pcie@2a210000: PCIe-0 Link Fail

Retry enum:

=> pci e
pcie@2a200000: PCIe Linking... LTSSM is 0x0
pcie@2a200000: PCIe Linking... LTSSM is 0x0
pcie@2a200000: PCIe Link up, LTSSM is 0x130011
pcie@2a200000: PCIE-0: Link up (Gen2-x1, Bus0)
pcie@2a200000: invalid flags type!
pcie@2a210000: PCIe Linking... LTSSM is 0x0
pcie@2a210000: PCIe Linking... LTSSM is 0x2
pcie@2a210000: PCIe Link up, LTSSM is 0x130011
pcie@2a210000: PCIE-2: Link up (Gen2-x1, Bus2)
=> nvme scan
=> nvme info
Device 0: Vendor: 0x1e49 Rev: YM0500C6 Prod: YMA2256JA22314008G
Type: Hard Disk
Capacity: 244198.3 MB = 238.4 GB (500118192 x 512)
Device 1: Vendor: 0x1d97 Rev: V0218G0 Prod: MCC3212000213
Type: Hard Disk
Capacity: 488386.3 MB = 476.9 GB (1000215216 x 512)

Change-Id: Ic3d72fda8b1fd55de8e23d6f7e3e2e5a505cc3ed
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>