linux-nvme / nvme-cli

NVMe management command line interface.
https://nvmexpress.org
GNU General Public License v2.0
1.48k stars 658 forks source link

Get-Property for offset 0x00 is only grabbing 32bits #1239

Closed nginsber closed 2 years ago

nginsber commented 2 years ago

Using version 1.12, when performing a 'nvme get-property -o 0x0 /dev/nvme0n1 -H' cap : f0003ff Controller Memory Buffer Supported (CMBS): The Controller Memory Buffer is Not Supported Persistent Memory Region Supported (PMRS): The Persistent Memory Region is Not Supported Memory Page Size Maximum (MPSMAX): 4096 bytes Memory Page Size Minimum (MPSMIN): 4096 bytes Boot Partition Support (BPS): No Command Sets Supported (CSS): NVM command set is not supported NVM Subsystem Reset Supported (NSSRS): No Doorbell Stride (DSTRD): 4 bytes Timeout (TO): 7500 ms Arbitration Mechanism Supported (AMS): Weighted Round Robin with Urgent Priority Class is not supported Contiguous Queues Required (CQR): No Maximum Queue Entries Supported (MQES): 1024

It appears only 32bits of the data is grabbed. Offset 0x00 is 64 bits. I know my device should be returning 0x000008200F0003FF

igaw commented 2 years ago

Can you retest with the current master? Lot's of changes since 1.12. Thanks

igaw commented 2 years ago

Closing the issue. Please reopen if the problem still exists.