Skip to content

Instantly share code, notes, and snippets.

@superna9999
Last active September 18, 2020 14:12
Show Gist options
  • Save superna9999/37ddbdadfe91789563edfbbbda20c7b9 to your computer and use it in GitHub Desktop.
Save superna9999/37ddbdadfe91789563edfbbbda20c7b9 to your computer and use it in GitHub Desktop.
pcie
https://git.kernel.org/pub/scm/linux/kernel/git/lpieralisi/pci.git/log/?h=pci/dwc "PCI: dwc: Use DBI accessors"
With NVMe:
[ 3.677241] meson-pcie fc000000.pcie: Link up
[ 3.677319] meson-pcie fc000000.pcie: PCI host bridge to bus 0000:00
[ 3.682264] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 3.687691] pci_bus 0000:00: root bus resource [io 0x0000-0xfffff]
[ 3.693900] pci_bus 0000:00: root bus resource [mem 0xfc700000-0xfdffffff]
[ 3.700728] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400
[ 3.706675] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
[ 3.713327] pci 0000:00:00.0: supports D1
[ 3.717274] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold
[ 3.725502] pci 0000:01:00.0: [1987:5012] type 00 class 0x010802
[ 3.729596] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[ 3.736389] pci 0000:01:00.0: Max Payload Size set to 256 (was 128, max 256)
[ 3.743570] pci 0000:01:00.0: 4.000 Gb/s available PCIe bandwidth, limited by 5.0 GT/s PCIe x1 link at 0000:00:00.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
[ 3.768597] pci 0000:00:00.0: BAR 8: assigned [mem 0xfc700000-0xfc7fffff]
[ 3.769730] pci 0000:00:00.0: BAR 6: assigned [mem 0xfc800000-0xfc80ffff pref]
[ 3.776904] pci 0000:01:00.0: BAR 0: assigned [mem 0xfc700000-0xfc703fff 64bit]
[ 3.784170] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 3.789311] pci 0000:00:00.0: bridge window [mem 0xfc700000-0xfc7fffff]
[ 3.796256] nvme nvme0: pci function 0000:01:00.0
[ 3.800724] nvme 0000:01:00.0: enabling device (0000 -> 0002)
[ 3.809005] nvme nvme0: missing or invalid SUBNQN field.
[ 3.811701] nvme nvme0: Shutdown timeout set to 10 seconds
Without NVMe:
[ 3.493038] meson-pcie fc000000.pcie: host bridge /soc/pcie@fc000000 ranges:
[ 3.506445] meson-pcie fc000000.pcie: IO 0x00fc600000..0x00fc6fffff -> 0x0000000000
[ 3.514544] meson-pcie fc000000.pcie: MEM 0x00fc700000..0x00fdffffff -> 0x00fc700000
[ 3.718457] meson-pcie fc000000.pcie: error: wait linkup timeout
[ 3.859818] meson-pcie fc000000.pcie: error: wait linkup timeout
[ 4.001182] meson-pcie fc000000.pcie: error: wait linkup timeout
[ 4.142545] meson-pcie fc000000.pcie: error: wait linkup timeout
[ 4.283900] meson-pcie fc000000.pcie: error: wait linkup timeout
[ 4.425258] meson-pcie fc000000.pcie: error: wait linkup timeout
[ 4.566624] meson-pcie fc000000.pcie: error: wait linkup timeout
[ 4.707983] meson-pcie fc000000.pcie: error: wait linkup timeout
[ 4.849335] meson-pcie fc000000.pcie: error: wait linkup timeout
[ 4.949691] meson-pcie fc000000.pcie: Phy link never came up
[ 4.949766] meson-pcie fc000000.pcie: PCI host bridge to bus 0000:00
[ 4.956006] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 4.961435] pci_bus 0000:00: root bus resource [io 0x0000-0xfffff]
[ 4.967645] pci_bus 0000:00: root bus resource [mem 0xfc700000-0xfdffffff]
[ 4.974473] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400
[ 4.980420] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
[ 4.987074] pci 0000:00:00.0: supports D1
[ 4.991022] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold
[ 5.052032] pci 0000:00:00.0: BAR 6: assigned [mem 0xfc700000-0xfc70ffff pref]
[ 5.053592] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment