Configurable reporting for device conditions
AssigneeAmazon Technologies, Inc.
InventorsThomas A. Volpe, Raymond S. Whiteside
Life of this patent
Estimating the term…
Abstract
An integrated circuit configured to execute program instructions can generate, based on a configuration, any combination of a notification message, a halt signal, or an interrupt signal for a condition detected in the integrated circuit. The detected condition can be an error condition or a non-error condition. The notification message for the condition may be written to memory accessible by a host processor. The non-error condition may be used by the host processor to monitor internal states of the integrated circuit. The halt signal may be used to stop the integrated circuit from executing the instructions.
Claims20
An offload engine for a host processor in a computing system, the offload engine configured to:
- execute instructions stored in an instruction memory;
- detect an error in the offload engine;
- generate, based on detection of the error and a first configuration in a configuration register:
- a notification message, wherein the offload engine is further configured to write the notification message in a memory accessible by the host processor, and wherein the notification message includes a timestamp indicating a point in time the error occurred, and an error identifier for the error;
- generate, based on detection of the error and a second configuration in the configuration register:
- the notification message;
- and
- an interrupt signal to be sent to the host processor;
- and
- generate, based on detection of the error and a third configuration in the configuration register:
- the notification message;
- the interrupt signal;
- and
- a halt signal to stop the offload engine from executing the instructions.
An integrated circuit, comprising:
- a processing circuit configured to execute instructions;
- a condition detection circuit configured to detect an error condition in the integrated circuit;
- a notification generator configured to generate, upon detection of the error condition, a notification message to report the error condition to a processor coupled to the integrated circuit, wherein the notification message includes a timestamp indicating a point in time the error condition occurred, and a condition identifier for the error condition;
- a write interface configured to write the notification message in memory accessible by the processor;
- and
- a halt generator configured to generate a halt signal upon detection of the error condition,
- wherein the processing circuit is further configured to stop executing the instructions upon receiving the halt signal.
A method implemented using an integrated circuit configured to execute instructions, the method comprising:
- detecting an error condition in the integrated circuit;
- determining, based on a configuration, that a halt signal is to be generated upon detection of the error condition;
- determining, based on the configuration, that a notification message is to be generated to report the error condition to a processor coupled to the integrated circuit and generating the notification message for the error condition, the notification message comprising a timestamp indicating a point in time the error condition occurred, and a condition identifier for the error condition;
- writing the notification message to a memory accessible by the processor;
- and
- generating the halt signal to stop the integrated circuit from executing the instructions.
Dependencies are inferred from the claim text.