Methods and apparatuses for proactive ecc failure handling
AssigneeSilicon Motion, Inc.
InventorSheng-Liu LIN
Life of this patent
Estimating the term…
Abstract
The invention introduces a method for proactive error-correcting code (ECC) failure handling, at least including the following steps: obtaining a completion element (CE) from a completion queue (CQ); determining whether an execution reply table of the CE comprises an unsecure value; if so, reallocating a physical address for a user data transaction corresponding to the unsecure value; and outputting a write command into a submission queue (SQ) for programming the user data transaction into the reallocated physical address.
Claims20
A method for proactive error-correcting code (ECC) failure handling, comprising:
- obtaining a completion element (CE) from a completion queue (CQ);
- determining whether an execution reply table of the CE comprises an unsecure value;
- if so, reallocating a physical address for a user data transaction corresponding to the unsecure value;
- and
- outputting a write command into a submission queue (SQ) for programming the user data transaction into the reallocated physical address.
A method for proactive error-correcting code (ECC) failure handling, comprising:
- receiving a parameter setting command;
- setting an error-bit threshold according to the parameter setting command;
- receiving a read command;
- reading a user data transaction from a source address according to the read command;
- when an amount of error bits occurred in the user data transaction is equal to or greater than the error-bit threshold, setting a bit of an execution reply table associated with the user data transaction to an unsecure value;
- and
- writing a completion element (CE) comprising the execution reply table into a completion queue (CQ).
An apparatus for proactive error-correcting code (ECC) failure handling, comprising:
- an access interface, coupled to a storage unit;
- and
- a processing unit, coupled to a host and the access interface, receiving a parameter setting command from the host;
- setting an error-bit threshold according to the parameter setting command;
- receiving a read command from the host;
- reading a user data transaction from a source address of the storage unit through the access interface according to the read command;
- when an amount of error bits occurred in the user data transaction is equal to or greater than the error-bit threshold, setting a bit of an execution reply table associated with the user data transaction to an unsecure value;
- and writing a completion element (CE) comprising the execution reply table into a completion queue (CQ).
Dependencies are inferred from the claim text.