Bug 4569 - [ANCK 4.19] lspci获取不到nvme控制器的物理槽位
Summary: [ANCK 4.19] lspci获取不到nvme控制器的物理槽位
Status: CONFIRMED
Alias: None
Product: ANCK 4.19 Dev
Classification: ANCK
Component: block/storage (show other bugs) block/storage
Version: 4.19-026.x
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: hobbit
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-20 10:35 UTC by wangkaiyuan
Modified: 2023-05-04 19:36 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wangkaiyuan inspur_group 2023-03-20 10:35:20 UTC
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
Comment 1 hobbit alibaba_cloud_group 2023-03-27 16:07:43 UTC
在cmdline中加上参数pcie_ports=native可以识别到slots,因此出现该现象的原因在于出问题的机器bios对pcie的初始化逻辑存在问题,与内核无关。