Skip to contentSkip to conversation

NVMe: Set correct VS Value for 1.1 Compliant Controllers

PATCH Applied Anubhav Rakshit 2 participants 2 messages Jan 8, 2015 – Jan 9, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 NVMe: Set correct VS Value for 1.1 Compliant Controllers

According to NVMe specifications Bits 15:08 represent Minor Version number.

---
 hw/block/nvme.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
hw/block/nvme.c +1 -1
index aa1ed98..26e69a7 100644
@@ -813,7 +813,7 @@ static int nvme_init(PCIDevice *pci_dev)
     NVME_CAP_SET_CSS(n->bar.cap, 1);
     NVME_CAP_SET_MPSMAX(n->bar.cap, 4);
 
-    n->bar.vs = 0x00010001;
+    n->bar.vs = 0x00010100;
     n->bar.intmc = n->bar.intms = 0;
 
     for (i = 0; i < n->num_namespaces; i++) {

--
1.7.0.4