hw/nvme: fix csi field for cns 0x00 and 0x11
authorGollu Appalanaidu <anaidu.gollu@samsung.com>
Tue, 27 Apr 2021 06:30:52 +0000 (12:00 +0530)
committerKlaus Jensen <k.jensen@samsung.com>
Tue, 29 Jun 2021 05:16:25 +0000 (07:16 +0200)
commit3553c48fcb6c8469d41de6410b01298d5f9d975e
tree97099bb125baadde9f2b79e95c6a39879ff51461
parentcccc2651f4222e587582867e966b054dd4b51a0e
hw/nvme: fix csi field for cns 0x00 and 0x11

As per the TP 4056d Namespace types CNS 0x00 and CNS 0x11
CSI field shouldn't use but it is being used for these two
Identify command CNS values, fix that.

Remove 'nvme_csi_has_nvm_support()' helper as suggested by
Klaus we can safely assume NVM command set support for all
namespaces.

Suggested-by: Klaus Jensen <k.jensen@samsung.com>
Signed-off-by: Gollu Appalanaidu <anaidu.gollu@samsung.com>
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
hw/nvme/ctrl.c