没有合适的资源?快使用搜索试试~ 我知道了~
首页NVMe 1.3b 协议标准
资源详情
资源评论
资源推荐

NVM Express 1.3b
1
NVM Express
NVM Express
Revision 1.3b
May 4, 2018
Please send comments to info@nvmexpress.org
Incorporates ECNs 001 – 004a.

NVM Express 1.3b
2
NVM Express revision 1.3b specification available for download at http://nvmexpress.org. NVM Express
revision 1.3 ratified on April 26, 2017. NVM Express revision 1.3b incorporates ECNs 001 – 004a.
SPECIFICATION DISCLAIMER
LEGAL NOTICE:
© Copyright 2007 - 2018 NVM Express, Inc. ALL RIGHTS RESERVED.
This NVM Express revision 1.3a specification is proprietary to the NVM Express, Inc. (also referred to as
“Company”) and/or its successors and assigns.
NOTICE TO USERS WHO ARE NVM EXPRESS, INC. MEMBERS: Members of NVM Express, Inc. have
the right to use and implement this NVM Express revision 1.3a specification subject, however, to the
Member’s continued compliance with the Company’s Intellectual Property Policy and Bylaws and the
Member’s Participation Agreement.
NOTICE TO NON-MEMBERS OF NVM EXPRESS, INC.: If you are not a Member of NVM Express, Inc.
and you have obtained a copy of this document, you only have a right to review this document or make
reference to or cite this document. Any such references or citations to this document must acknowledge
NVM Express, Inc. copyright ownership of this document. The proper copyright citation or reference is as
follows: “© 2007 - 2018 NVM Express, Inc. ALL RIGHTS RESERVED.” When making any such
citations or references to this document you are not permitted to revise, alter, modify, make any
derivatives of, or otherwise amend the referenced portion of this document in any way without the prior
express written permission of NVM Express, Inc. Nothing contained in this document shall be deemed as
granting you any kind of license to implement or use this document or the specification described therein,
or any of its contents, either expressly or impliedly, or to any intellectual property owned or controlled by
NVM Express, Inc., including, without limitation, any trademarks of NVM Express, Inc.
LEGAL DISCLAIMER:
THIS DOCUMENT AND THE INFORMATION CONTAINED HEREIN IS PROVIDED ON AN “AS IS”
BASIS. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, NVM EXPRESS, INC.
(ALONG WITH THE CONTRIBUTORS TO THIS DOCUMENT) HEREBY DISCLAIM ALL
REPRESENTATIONS, WARRANTIES AND/OR COVENANTS, EITHER EXPRESS OR IMPLIED,
STATUTORY OR AT COMMON LAW, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, VALIDITY,
AND/OR NONINFRINGEMENT.
All product names, trademarks, registered trademarks, and/or servicemarks may be claimed as the
property of their respective owners.
NVM Express Workgroup
c/o VTM, Inc.
3855 SW 153
rd
Drive
Beaverton, OR 97003
info@nvmexpress.org

NVM Express 1.3b
3
Table of Contents
1 INTRODUCTION ............................................................................................................. 6
1.1 Overview ..................................................................................................................................... 6
1.2 Scope .......................................................................................................................................... 6
1.3 Outside of Scope......................................................................................................................... 6
1.4 Theory of Operation .................................................................................................................... 6
1.5 Conventions .............................................................................................................................. 12
1.6 Definitions ................................................................................................................................. 12
1.7 Keywords .................................................................................................................................. 16
1.8 Byte, word and Dword Relationships ........................................................................................ 17
1.9 References ................................................................................................................................ 17
1.10 References Under Development ............................................................................................... 18
2 SYSTEM BUS (PCI EXPRESS) REGISTERS ....................................................................... 19
2.1 PCI Header ............................................................................................................................... 19
2.2 PCI Power Management Capabilities ....................................................................................... 23
2.3 Message Signaled Interrupt Capability (Optional) .................................................................... 24
2.4 MSI-X Capability (Optional) ...................................................................................................... 26
2.5 PCI Express Capability ............................................................................................................. 27
2.6 Advanced Error Reporting Capability (Optional) ....................................................................... 33
2.7 Other Capability Pointers .......................................................................................................... 37
3 CONTROLLER REGISTERS ............................................................................................. 38
3.1 Register Definition ..................................................................................................................... 39
3.2 Index/Data Pair registers (Optional).......................................................................................... 50
4 DATA STRUCTURES ..................................................................................................... 52
4.1 Submission Queue & Completion Queue Definition ................................................................. 52
4.2 Submission Queue Entry – Command Format ......................................................................... 54
4.3 Physical Region Page Entry and List ........................................................................................ 58
4.4 Scatter Gather List (SGL) ......................................................................................................... 59
4.5 Metadata Region (MR) .............................................................................................................. 65
4.6 Completion Queue Entry ........................................................................................................... 66
4.7 Controller Memory Buffer .......................................................................................................... 72
4.8 Namespace List ........................................................................................................................ 73
4.9 Controller List ............................................................................................................................ 73
4.10 Fused Operations...................................................................................................................... 74
4.11 Command Arbitration ................................................................................................................ 74
5 ADMIN COMMAND SET ................................................................................................. 78
5.1 Abort command ......................................................................................................................... 80
5.2 Asynchronous Event Request command .................................................................................. 81
5.3 Create I/O Completion Queue command ................................................................................. 84
5.4 Create I/O Submission Queue command ................................................................................. 86
5.5 Delete I/O Completion Queue command .................................................................................. 88
5.6 Delete I/O Submission Queue command ................................................................................. 88
5.7 Doorbell Buffer Config command .............................................................................................. 89
5.8 Device Self-test command ........................................................................................................ 90
5.9 Directive Receive command ..................................................................................................... 93
5.10 Directive Send command .......................................................................................................... 94
5.11 Firmware Commit command ..................................................................................................... 94
5.12 Firmware Image Download command ...................................................................................... 96
5.13 Get Features command ............................................................................................................ 97

