Exception handling using security subsystem in storage device

US12197287B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12197287-B2
Application numberUS-202217947075-A
CountryUS
Kind codeB2
Filing dateSep 16, 2022
Priority dateSep 16, 2022
Publication dateJan 14, 2025
Grant dateJan 14, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A data storage device includes a host interface for coupling the data storage device to a host system. The data storage device also includes a device memory for storing or providing data in response to commands receive from the host system. The data storage device also includes a controller comprising a storage subsystem and a security subsystem. The storage subsystem is configured to receive a host command from the host interface, and process the host command for the device memory. The security subsystem includes a device recovery circuit configured to monitor the storage subsystem for an exception state, and reinitialize pending operations for the storage subsystem after the exception state. Methods and systems are also disclosed.

First claim

Opening claim text (preview).

What is claimed is: 1. A data storage device, comprising: a host interface for coupling the data storage device to a host system; a device memory for storing or providing data in response to commands received from the host system; and a controller comprising: a storage subsystem configured to: receive a host command from the host interface; and process the host command for the device memory; and a security subsystem comprising: a device recovery circuit configured to: monitor the storage subsystem for an exception state; and reinitialize pending operations for the storage subsystem after the exception state, wherein the data storage device is configured to include a plurality of power domains that includes a first power domain to supply power to the storage subsystem that is different from a second power domain to supply power to the security subsystem, wherein the data storage device is configured to continue to power the security subsystem, using the second power domain, after the storage subsystem enters the exception state or during recovery of the storage subsystem from the exception state, and wherein the device recovery circuit is further configured to copy, during the exception state, a plurality of pending operations for the storage subsystem in a same order as the commands received from the host system, and to store, after the exception state, the plurality of pending operations for the storage subsystem in the same order in a front-end memory. 2. The data storage device of claim 1 , wherein the device recovery circuit is further configured to: cause throttling the host system if the storage subsystem takes longer than a predetermined threshold time to recover from the exception state. 3. The data storage device of claim 2 , wherein the security subsystem is further configured to control the host interface when the storage subsystem recovers from the exception state. 4. The data storage device of claim 1 , wherein the exception state is caused by at least one of: a processor failure, a hardware error, a firmware deadlock, or a firmware assert. 5. The data storage device of claim 1 , wherein the device recovery circuit is further configured to monitor the storage subsystem for the exception state at periodic time intervals. 6. The data storage device of claim 1 , wherein the device recovery circuit is further configured to cause transmitting a crash dump to the host system and receive updates. 7. The data storage device of claim 1 , wherein the device recovery circuit is further configured to store pending operations for the storage subsystem at periodic time intervals. 8. The data storage device of claim 1 , wherein the security subsystem further comprises a host queue, and the device recovery circuit is further configured to store pending operations for the storage subsystem in the host queue. 9. The data storage device of claim 1 , wherein the controller includes the front-end memory configured to store the commands received from the host system. 10. The data storage device of claim 1 , wherein the controller is further configured to provide a state of the storage subsystem to the device recovery circuit during initialization of the storage subsystem, and wherein the device recovery circuit is further configured to use the state of the storage subsystem to reinitialize pending operations for the storage subsystem. 11. The data storage device of claim 1 , wherein the device recovery circuit is further configured to cause throttling the host system based on the exception state. 12. The data storage device of claim 8 , wherein the security subsystem further comprises a static memory and the host queue is disposed in the static memory. 13. The data storage device of claim 1 , wherein the device recovery circuit is further configured to: determine a category of the exception state; in accordance with a determination that the category of the exception state is a firmware assert or a deadlock due to software errors, cause a warm reboot of the storage subsystem; and in accordance with a determination that the category of the exception state is a processor halt or a crash due to hardware errors, cause a cold boot that includes a complete reboot of the storage subsystem. 14. The data storage device of claim 1 , wherein the device recovery circuit is further configured to generate a crash report based on the exception state. 15. A method performed in a data storage device, the method comprising: storing or providing data, at a device memory, in response to commands received from a host system; and at a storage subsystem: receiving a host command from a host interface that couples the data storage device to the host system; and processing the host command for the device memory; and at a device recovery circuit of a security subsystem: monitoring the storage subsystem for an exception state; and reinitialize pending operations for the storage subsystem after the exception state, wherein the data storage device includes a plurality of power domains that includes a first power domain to supply power to the storage subsystem that is different from a second power domain to supply power to the security subsystem, wherein the data storage device continues to power the security subsystem, using the second power domain, after the storage subsystem enters the exception state or during recovery of the storage subsystem from the exception state, and wherein the device recovery circuit copies, during the exception state, a plurality of pending operations for the storage subsystem in a same order as the commands received from the host system, and stores, after the exception state, the plurality of pending operations for the storage subsystem in the same order in a front-end memory. 16. The method of claim 15 , further comprising: at the device recovery circuit of the security subsystem: generating a crash report that includes an origin of the exception state, a type of the exception state, information related to a failing command for the exception state, or a command serviced during the exception state, or a timestamp for the exception state. 17. The method of claim 15 , further comprising: at the device recovery circuit of the security subsystem: copying, from the storage subsystem, information related to garbage collection, write or read exception handling, or firmware control block updates to the device memory, based on the exception state. 18. A system, comprising: means for coupling a host system to a data storage device; means for storing or providing data in response to commands received from the host system; means for receiving a host command from a host interface in a storage subsystem; means for processing the host command in the storage subsystem; means for monitoring the storage subsystem for an exception state; means for reinitialize pending operations for the storage subsystem after the exception state; means for a plurality of power domains that includes a first power domain to supply power to the storage subsystem that is different from a second power domain to supply power to a security subsystem; means for continuing to power the security subsystem, using the second power domain, after the storage subsystem enters the exception state or during recovery of the storage subsystem from the exception state; means for copying, during the exception state, a plurality of pending operations for the storage subsystem in a same order as the commands received from the host system; and means for storing,

Assignees

Inventors

Classifications

  • Test or assess a computer or a system · CPC title

  • Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP] · CPC title

  • Command handling arrangements, e.g. command buffers, queues, command scheduling · CPC title

  • in relation to data integrity, e.g. data losses, bit errors · CPC title

  • Storage of error reports, e.g. persistent data storage, storage using memory protection · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12197287B2 cover?
A data storage device includes a host interface for coupling the data storage device to a host system. The data storage device also includes a device memory for storing or providing data in response to commands receive from the host system. The data storage device also includes a controller comprising a storage subsystem and a security subsystem. The storage subsystem is configured to receive a…
Who is the assignee on this patent?
Western Digital Tech Inc, Sandisk Technologies Inc
What technology area does this patent fall under?
Primary CPC classification G06F21/572. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jan 14 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 6 related publications on this page (citations in our corpus or others sharing the same primary CPC).