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

Claim 0:
1. A method performed by a host system coupled to a storage device, comprising:
initiating an abort of a command, wherein the command has been placed into a submission queue (SQ) of the host system as an SQ entry; and
identifying 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 method further comprises:
sending an abort request from the host system to the storage device;
issuing a cleanup request to direct a host controller to reclaim host hardware resources allocated to the command; and
adding a completion queue (CQ) entry to a CQ and setting an overall command status (OCS) value of the CQ entry to indicate command abort regardless of status of the command in the storage device.