# US 2026/0064470 A1 · Systems and methods for dynamically allocating resources to perform atomic operations

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

- Number: US 2026/0064470 A1
- Document ID: US20260064470A1
- Status: Published application
- Kind: A1
- Application number: 18/823,276
- Filed: 2024-09-03
- Published: 2026-03-05
- Earliest claimed: 2024-09-03
- Assignees: QUALCOMM Incorporated
- Applicants: Qualcomm Incorporated
- Inventors: Vishal BHUSHAN; Vasantha Kumar Bandur PUTTAPPA; Ranjith SRINIVAS A B
- Web page: https://patentgrep.com/patent/US20260064470A1

## CPC

- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06F 15/7807: {System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package}
- G06F 9/5011: {the resources being hardware resources other than CPUs, Servers and Terminals}
- G06F 15/7825: {Globally asynchronous, locally synchronous, e.g. network on chip}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods are provided for dynamically allocating preselected resources of a system-on-a-chip (SoC) for performing atomic operations in the preselected resources that would otherwise be performed in the NoC when the quantity of resources that is available in the NoC to perform an atomic operation is below a predetermined quantity and is therefore insufficient to perform the atomic operation and the quantity of the preselected resources of the SoC that is available to perform the atomic operation is above a predetermined quantity and sufficient to perform the atomic operation.

## Claims

### Claim 1

A method for dynamically allocating resources in a system-on-a-chip (SoC) to perform atomic operations, comprising:
in a system memory management unit (SMMU) of the SoC, determining whether or not a predetermined quantity of read and write buffer pairs of a network-on-a-chip (NoC) of the SoC are available to perform an atomic operation received from a client of the SoC;
in the SMMU, determining whether or not a predetermined quantity of underutilized resources of the SoC are available to perform the received atomic operation; and
performing the received atomic operation in the underutilized resources of the SoC in response to determining that the predetermined quantity of read and write buffer pairs of the NoC is not available to perform the received atomic operation and that the predetermined quantity of the underutilized resources is available to perform the received atomic operation.

### Claim 2 (depends on 1)

The method of claim 1, wherein the underutilized resources comprise at least a first command queue (CMDQ) of at least a first translation buffer of the SMMU and at least one of a plurality of walkers of a translation controller of the SMMU, wherein when the atomic operation is received in the SMMU, the received atomic operation is initially received in the first translation buffer.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
after performing the received atomic operation in said at least a first CMDQ and said at least one of a plurality of walkers, sending a result of performing the received atomic operation to the client.

### Claim 4 (depends on 2)

The method of claim 2, wherein determining whether or not a predetermined quantity of read and write buffer pairs of the NoC are available to perform the received atomic operation comprises:
determining whether or not at least one read and write buffer pair of the NoC is available to perform the received atomic operation.

### Claim 5 (depends on 2)

The method of claim 2, wherein said at least a first CMDQ comprises a plurality of CMDQs, and wherein the step of determining whether or not a predetermined quantity of underutilized resources of the SoC is available to perform the received atomic operation comprises:
determining whether a quantity of said plurality of CMDQs that have already been allocated to perform address translation operations is below a CMDQ_Allocation TH level; and
in response to determining that the quantity of said plurality of CMDQs that have already been allocated to perform address translation operations is below the CMDQ_Allocation TH level, determining whether a quantity of said plurality of CMDQs that have already been allocated to perform atomic operations is below a CMDQ_Atomic_Credit TH level.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
in response to determining that the quantity of said plurality of CMDQs that have already been allocated to perform address translation operations is below the CMDQ_Allocation TH level and that the quantity of said plurality of CMDQs that have already been allocated to perform atomic operations is below a CMDQ_Atomic_Credit TH level, performing the received atomic operation using said at least a first CMDQ and said at least one of a plurality of walkers and sending a result of performing the received atomic operation to the client.

### Claim 7 (depends on 6)

