qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nvme: fix NSSRS offset in CAP register
@ 2019-10-23  7:33 Klaus Jensen
  2019-10-23 15:26 ` John Snow
  2019-10-29 14:12 ` Max Reitz
  0 siblings, 2 replies; 4+ messages in thread
From: Klaus Jensen @ 2019-10-23  7:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: Fam Zheng, Kevin Wolf, Javier Gonzalez, qemu-block, Max Reitz

Fix the offset of the NSSRS field the CAP register.

Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reported-by: Javier Gonzalez <javier.gonz@samsung.com>
---
 include/block/nvme.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/block/nvme.h b/include/block/nvme.h
index 3ec8efcc435e..fa15b51c33bb 100644
--- a/include/block/nvme.h
+++ b/include/block/nvme.h
@@ -23,7 +23,7 @@ enum NvmeCapShift {
     CAP_AMS_SHIFT      = 17,
     CAP_TO_SHIFT       = 24,
     CAP_DSTRD_SHIFT    = 32,
-    CAP_NSSRS_SHIFT    = 33,
+    CAP_NSSRS_SHIFT    = 36,
     CAP_CSS_SHIFT      = 37,
     CAP_MPSMIN_SHIFT   = 48,
     CAP_MPSMAX_SHIFT   = 52,
-- 
2.23.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-10-29 14:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-23  7:33 [PATCH] nvme: fix NSSRS offset in CAP register Klaus Jensen
2019-10-23 15:26 ` John Snow
2019-10-23 19:55   ` Klaus Birkelund
2019-10-29 14:12 ` Max Reitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).