NVMe device controller registers

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

NVMe device controller registers

2,877 次查看
iqrajaved
Contributor III

Hi, 

I have written a PCIe driver for LS1046ardb and attached an NVMe based SS as PCIe device. When I read the memory region of System Memory Space where the PCIe device's memory is mapped, I can only read the NVMe controller register at offset 0x4. For the rest of the readonly fields, i get 0x0.

What is the possible reason that I can read one reg of NVMe rightly (0x3c013fff at offest 0x4) and find other wrong?

Regards,

Iqra Javed

标签 (1)
标记 (5)
0 项奖励
回复
2 回复数

2,084 次查看
iqrajaved
Contributor III

The update is that some other PCIe devices like USB Host controller and BCM575 are read correctly with the same PCIe driver (RC mode) but there are issues in the case of NVMe based SSD. 

Further, the other PCIe devices that are being read correctly are one lane devices while NVMe based SSD is multi-lane (2 lanes). 

Can anyone guide me what must be the reason of this strange behavior? 

0 项奖励
回复

2,084 次查看
adeel
Contributor III

Probably it doesn't have memory-mapped registers? What problem do you see with the Linux driver?

0 项奖励
回复