The method of claim 6, wherein performing the received atomic operation using said at least a first CMDQ and said at least one of a plurality of walkers comprises:
allocating one of said plurality of CMDQs to be used as a hazard CMDQ;
transferring the received atomic operation from the first translation buffer to the translation controller;
allocating a first walker of said plurality of walkers to be used to perform the received atomic operation;
translating a virtual address (VA) associated with the received atomic operation into a physical address (PA) associated with the received atomic operation;
allocating a storage element in the NoC for storing the PA and storing the PA in the allocated storage element;
starting performance of the received atomic operation using the first walker;
completing the performance of the received atomic operation using the first walker via one or more read and write operations;
deallocating the first walker after all responses from the NoC are received;
deallocating the allocated CMDQ after the first walker has completed the performance of the received atomic operation using the first walker;
dehazarding any CMDQ hazards; and
causing the result of performing the received atomic operation to be sent to the client via the first translation buffer.

### Claim 8 (depends on 3)

The method of claim 3, wherein said at least a first translation buffer and the translation controller are interconnected via a standard distributed translation interface (DTI) that has been modified to enable transfer of atomic operations from the first translation buffer to the translation controller and communication of a response back to the first translation buffer from the translation controller, the first translation buffer comprising a client interface and a path that extends between the first CDMQ and the client interface, and wherein the method further comprises:
storing the result in the first CMDQ, and wherein the first translation buffer has a client interface and a path that extends between the first CDMQ and the first translation buffer; and
transferring the result stored in the first CDMQ from the first CMDQ to the client interface over said path.

### Claim 9 (depends on 8)

The method of claim 8, wherein the translation controller and the NoC are interconnected via a standard atomic coherence interface (ACI) that has been modified to allow a physical address associated with the received atomic operation being performed in the translation controller to be transferred from the translation controller to the NoC, the method further comprising:
sending a physical address associated with the received atomic operation being performed in the translation controller to the NoC via the modified ACI;
storing the physical address in a storage element of the NoC; and
with hazard control logic of the NoC, monitoring physical addresses associated with any other operations being performed by the NoC to determine whether or not the physical address stored in the storage element is the same as a physical address associated with any other operations being performed by the NoC.

### Claim 10 (depends on 1)

The method of claim 1, wherein the underutilized resources comprise any component that is configurable to perform atomic operations while maintaining coherence, and that is reconfigurable from a first configuration that supports normal operations of the component to a second configuration that supports atomic operations in the component.

### Claim 11

A system for dynamically allocating resources in a system-on-a-chip (SoC) to perform atomic operations, the system comprising:
a system memory management unit (SMMU) of the SoC comprising logic configured to determine:
whether or not a predetermined quantity of read and write buffer pairs of a network-on-a-chip (NoC) of the SoC is available to perform an atomic operation received from a client;
whether or not a predetermined quantity of underutilized resources of the SoC external to the NoC is available to perform the received atomic operation; and
in response to determining that the predetermined quantity of read and write buffer pairs of the NoC is not available to perform the received atomic operation and that the predetermined quantity of underutilized resources of the SoC is available to perform the received atomic operation, causing the received atomic operation to be performed using the underutilized resources of the SoC.

### Claim 12 (depends on 11)

The system of claim 11, wherein the atomic operation is received in a first translation buffer of the SMMU, and wherein the underutilized resources of the SoC comprise at least a first command queue (CMDQ) of the first translation buffer of the SMMU and at least one of a plurality of walkers of a translation controller of the SMMU.

### Claim 13 (depends on 12)

The system of claim 12, wherein the logic of the SMMU is further configured to cause a result of performing the received atomic operation using said at least a first CMDQ and said at least one of a plurality of walkers to be sent to a client of the SMMU via a client interface.

### Claim 14 (depends on 13)

The system of claim 13, wherein determining whether or not the predetermined quantity of read and write buffer pairs is available to perform the received atomic operation comprises:
determining whether or not at least one read and write buffer pair of the NoC is available to perform the received atomic operation.

### Claim 15 (depends on 12)

The system of claim 12, wherein said at least a first CMDQ comprises a plurality of CMDQs, and wherein determining whether or not the predetermined quantity of underutilized resources of the SoC is available to perform the received atomic operation comprises:
determining whether or not a quantity of said plurality of CMDQs that have already been allocated to perform address translation operations is below a CMDQ_Allocation TH level; and
in response to determining that the quantity of said plurality of CMDQs that have already been allocated to perform address translation operations is below the CMDQ_Allocation TH level, determining whether or not a quantity of said plurality of CMDQs that have already been allocated to perform atomic operations is below a CMDQ_Atomic_Credit TH level.