NVM Express 1.3b
4
5.14 Get Log Page command ........................................................................................................... 99
5.15 Identify command .................................................................................................................... 117
5.16 Keep Alive command .............................................................................................................. 145
5.17 NVMe-MI Receive command .................................................................................................. 145
5.18 NVMe-MI Send command ....................................................................................................... 145
5.19 Namespace Attachment command ......................................................................................... 145
5.20 Namespace Management command ...................................................................................... 146
5.21 Set Features command ........................................................................................................... 148
5.22 Virtualization Management command .................................................................................... 168
5.23 Format NVM command – NVM Command Set Specific ......................................................... 170
5.24 Sanitize command – NVM Command Set Specific................................................................. 173
5.25 Security Receive command – NVM Command Set Specific .................................................. 175
5.26 Security Send command – NVM Command Set Specific ....................................................... 176
6 NVM COMMAND SET ................................................................................................. 177
6.1 Namespaces ........................................................................................................................... 179
6.2 Fused Operations.................................................................................................................... 181
6.3 Command Ordering Requirements ......................................................................................... 181
6.4 Atomic Operations .................................................................................................................. 183
6.5 End-to-end Protection Information .......................................................................................... 187
6.6 Compare command ................................................................................................................ 187
6.7 Dataset Management command ............................................................................................. 189
6.8 Flush command....................................................................................................................... 192
6.9 Read command ....................................................................................................................... 192
6.10 Reservation Acquire command ............................................................................................... 195
6.11 Reservation Register command .............................................................................................. 197
6.12 Reservation Release command .............................................................................................. 198
6.13 Reservation Report command ................................................................................................ 199
6.14 Write command ....................................................................................................................... 201
6.15 Write Uncorrectable command ............................................................................................... 204
6.16 Write Zeroes command ........................................................................................................... 205
7 CONTROLLER ARCHITECTURE ..................................................................................... 207
7.1 Introduction ............................................................................................................................. 207
7.2 Command Submission and Completion Mechanism (Informative) ......................................... 207
7.3 Resets ..................................................................................................................................... 214
7.4 Queue Management ............................................................................................................... 215
7.5 Interrupts ................................................................................................................................. 216
7.6 Controller Initialization and Shutdown Processing .................................................................. 219
7.7 Asynchronous Event Request Host Software Recommendations (Informative) .................... 221
7.8 Feature Values ........................................................................................................................ 221
7.9 NVMe Qualified Names .......................................................................................................... 222
7.10 Identifier Format and Layout (Informative) .............................................................................. 223
7.11 Unique Identifier ...................................................................................................................... 225
7.12 Keep Alive ............................................................................................................................... 227
7.13 Updating Controller Doorbell Registers using a Shadow Doorbell Buffer .............................. 227
7.14 Privileged Actions.................................................................................................................... 228
8 FEATURES ................................................................................................................ 229
8.1 Firmware Update Process ...................................................................................................... 229
8.2 Metadata Handling .................................................................................................................. 230
8.3 End-to-end Data Protection (Optional) ................................................................................... 231
8.4 Power Management ................................................................................................................ 237
8.5 Virtualization Enhancements (Optional) ................................................................................. 242
8.6 Doorbell Stride for Software Emulation ................................................................................... 247

NVM Express 1.3b
5
8.7 Standard Vendor Specific Command Format ......................................................................... 247
8.8 Reservations (Optional) .......................................................................................................... 247
8.9 Host Memory Buffer (Optional) ............................................................................................... 254
8.10 Replay Protected Memory Block (Optional) ............................................................................ 254
8.11 Device Self-test Operations (Optional) ................................................................................... 266
8.12 Namespace Management (Optional) ...................................................................................... 268
8.13 Boot Partitions (Optional) ........................................................................................................ 269
8.14 Telemetry (Optional) ............................................................................................................... 272
8.15 Sanitize Operations (Optional) ................................................................................................ 275
9 DIRECTIVES.............................................................................................................. 280
9.1 Directive Use in I/O Commands .............................................................................................. 280
9.2 Identify (Directive Type 00h) ................................................................................................... 281
9.3 Streams (Directive Type 01h, Optional) .................................................................................. 283
10 ERROR REPORTING AND RECOVERY .......................................................................... 289
10.1 Command and Queue Error Handling .................................................................................... 289
10.2 Media and Data Error Handling .............................................................................................. 289
10.3 Memory Error Handling ........................................................................................................... 289
10.4 Internal Controller Error Handling ........................................................................................... 289
10.5 Controller Fatal Status Condition ............................................................................................ 290
剩余289页未读,继续阅读
















安全验证
文档复制为VIP权益,开通VIP直接复制

评论0