# US 2018/0322083 A1 · System-on-chip, mobile terminal, and method for operating the system-on-chip

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2018/0322083 A1
- Document ID: US20180322083A1
- Status: Published application
- Kind: A1
- Application number: 16/034,470
- Filed: 2018-07-13
- Published: 2018-11-08
- Earliest claimed: 2016-01-13
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Jae-Youl KIM; Chih Jen LIM; Jinook SONG; Sungjae LEE; Hyun-ki KOO; Donghyeon HAM
- Web page: https://patentgrep.com/patent/US20180322083A1

## CPC

- G06F 13/4036: {and deadlock prevention}
- G06F 13/1605: {based on arbitration (arbitration in handling access to a common bus or bus system G06F13/36)}
- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06F 2213/16: Memory access
- G06F 2213/36: Arbitration
- G06T 2200/28: involving image processing hardware
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A system-on-chip (SoC) to perform a deadlock control on a processor of the SoC, the SoC including the processor including a plurality of central processing unit (CPU) cores, a first bus connected to the processor, a graphic processing unit (GPU) connected to the first bus, a memory controller connected to the first bus, a second bus connected to the processor, an isolation cell including a logic circuit configured to retain a signal value input to the processor according to an isolation signal, and a deadlock controller connected to the first bus and the second bus. The deadlock controller is configured to isolate the processor, which is in a deadlock state, from the first bus by applying the isolation signal on the isolation cell, and to extract, via the second bus, state information of the isolated processor in the deadlock state.

## Claims

### Claim 1

A system-on-chip (SoC) comprising:
a multi-core processor;
a first bus connected to the multi-core processor;
a second bus connected to the multi-core processor; and
a controller configured to extract, via the second bus, state information from the multi-core processor, which is in an isolated state from the first bus, the state information being associated with a deadlock state in the SoC.

### Claim 2 (depends on 1)

The SoC of claim 1, further comprising:
a graphic processor unit (GPU) connected to the first bus; and
a memory controller connected to the first bus,
wherein the controller is configured to reset, after isolation of the multi-core processor, the GPU and the memory controller.

### Claim 3 (depends on 2)

The SoC of claim 2, further comprising:
a memory coupled to the first bus,
wherein the controller is configured to store, after the reset, the extracted state information in the memory.

### Claim 4 (depends on 1)

The SoC of claim 1, wherein the controller is configured to reset, after extraction of the state information, the isolated, multi-core processor.

### Claim 5 (depends on 1)

The SoC of claim 1, wherein the first bus is configured to be reset without affecting the state information.

### Claim 6 (depends on 1)

The SoC of claim 1, wherein:
the deadlock state is associated with at least one core of the multi-core processor; and
the controller is configured to extract the state information from the at least one core.

### Claim 7 (depends on 1)

The SoC of claim 1, wherein the controller is configured to isolate, in response to detection of the deadlock state, the multi-core processor from the first bus.

### Claim 8 (depends on 7)

The SoC of claim 7, wherein the controller is configured to isolate the multi-core processor based on status of a debug control bit.

### Claim 9 (depends on 7)

The SoC of claim 7, wherein the controller is configured to isolate the multi-core processor based on expiration of a time counter.

### Claim 10 (depends on 1)

The SoC of claim 1, further comprising:
a logic circuit coupled between the multi-core processor and the first bus,
wherein the controller is configured to control the logic circuit to isolate the multi-core processor from the first bus.

### Claim 11 (depends on 1)

The SoC of claim 1, wherein the extracted state information comprises a stack pointer value stored in a register of the multi-core processor.

### Claim 12 (depends on 1)

The SoC of claim 1, wherein the second bus is independent of the first bus.

### Claim 13

An apparatus comprising:
a system-on-chip (SoC) comprising:
a processor;
a first bus connected to the processor;
a second bus connected to the processor;
a graphical processing unit (GPU) connected to the first bus; and
a controller connected to the processor via the second bus; and
a display configured to present images rendered via the GPU,
wherein the controller is configured to:
detect, in association with execution of an application via the SoC, a deadlock state affecting communication via the first bus; and
extract, in response to detection of the deadlock state, state information of the processor via the second bus, the state information being indicative of the deadlock state.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein:
the processor is a multi-core processor;
the deadlock state is associated with at least one core of the multi-core processor; and
the controller is configured to access the at least one core to extract the state information

### Claim 15 (depends on 13)

The apparatus of claim 13, wherein the processor is configured to periodically transmit an initialization signal to a time counter in absence of the deadlock state.

### Claim 16 (depends on 13)

The apparatus of claim 13, wherein the controller is configured to isolate, in response to detection of the deadlock state, the processor from the first bus.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the controller is configured to reset the first bus after isolation of the processor.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein the controller is configured to store the extracted state information in a memory after the reset.

### Claim 19 (depends on 15)

The apparatus of claim 15, wherein the controller is configured to detect the deadlock state based on whether a debug control bit is enabled.

### Claim 20

A method comprising:
detecting a deadlock state in a system-on-chip (SoC) affecting operation of a first bus of the SoC, the SoC comprising a processor connected to the first bus and a second bus;
extracting, after detecting the deadlock state, state information from the processor via the second bus, the state information being associated with the deadlock state; and
resetting the processor after extracting the state information.
