列出按 DMI 通道與直接連接的 CPU 通道區分的 pci 通道

列出按 DMI 通道與直接連接的 CPU 通道區分的 pci 通道

如果 PCI 插槽直接連接到 CPU,或透過南橋/PCH,是否有辦法列出 PCI 插槽(或其各自的裝置)並輸出?

答案1

有沒有辦法列出 PCI 插槽

是的,你可以看看lspci

man lspci

你可以看到使用的是什麼橋。您有不同的詳細選項: lspci -vvv最詳細的模式。

您也可能會得到您想要的:

hwinfo --short

最後,您可以列出您的插槽dmidecode -t 9

並列出板載設備dmidecode -t 10

答案2

lspci -tv

在此範例中,0x14 之前的裝置連接到 CPU 根聯合體。 0x14 處或之後位於 PCH 後方。

-[0000:00]-+-00.0  Intel Corporation 4th Gen Core Processor DRAM Controller
       +-01.0-[01]----00.0  Intel Corporation Express Flash NVMe P4500/P4600
       +-14.0  Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI
       +-16.0  Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1
       +-16.1  Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #2
       +-1a.0  Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2
       +-1c.0-[02]--
       +-1c.2-[03]----00.0  Intel Corporation I210 Gigabit Network Connection
       +-1c.3-[04]----00.0  Intel Corporation I210 Gigabit Network Connection
       +-1c.7-[05-06]----00.0-[06]----00.0  ASPEED Technology, Inc. ASPEED Graphics Family
       +-1d.0  Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1
       +-1f.0  Intel Corporation C224 Series Chipset Family Server Standard SKU LPC Controller
       +-1f.2  Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode]
       \-1f.3  Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller

相關內容