NVMe device controller registers

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

NVMe device controller registers

2,459件の閲覧回数
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 返答(返信)

1,666件の閲覧回数
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 件の賞賛

1,666件の閲覧回数
adeel
Contributor III

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

0 件の賞賛