All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anubhav Rakshit <anubhav.rakshit@gmail.com>
To: qemu-devel@nongnu.org
Cc: Keith Busch <keith.busch@intel.com>
Subject: [Qemu-devel] [PATCH] NVMe: Set correct VS Value for 1.1 Compliant Controllers
Date: Thu, 08 Jan 2015 15:10:35 +0530	[thread overview]
Message-ID: <2168219.BKpqvL305g@normandy> (raw)


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

Signed-off-by: Anubhav Rakshit <anubhav.rakshit@gmail.com>
---
 hw/block/nvme.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/block/nvme.c b/hw/block/nvme.c
index aa1ed98..26e69a7 100644
--- a/hw/block/nvme.c
+++ b/hw/block/nvme.c
@@ -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

             reply	other threads:[~2015-01-08  9:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-08  9:40 Anubhav Rakshit [this message]
2015-01-09 10:13 ` [Qemu-devel] [PATCH] NVMe: Set correct VS Value for 1.1 Compliant Controllers Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2168219.BKpqvL305g@normandy \
    --to=anubhav.rakshit@gmail.com \
    --cc=keith.busch@intel.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.