aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew.r.wilcox@intel.com>2014-06-28 09:00:27 -0400
committerJens Axboe <axboe@fb.com>2014-11-04 15:17:07 -0500
commita7dd7957acf798ac406afd6631e64a27ac4a5bf1 (patch)
tree92bd6c6d4a5b15c95a11fa9806ba551bb1276373 /include/uapi/linux
parent6fccf9383b280d463a7dfe1e0d048aff8df8a25e (diff)
NVMe: Update list of status codes
Taken from the draft NVMe 1.1b specification. Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/nvme.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/uapi/linux/nvme.h b/include/uapi/linux/nvme.h
index 29a7d8619d8d..134518b0100b 100644
--- a/include/uapi/linux/nvme.h
+++ b/include/uapi/linux/nvme.h
@@ -440,9 +440,15 @@ enum {
440 NVME_SC_FUSED_MISSING = 0xa, 440 NVME_SC_FUSED_MISSING = 0xa,
441 NVME_SC_INVALID_NS = 0xb, 441 NVME_SC_INVALID_NS = 0xb,
442 NVME_SC_CMD_SEQ_ERROR = 0xc, 442 NVME_SC_CMD_SEQ_ERROR = 0xc,
443 NVME_SC_SGL_INVALID_LAST = 0xd,
444 NVME_SC_SGL_INVALID_COUNT = 0xe,
445 NVME_SC_SGL_INVALID_DATA = 0xf,
446 NVME_SC_SGL_INVALID_METADATA = 0x10,
447 NVME_SC_SGL_INVALID_TYPE = 0x11,
443 NVME_SC_LBA_RANGE = 0x80, 448 NVME_SC_LBA_RANGE = 0x80,
444 NVME_SC_CAP_EXCEEDED = 0x81, 449 NVME_SC_CAP_EXCEEDED = 0x81,
445 NVME_SC_NS_NOT_READY = 0x82, 450 NVME_SC_NS_NOT_READY = 0x82,
451 NVME_SC_RESERVATION_CONFLICT = 0x83,
446 NVME_SC_CQ_INVALID = 0x100, 452 NVME_SC_CQ_INVALID = 0x100,
447 NVME_SC_QID_INVALID = 0x101, 453 NVME_SC_QID_INVALID = 0x101,
448 NVME_SC_QUEUE_SIZE = 0x102, 454 NVME_SC_QUEUE_SIZE = 0x102,
@@ -454,7 +460,15 @@ enum {
454 NVME_SC_INVALID_VECTOR = 0x108, 460 NVME_SC_INVALID_VECTOR = 0x108,
455 NVME_SC_INVALID_LOG_PAGE = 0x109, 461 NVME_SC_INVALID_LOG_PAGE = 0x109,
456 NVME_SC_INVALID_FORMAT = 0x10a, 462 NVME_SC_INVALID_FORMAT = 0x10a,
463 NVME_SC_FIRMWARE_NEEDS_RESET = 0x10b,
464 NVME_SC_INVALID_QUEUE = 0x10c,
465 NVME_SC_FEATURE_NOT_SAVEABLE = 0x10d,
466 NVME_SC_FEATURE_NOT_CHANGEABLE = 0x10e,
467 NVME_SC_FEATURE_NOT_PER_NS = 0x10f,
468 NVME_SC_FW_NEEDS_RESET_SUBSYS = 0x110,
457 NVME_SC_BAD_ATTRIBUTES = 0x180, 469 NVME_SC_BAD_ATTRIBUTES = 0x180,
470 NVME_SC_INVALID_PI = 0x181,
471 NVME_SC_READ_ONLY = 0x182,
458 NVME_SC_WRITE_FAULT = 0x280, 472 NVME_SC_WRITE_FAULT = 0x280,
459 NVME_SC_READ_ERROR = 0x281, 473 NVME_SC_READ_ERROR = 0x281,
460 NVME_SC_GUARD_CHECK = 0x282, 474 NVME_SC_GUARD_CHECK = 0x282,