Patent ID: 11941298
Assignee: MEDIATEK INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 9:
10. A host system that is coupled to a storage device, comprising:
a host controller;
memory to store a plurality of submission queues (SQs) and a plurality of completion queues (CQs); and
one or more processors,
wherein the host system is operative to:
initiate an abort of a command, wherein the command has been placed into an SQ as an SQ entry; and
identify at least one of a first outcome and a second outcome, wherein, when the first outcome indicates that the host system has not received a command completion response from the storage device and the second outcome indicates that the SQ entry has been fetched from the SQ, the host system is further operative to:
send an abort request to the storage device; and
issue a cleanup request to direct the host controller to reclaim host hardware resources allocated to the command; and
add a CQ entry to a CQ and set an overall command status (OCS) of the CQ entry to indicate command abort regardless of status of the command in the storage device.