NVMe device controller registers

cancel
Showing results for 
Search instead for 
Did you mean: 

NVMe device controller registers

1,425 Views
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

Labels (1)
Tags (5)
0 Kudos
2 Replies

632 Views
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 Kudos

632 Views
adeel
Contributor III

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

0 Kudos