# US 2025/0085999 A1 · Inter-core communication method and apparatus, computer equipment and computer-readable storage medium

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

- Number: US 2025/0085999 A1
- Document ID: US20250085999A1
- Status: Published application
- Kind: A1
- Application number: 18/778,012
- Filed: 2024-07-19
- Published: 2025-03-13
- Earliest claimed: 2023-09-08
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Gang LI; Lei WANG; Chungwoo PARK; Minhyung KIM; Mindong ZHAO
- Web page: https://patentgrep.com/patent/US20250085999A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 2009/45579: {I/O management, e.g. providing access to device drivers or storage}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure provides an inter-core communication method and apparatus, a computer equipment, and a computer-readable storage medium. The inter-core communication method comprising: transmitting, with respect to at least one interrupt pass-through core configured for an interrupt pass-through mode among a plurality of cores, a physical interrupt directly to a client without going through a Hypervisor in response to the physical interrupt occurring, the Hypervisor being a virtual machine manager, and performing communication between the plurality of cores using a Fast Interrupt Request (FIQ).

## Claims

### Claim 1

An inter-core communication method comprising:
transmitting, with respect to at least one interrupt pass-through core configured for an interrupt pass-through mode among a plurality of cores a physical interrupt directly to a client without going through a Hypervisor in response to the physical interrupt occurring, the Hypervisor being a virtual machine manager; and
performing communication between the plurality of cores using a Fast Interrupt Request (FIQ).

### Claim 2 (depends on 1)

The method of inter-core communication according to claim 1, wherein the client is running at an exception level 1, and the Hypervisor and the plurality of cores are running at an exception level 2.

### Claim 3 (depends on 1)

The method of inter-core communication according to claim 1, wherein the performing the communication between the plurality of cores using the FIQ comprises:
transferring a Software Generated Interrupt (SGI) between the plurality of cores through the FIQ.

### Claim 4 (depends on 3)

The method of inter-core communication according to claim 3, wherein the transferring the SGI between the plurality of cores through the FIQ comprises:
setting an interrupt number SGI ID indicating the SGI into a global variable by a source core which is a communication transmitting side among the plurality of cores;
triggering, by writing to a SGI register by the source core, a Generic Interrupt Controller (GIC) to generate the FIQ to be transmitted to a target core which is a communication receiving side among the plurality of cores; and
transmitting the FIQ to the target core by the GIC, to instruct the target core to acquire the SGI ID from the global variable.

### Claim 5 (depends on 3)

The method of inter-core communication according to claim 3, wherein the transferring the SGI between the plurality of cores through the FIQ comprises:
receiving the FIQ by a target core, the target core being a communication receiving side among the plurality of cores, wherein the target core is one of the at least one interrupt pass-through core;
acquiring an SGI ID indicating the SGI from a global variable by the target core in response to the FIQ being received by the target core, wherein the SGI ID is set into the global variable by a source core which is a communication transmitting side; and
performing a corresponding processing by the target core based on the SGI indicated by the SGI ID.

### Claim 6 (depends on 1)

The method of inter-core communication according to claim 1, further comprising:
in response to a software timer of the Hypervisor being driven on one interrupt pass-through core of the at least one interrupt pass-through core, driving, by one interrupt pass-through core, a remote timer of one non-interrupt pass-through core, the one non-interrupt pass-through core being among the plurality of cores and not configured for the interrupt pass-through mode; and
executing a service corresponding to a timeout of the software timer by the one interrupt pass-through core, in response to the one interrupt pass-through core receiving an SGI indicating the timeout of the remote timer via the FIQ.

### Claim 7 (depends on 6)

The method of inter-core communication according to claim 6, wherein the driving the remote timer of the one non-interrupt pass-through core comprises:
requesting, by the one interrupt pass-through core, to the one non-interrupt pass-through core for the remote timer capable of using a generic timer in a hardware architecture; and
driving, by the one interrupt pass-through core, the remote timer using the generic timer.

### Claim 8 (depends on 7)

The method of inter-core communication according to claim 7, wherein
the driving the remote timer of the one non-interrupt pass-through comprises
requesting a local timer, on the one interrupt pass-through core, and
starting the local timer at the same time as starting the remote timer, and
wherein the executing the service corresponding to the timeout of the software timer by the one interrupt pass-through core, in response to the one interrupt pass-through core receiving the SGI indicating the timeout of the remote timer via the FIQ, comprises
determining a timeout of the local timer, in response to receiving the SGI indicating the timeout of the remote timer via the FIQ, and
executing the service corresponding to the timeout of the local timer.

