当前位置:网站首页>[nvme2.0b 10] controller shutdown and NVM subsystem shutdown
[nvme2.0b 10] controller shutdown and NVM subsystem shutdown
2022-06-22 03:19:00 【BGONE】
Controller Shutdown And NVM Subsystem Shutdown
3.6Shutdown Handle
This section describes how to proceed before power failure conditions shutdown Recommended steps for handling .
3.6.1 Based on memory transfer Controller Shutdown
It is recommended that the host be powered off or shutdown Follow the steps in this section to perform the orderly operation of the controller shutdown.
The host shall perform the following operations in sequence to control the controller normal shutdown:
- If the controller has enable( namely CC.EN Set to “1”):
a. Stop submitting any new... To the controller I/O Command and allow any incomplete command to complete ;
b. If the controller implements I/O queue , Then the host should use Delete I/O Submission Queue Command to delete all I/O Submission Queue.Delete I/O Submission Queue The result of successful command completion is that any remaining outstanding commands are aborted ;
c. If the controller implements I/O queue , Then the host should use Delete I/O Completion Queue Command to delete all I/O Completion Queue; - The main engine should Shutdown Notification(CC.SHN) Field set to 01b To indicate the normal controller shutdown operation . The controller controls the system by transferring Shutdown Status(CSTS.SHST) The field is updated to 10b And will Shutdown Type(CSTS.ST) The field is cleared to “0” To instruct shutdown When the process is complete .
The host should perform the following operations in order to achieve abrupt shutdown:
- If the controller has enable( namely CC.EN Set to “1”), Stop submitting any new... To the controller I/O command ;
- The main engine should Shutdown Notification(CC.SHN) Field set to 10b To indicate that abrupt shutdown operation . The controller controls the system by transferring Shutdown Status(CSTS.SHST) The field is updated to 10b And will CSTS.ST Clear as “0” To instruct shutdown When the process is complete .
To get into D3 power state, The controller shall be followed normal shutdown Closing steps for .
It is recommended that the host wait at least Identify Controller data structure It's reported in RTD3 Entry Latency To complete the shutdown operation ; If RTD3 Entry Latency The values reported in are 0h, The host should wait at least one second . It is not recommended to pass CC.EN Field disable controller . This can lead to Controller Reset, This may affect the completion of shutdown Processing time . stay shutdown In the process , The controller may abort any command , Status code for Commands Aborted due to Power Loss Notification.
When CSTS.ST Clear as “0” when , It can safely power off the controller , also CSTS.SHST Show controller shutdown Processing completed ( No matter what CC.EN What's the value of ). stay CC.EN from “0” Turn into “1” Before , It is still safe to power off the controller . To report the controller on the controller shutdown Processing is complete ( namely CSTS.ST clear 0 And CSTS.SHST Set to 10b) After use CC.EN Start executing commands on the controller :
- If CC.EN Set to “1”, Then the controller needs to Controller Reset(CC.EN from “1” Clear as “0”); or
- If CC.EN Be cleared as “0”, You need to enable controller ( namely ,CC.EN from “0” Set to “1”).
The initialization sequence should then be performed on the controller .
In the controller shutdown Whether the host aborts all uncompleted commands to Admin Queue Is an implementation choice . When the controller reports shutdown When processing is complete , The only thing that should be Admin Queue The incomplete command in is Asynchronous Event Request command .
3.6.2 Based on message transmission Controller Shutdown
To start the controller shutdown, The host should use Property Set command ( Please refer to the first 6.6 section ) take Shutdown Notification (CC.SHN) Field set to :
- 01b start-up normal shutdown operation ; or
- 10b start-up abrupt shutdown.
Start the controller on the host shutdown after , The host can be in NVMe Transport Level disconnect , Or the host can choose to poll CSTS.SHST To determine when the controller has finished shutting down ( namely , The controller should not be in NVMe Transport Level start disconnect ). Start up shutdown Whether the host aborts all outstanding commands before is an implementation choice .
CC.EN Field is not used to turn off the controller ( namely , It is used for Controller Reset).
From the controller shutdown Start to :
- happen Controller Level Reset; perhaps
- If the controller is dynamic , From NVM Remove from the subsystem ,
The controller shall :
- Only deal with Fabrics command ( See Figure 375); And
- Ban Keep Alive timer( If the support ).
CC.EN Convert to “0” after ( namely , because Controller Level Reset), The association between host and controller shall be kept at least 2 minute . After this time , If you have not done so yet enable controller , The association may be deleted .
3.6.3NVM Subsystem Shutdown
NVM Subsystem Shutdown It means by a Controller Initiated against a Domain or NVM Subsystem All controllers in shutdown operation .
3.6.3.1 only one Domain Of NVM Subsystem NVM Subsystem Shutdown
NVM Of all controllers in the subsystem normal shutdown( namely normal NVM Subsystem Shutdown) Start by :
- When CAP.CPS Set to 11b when , Host will value 4E726D6Ch (“Nrml”) write in NSSD.NSSC; or
- towards Management Endpoint( see also NVM Express Management Interface Specification) issue NVMe-
MI Shutdown command , Appoint normal shutdown.
For this time normal NVM Subsystem Shutdown Of NVM Each controller in the subsystem , If :
- CSTS.SHST Set to 00b; And
- There are unfinished Asynchronous Event Request command ,
Then the controller shall send out before the controller is shut down Normal NVM Subsystem Shutdown event .
NVM Of all controllers in the subsystem abrupt shutdown( namely abrupt NVM Subsystem Shutdown) Start by :
- When CAP.CPS Set to 11b when , Host will value 41627074h(“Abpt”) write in NSSD.NSSC; or
- towards Management Endpoint( see also NVM Express Management Interface Specification) issue NVMe-MI Shutdown command , Appoint abrupt shutdown.
about normal shutdown or abrupt NVM Subsystem Shutdown, When CSTS.ST Set to “1” also CSTS.SHST instructions shutdown Processing is complete ( namely ,CSTS.SHST Set to 10b) when , stay NVM Shut down on any controller in the subsystem NVM The subsystem is secure . In the event of a NVM Subsystem Reset Before , close NVM The power supply of the subsystem is still safe .
If NVM Processing or completion within the subsystem normal or abrupt NVM Subsystem Shutdown( namely , stay NVM On all controllers in the subsystem ,CSTS.ST Set to “1” also CSTS.SHST Set to 01b or 10b), be :
- NVM Subsystem Reset take NVM Of all controllers in the subsystem CSTS.SHST Clear to 00b; also
- Any other type of Controller Level Reset For the NVM Subsystem Shutdown The treatment of has no effect .
3.6.3.2 Have more than one Domain Of NVM Subsystem Domain Shutdown
On this controller and all controllers in the associated domain normal NVM Subsystem Shutdown Start by : - When CAP.CPS Set to 10b when , Host will value 4E726D6Ch ("Nrml") write in NSSD.NSSC; perhaps - towards Management Endpoint( see also NVM Express Management Interface Specification) issue NVMe-MI Shutdown command , Appoint normal shutdown.
For this normal NVM subsystem shutdown Each controller in the domain of , if :
- CSTS.SHST Clear as 00b; also
- There are unfinished Asynchronous Event Request command ,
Then the controller shall send out before the controller is shut down Normal NVM Subsystem Shutdown event .
For this controller and all controllers in the associated domain abrupt NVM Subsystem Shutdown Start by :
- When CAP.CPS Set to 10b when , Host will value 41627074h(“Abpt”) write in NSSD.NSSC; or
- towards Management Endpoint( see also NVM Express Management Interface Specification) issue NVMe-MI Shutdown command , Appoint abrupt shutdown.
For... On the domain normal or abrupt NVM Subsystem Shutdown, When CSTS.ST Set to “1” also CSTS.SHST instructions shutdown Processing is complete ( namely CSTS.SHST Set to 10b) when , It is safe to power down the domain on any controller in the domain . Occurs on this domain NVM Subsystem Reset Before , Domain power down is still safe .
If you process or complete... In the domain normal or abrupt NVM Subsystem Shutdown( namely , On all controllers in the domain ,CSTS.ST Set to “1” also CSTS.SHST Set to 01b or 10b), be :
- NVM Subsystem Reset All controllers in the domain CSTS.SHST Clear to 00b; also
- Any other type of Controller Level Reset For the shutdown The treatment of has no effect .
边栏推荐
- MySQL field type and corresponding length & bytes
- 【NVMe2.0b 9】控制器初始化过程
- Library management system (PHP final report)
- Use of day19qpushbutton 2021-10-30
- Memory hierarchy introduction
- 360EDR刨析
- Day13QMainWindow2021-09-28
- 【NVMe2.0b 5】NVM Subsystem
- Typora + picgo configure the drawing bed to realize automatic uploading of pictures
- Installing and using mysql8 under Linux (Reprint)
猜你喜欢

Figure base de données ongdb version V - 1.0.2
![[3. binary integer and floating point number]](/img/82/6c3ef250b90d875cddaebc5bd4a4b8.png)
[3. binary integer and floating point number]

xpm_ memory_ A complete example of using the tdpram primitive

On the auto increment of int type primary key in MySQL

opencv安装(x86/tx2 cuda/共享库)

【Percona-Toolkit】系列之pt-table-checksum和pt-table-sync 数据校验修复神器

Library management system (PHP final report)

图数据平台解决方案:集群部署
![[nvme2.0b 5] sous - système nvm](/img/4f/e60e62a04e617b2e7858494917f390.png)
[nvme2.0b 5] sous - système nvm

为什么程序员写的第一个程序是“Hello World!”
随机推荐
不规范的命名
深度学习期末复习
高考后网上查询信息,注意防范没有 SSL证书的网站
Conference chat room - development documents
Figure database ongdb release v-1.0.2
tag动态规划-刷题预备知识-1.动态规划五部曲解题法 + lt.509. 斐波那契数/ 剑指Offer 10.I + lt.70. 爬楼梯彻底解惑 + 面试真题扩展
【NVMe2.0b 5】NVM Subsystem
Using JMeter for web side automated testing
ATM机模拟系统
uv_ Run process
Using open source software to save an enterprise level map data platform solution
Figure data platform solution: single node deployment
Force buckle 160 Intersecting linked list
简单入门到彻底搞懂防抖和节流
Installing and using mysql8 under Linux (Reprint)
【Kubernetes 系列】Kubernetes 是什么?
Database interview summary
【leetcode周赛总结】LeetCode第298场周赛总结(6.19)
Lectures explanation for unsupervised graph level representation learning (usib)
[crawler notes 1] environment construction and necessary tools selenium