Method and apparatus for performing a fault recovery based on an application dependent fault reaction time
Abstract
A fault reaction handling time interval (FRTI) for a reaction to the fault is determined based on a domain identifier (DID) indicative of an application associated with a fault. A first reaction to recover from the fault is signaled and then a determination is made whether a safe state is reached after the FRTI. Based on the safe state not being reached, a second FRTI is determined for a second escalated reaction, the second FRTI also being based on the DID. Typically, the second reaction results in less system availability so by defining the FRTI based on the DID sufficient time is allowed for reaching a safe state before the reaction is escalated.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 0.
Claims (14 — 2 Independent, 12 Dependent)
- Claim 1Independent Claim
A method performed by a fault collection and control system (FCCS) of a system on a chip (SoC), the method comprising: receiving a domain identifier (DID) indicative of an application which caused a fault in a fault source of the SoC, the application executed by an application core of the SoC, the DID received from a DID circuit of the FCCS; determining, by a timer circuit of the FCCS, a fault reaction handling time interval (FRTI) for a reaction to the fault, the FRTI being based on the DID, wherein the DID is provided to a multiplexer which receives from a mapping multiplexer selected by a mapping control circuit a plurality of FRTI corresponding to different DID, the plurality of FRTI associated with the reaction, and which outputs to a timer of the timer circuit the FRTI based on the provided DID; providing, by a reaction system of the FCCS, a reaction signal associated with the fault; determining, by the FCCS, whether a safe state of the fault source is reached based on the reaction signal after the timer indicates the FRTI has passed; and providing an indication to a controller of the FCCS whether the safe state is reached based on the determination; wherein the FRTI is a first FRTI and the reaction is a first reaction; wherein determining whether the safe state is reached comprises determining whether the safe state is reached after the first FRTI; wherein providing the indication comprises based on the safe state not being reached after the first FRTI, causing by the mapping control circuit the multiplexer to receive another plurality of FRTI corresponding to the different DID, the other plurality of FRTI associated with a second reaction; selecting by the multiplexer a second FRTI from a plurality of FRTI associated with the second reaction based on the provided DID and which outputs to the timer the second FRTI of the DID; signaling a second reaction associated with the fault recovery different from the first reaction and determining whether the fault is recovered after a timeout of the second FRTI is indicated by the timer of the timer circuit, wherein the first FRTI and the second FRTI are configured to reduce a time that the fault source reaches the safe state after the fault increasing functionality of the fault source after the fault compared to when the first FRTI and second FRTI do not change for different reactions; and wherein the second reaction is more severe than the first reaction.
- Claim 2Depends on #1
The method of claim 1, wherein determining the first FRTI comprises selecting based on the DID the first FRTI from a lookup table which comprise a plurality of FRTI.
- Claim 3Depends on #1
The method of claim 1, wherein receiving the DID comprises determining that the DID is not provided by the fault source and receiving a preconfigured DID of a DID circuit based on a port to which the DID circuit is coupled, the port coupled to a fault channel of the fault source.
- Claim 4Depends on #1
The method of claim 1, wherein the first reaction is a software reset and the second reaction is a hardware reset of the application core.
- Claim 5Depends on #1
The method of claim 1, wherein determining the first FRTI comprises determining a respective FRTI from a plurality of FRTI in a look up table for each DID of a plurality of DID; and selecting from the determined FRTI and the respective DID, the first FRTI for the DID.
- Claim 6Depends on #1
The method of claim 1, wherein the fault source is one of the application, the application core, a resource, execution environment, or the system on a chip and the safe state is a safe operation the application, application core, resource, execution environment, or system on a chip (SoC).
- Claim 7Independent Claim
A fault collection and control system (FCCS) of an SoC, the FCCS comprising: a reaction system; a controller; a domain identifier (DID) circuit arranged to output a domain identifier (DID) indicative of an application which caused a fault in a fault source of the SoC, the application executed by an application core of an SoC; a timer circuit arranged to determine based on the DID a fault reaction handling time interval (FRTI) for a reaction to the fault, wherein the DID is provided to a multiplexer which receives from a mapping multiplexer selected by a mapping control circuit a plurality of FRTI corresponding to different DID, the plurality of FRTI associated with the reaction, and which outputs to a timer of the timer circuit the FRTI based on the provided DID; the controller arranged to indicate to the reaction system a reaction associated with the fault; and the reaction system arranged to provide a reaction signal associated with the fault recovery; determine whether the fault is recovered based on the reaction signal and after an FRTI timeout is indicated by a timer of the timer circuit; and provide an indication of whether a safe state is reached based on the determination; wherein the FRTI is a first FRTI and the reaction is a first reaction; wherein the reaction system arranged to determine whether the fault is recovered or safe state is reached comprises the reaction system arranged to determine whether the safe state is reached or the fault recovered after the FRTI timeout; and wherein the reaction system arranged to provide an indication of a result of the fault recovery comprises the reaction system arranged to based on the safe state not being reached, signal a second reaction associated with the fault recovery different from the first reaction; wherein the timer circuit is further arranged to cause by the mapping control circuit the multiplexer to receive another plurality of FRTI corresponding to the different DID, the other plurality of FRTI associated with a second reaction; select by the multiplexer based on the provided DID a second FRTI from a plurality of FRTIs associated with the second reaction and output to the timer the second FRTI of the DID; wherein the reaction system arranged to determine whether the fault is recovered or safe state is reached further comprises the reaction system arranged to determine whether the safe state is reached or the fault recovered after a timeout of the second FRTI, wherein the first FRTI and the second FRTI are configured to reduce a time that the fault source reaches the safe state after the fault increasing functionality of the fault source after the fault compared to when the first FRTI and second FRTI do not change for different reactions; and wherein the second reaction is more severe than the first reaction.
- Claim 8Depends on #7
The FCCS of claim 7, wherein the DID circuit is arranged to determine that the DID is not provided by a fault source and the timer circuit is arranged to receive a preconfigured DID of the DID circuit based on a port to which the DID circuit is coupled, the port coupled to a fault channel of the fault source.
- Claim 9Depends on #7
The FCCS of claim 7, wherein the timer circuit arranged to determine the first FRTI comprises the timer circuit arranged to select based on the DID the first FRTI from a lookup table which comprise a plurality of FRTIs.
- Claim 10Depends on #7
The FCCS of claim 7, wherein the first reaction is a software reset and the second reaction is a hardware reset of the application core.
- Claim 11Depends on #7
The FCCS of claim 7, wherein the timer circuit arranged to determine the first FRTI comprises the timer circuit arranged to determine a respective FRTI from a plurality of FRTIs in a look up table for each DID of a plurality of DID; and select from the determined FRTI and respective DID, the first FRTI for the DID.
- Claim 12Depends on #7
The FCCS of claim 7, wherein the fault source is one of the application, the application core, a resource, execution environment, or the system on a chip and the safe state is a safe operation the application, application core, resource, execution environment, or system on a chip (SoC).
- Claim 13Depends on #7
The FCCS of claim 7, wherein the FCCS comprises a plurality of DID circuits and each DID circuit is coupled to a respective port of the FCCS which provides a respective DID for a respective fault source and stores a preconfigured DID for the respective port.
- Claim 14Depends on #7
The FCCS of claim 7, wherein the FRTI for one DID is different for another DID.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application claims the priority under 35 U.S.C. § 119 of India patent application no. 202341061442, filed on 12 Sep. 2023, the contents of which are incorporated by reference herein. FIELD OF USE This disclosure generally relates to fault recovery, and more particularly to performing fault recovery for an application executed by an electronic system based on an application dependent fault reaction time. BACKGROUND An electronic system which executes an application on a processing core typically use resources such as memory, sensors, or timers to facilitate execution of the application. The electronic system has explicit safety requirements. For example, if a fault is detected in the processing core or resource, fault recovery is performed. Typically, a time to perform the fault recovery defined by a Fault Handling Time Interval (FHTI) includes a fault detection time interval (FDTI) which is a time interval for the fault to be detected and fault reaction time (FRTI) which is a time interval for performing the fault recovery. At the end of the FHTI, one or more of the application, the processing core, the resource, or the system should have reached a safe state where operation is restored in accordance with the fault with reasonable safety. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 illustrates an example block diagram of a system arranged with fault recovery in accordance with an embodiment. FIG. 2 is an example timing diagram associated with fault recovery in accordance with an embodiment. FIG. 3 illustrates an example implementation of a domain identifier (DID) circuit and timer of the system in accordance with an embodiment. FIG. 4 illustrates an example hierarchy of lookup tables used by the timer to determine a reaction time interval to react to a fault in accordance with an embodiment. FIG. 5 is a flow chart of functions associated with fault recovery in accordance with an embodiment. The drawings are for the purpose o
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (9)
Non-Patent Literature (5)
- Steffen Becker Jan et al:
- “
- Providing Evidence for Correct and Timely Functioning of Software Safety Mechanisms1
- ”
- , Software Engineering 2023 Workshops, Feb. 1, 2023, pp. 1-12.