### Claim 16 (depends on 15)

The system of claim 15, further comprising:
in response to determining that the quantity of said plurality of CMDQs that have already been allocated to perform address translation operations is below the CMDQ_Allocation TH level and that the quantity of said plurality of CMDQs that have already been allocated to perform atomic operations is below the CMDQ_Atomic_Credit TH level, the logic of the SMMU causes the received atomic operation to be performed using said at least a first CMDQ and said at least one of a plurality of walkers and causes the result of performing the received atomic operation using said at least a first CMDQ and said at least one of a plurality of walkers to be sent the client of the SMMU.

### Claim 17 (depends on 16)

The system of claim 16, wherein performing the received atomic operation using said at least a first CMDQ and said at least one of a plurality of walkers comprises:
allocating one of said plurality of CMDQs to be used as a hazard CMDQ;
transferring the received atomic operation from the first translation buffer to the translation controller;
allocating a first walker of said plurality of walkers to be used to perform the received atomic operation;
translating a virtual address (VA) associated with the received atomic operation into a physical address (PA) associated with the received atomic operation;
allocating a storage element in the NoC for storing the PA and storing the PA in the allocated storage element;
starting performance of the received atomic operation using the first walker;
completing the performance of the received atomic operation using the first walker via one or more read and write operations;
deallocating the first walker after all responses from the NoC are received;
deallocating the allocated CMDQ after the first walker has completed the performance of the received atomic operation using the first walker;
dehazarding any CMDQ hazards; and
causing the result of performing the received atomic operation to be sent to the client via the first translation buffer.

### Claim 18 (depends on 13)

The system of claim 13, wherein said at least a first translation buffer and the translation controller are interconnected via a standard distributed translation interface (DTI) that has been modified to enable transfer of atomic operations from the first translation buffer to the translation controller and communication of a response back to the first translation buffer from the translation controller, the first translation buffer comprising a client interface and a path that extends between the first CDMQ and the client interface, and wherein the logic of the SMMU is further configured to:
cause the result of performing the received atomic operation using said at least a first CMDQ and said at least one of a plurality of walkers to be stored in the first CMDQ; and
transfer the result stored in the first CDMQ from the first CMDQ to the client interface over said path.

### Claim 19 (depends on 18)

The system of claim 18, wherein the system further comprises:
a standard atomic coherence interface (ACI) interconnecting the translation controller and the NoC, and wherein the ACI is configured to allow a physical address associated with the received atomic operation being performed using said at least a first CMDQ and said at least one of a plurality of walkers to be transferred from the translation controller to the NoC;
logic of the translation controller configured to cause a physical address associated with the received atomic operation being performed using said at least a first CMDQ and said at least one of a plurality of walkers to be sent from the translation controller to the NoC via the modified ACI;
logic of the NoC configured to store the physical address in a storage element of the NoC; and
hazard control logic of the NoC configured to monitor physical addresses associated with any other operations being performed by the NoC to determine whether or not the physical address stored in the storage element is the same as a physical address associated with any other operations being performed by the NoC.

### Claim 20

A computer program for dynamically allocating resources in a system-on-a-chip (SoC) to perform atomic operations, the computer program comprising computer instructions for execution by processing logic of the SoC, the computer program being embodied on a non-transitory computer-readable medium, the computer instructions comprising:
a first set of computer instructions for determining whether or not a predetermined quantity of read and write buffer pairs of the NoC is available to perform an atomic operation received in a system memory management unit (SMMU) from a client of the SoC;
a second set of instructions for determining whether or not a predetermined quantity of underutilized resources of the SoC is available to perform the received atomic operation; and
a third set of computer instructions for performing the received atomic operation in the underutilized resources of the SoC in response to determining that the predetermined quantity of read and write buffer pairs of the NoC is not available to perform the received atomic operation and that the predetermined quantity of the underutilized resources is available to perform the received atomic operation.
