Description of problem: lspci获取不到nvme控制器的物理槽位 Version-Release number of selected component (if applicable): 4.19.91-26.6 How reproducible: lspci -vvv -s pci号 Actual results: 打印信息中没有Physical Slot:字段 Expected results: 打印信息中存在Physical Slot:字段 Additional info: pci设备是:Samsung Electronics Co Ltd Nvme SSD Controller PM94A1/980PRO
在cmdline中加上参数pcie_ports=native可以识别到slots,因此出现该现象的原因在于出问题的机器bios对pcie的初始化逻辑存在问题,与内核无关。