### Claim 9 (depends on 1)

The method of inter-core communication according to claim 1, wherein the at least one interrupt pass-through core in the interrupt pass-through mode is implemented, by configuring a register of the at least one interrupt pass-through core by the Hypervisor.

### Claim 10

An inter-core communication apparatus comprising:
an interrupt transfer unit configured to, with respect to at least one interrupt pass-through core among a plurality of cores and configured for an interrupt pass-through mode, transmit a physical interrupt directly to a client without going through a Hypervisor in response to the physical interrupt occurring, the Hypervisor being a virtual machine manager; and
an inter-core communication unit configured to perform communication between the plurality of cores using a Fast Interrupt Request (FIQ).

### Claim 11 (depends on 10)

The inter-core communication apparatus according to claim 10, wherein the client is running at an exception level 1, and the Hypervisor and the plurality of cores are running at an exception level 2.

### Claim 12 (depends on 10)

The inter-core communication apparatus according to claim 10, wherein the inter-core communication unit is configured to perform the communication between the plurality of cores using the Fast Interrupt Request (FIQ) by:
transferring a Software Generated Interrupt (SGI) between the plurality of cores through the FIQ.

### Claim 13 (depends on 12)

The inter-core communication apparatus according to claim 12, wherein the inter-core communication unit is configured to transfer the SGI between the plurality of cores through the FIQ by:
controlling a source core which is a communication transmitting side among the plurality of cores, to set an interrupt number SGI ID indicating the SGI into a global variable;
triggering, by writing to a SGI register by the source core, a Generic Interrupt Controller (GIC) to generate the FIQ to be transmitted to a target core which is a communication receiving side among the plurality of cores; and
controlling the GIC to transmit the FIQ to the target core, to instruct the target core to acquire the SGI ID from the global variable.

### Claim 14 (depends on 12)

The inter-core communication apparatus according to claim 12, wherein the inter-core communication unit is configured to transfer the SGI between the plurality of cores through the FIQ by:
controlling a target core, the target core being a communication receiving side among the plurality of cores to receive the FIQ, wherein the target core is one of the at least one interrupt pass-through core;
controlling the target core to acquire an SGI ID indicating the SGI from a global variable in response to the FIQ being received by the target core, wherein the SGI ID is set into the global variable by a source core which is a communication transmitting side; and
controlling the target core to perform a corresponding processing based on the SGI indicated by the SGI ID.

### Claim 15 (depends on 10)

The inter-core communication apparatus according to claim 10, further comprising a timer service unit configured to:
in response to a software timer of the Hypervisor being driven on one interrupt pass-through core of the at least one interrupt pass-through core, control the one interrupt pass-through core to drive a remote timer of one non-interrupt pass-through core among the plurality of cores and not configured for the interrupt pass-through mode;
control the one interrupt pass-through core to execute a service corresponding to a timeout of the software timer, in response to the one interrupt pass-through core receiving an SGI indicating the timeout of the remote timer via the FIQ.

### Claim 16 (depends on 15)

The inter-core communication apparatus according to claim 15, wherein the timer service unit is configured to control the one interrupt pass-through core to drive the remote timer of the one non-interrupt pass-through core by:
controlling the one interrupt pass-through core to request the remote timer capable of using a generic timer in a hardware architecture from the one non-interrupt pass-through core;
controlling the one interrupt pass-through core to drive the remote timer using the generic timer.

### Claim 17 (depends on 16)

The inter-core communication apparatus according to claim 16, wherein the timer service unit is configured to control the at least one interrupt pass-through by
requesting a local timer, on the one interrupt pass-through core, and
starting the local timer at the same time as starting the remote timer, and
wherein, the controlling the one interrupt pass-through core to execute the service corresponding to the timeout of the software timer, in response to the one interrupt pass-through core receiving the SGI indicating the timeout of the remote timer via the FIQ comprises
determining a timeout of the local timer, in response to receiving the SGI indicating the timeout of the remote timer via the FIQ, and
executing the service corresponding to the timeout of the local timer.

### Claim 18 (depends on 10)

The inter-core communication apparatus according to claim 10, wherein the at least one interrupt pass-through core in the interrupt pass-through mode is implemented, by configuring a register of the at least one interrupt pass-through core by the Hypervisor.

### Claim 19

(canceled)

### Claim 20 (depends on 1)

A computer-readable storage medium, wherein, instructions in the computer-readable storage medium, when being executed by at least one processor, cause the at least one processor to perform the inter-core communication method according to claim 1.
