# US 11,119,941 B2 · Capability enforcement controller

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

- Number: US 11,119,941 B2
- Document ID: US11119941B2
- Status: Granted
- Kind: B2
- Application number: 15/799,153
- Filed: 2017-10-31
- Published: 2019-05-02
- Granted: 2021-09-14
- Earliest claimed: 2017-10-31
- Assignees: Hewlett Packard Enterprise Development LP
- Applicants: Hewlett Packard Enterprise Development LP
- Inventors: Paolo Faraboschi; Dejan S. Milojicic; Kirk M. Bresniker
- Web page: https://patentgrep.com/patent/US11119941B2

## CPC

- G06F 12/1027: using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB]
- G06F 12/1425: {the protection being physical, e.g. cell, word, block}
- G06F 12/145: {the protection being virtual, e.g. for virtual blocks or segments before a translation mechanism}
- G06F 21/85: interconnection devices, e.g. bus-connected or in-line devices
- G06F 12/1009: using page tables, e.g. page table structures
- G06F 2212/1052: Security improvement
- G06F 2212/65: Details of virtual memory and virtual address translation
- G06F 2212/68: Details of translation look-aside buffer [TLB]
- G06F 2221/2141: Access rights, e.g. capability lists, access control lists, access tables, access matrices
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

According to examples, a system may include a central processing unit (CPU) and a capability enforcement controller in communication with the CPU. The capability enforcement controller may be separate from the CPU and may implement capability processing functions that control capabilities. Capabilities may be defined as unforgeable tokens of authority that protect access by the CPU to a physical address at which the data is stored in a memory.

## Claims

### Claim 1

A system comprising:
a capability-agnostic central processing unit (CPU) lacking awareness of capability-specific functionality within the system; and
a capability enforcement controller in communication with the capability-agnostic CPU and disposed between the capability-agnostic CPU and a memory,
wherein the capability-agnostic CPU and the capability enforcement processor are connected using an interconnect fabric,
wherein the capability enforcement controller implements capability processing functions that control capabilities,
wherein the capabilities are unforgeable tokens of authority that protect access by the capability-agnostic CPU to data stored at a physical address stored in the memory, the capability enforcement controller being separate from the capability-agnostic CPU,
wherein the capability-agnostic CPU is to map a virtual address of the data to the physical address of the memory at which the data is stored and to communicate an instruction to access the mapped physical address of the memory at which the data is stored to the capability enforcement controller,
wherein content of the instruction includes a virtual address space pointer, the mapped physical address, and a capability,
wherein the instruction is transmitted from the capability-agnostic CPU to the capability enforcement controller,
wherein the capability enforcement controller is to, based on receipt of the instruction, directly access the data stored at the mapped physical address of the memory,
wherein the capability enforcement controller stores a capability register file including one or more rights for the capability-agnostic CPU, the one or more rights defining a set of capability-protected locations in the memory accessible by the capability-agnostic CPU, and
wherein each capability-protected location in the memory includes a bit identifying the capability-protected location as protected by the capability.

### Claim 2 (depends on 1)

The system of claim 1, wherein the capability enforcement controller is to receive an instruction to access the data stored in the memory from the capability-agnostic CPU, to access the data stored in the memory based on a determination that the capability-agnostic CPU is permitted to access the data, and to return results of the accessed data to the capability-agnostic CPU.

### Claim 3 (depends on 2)

The system of claim 2, wherein the capability enforcement controller is to determine whether the capability-agnostic CPU is permitted to access the physical address of the memory identified in the instruction.

### Claim 4 (depends on 1)

The system of claim 1, further comprising:
a second capability-agnostic CPU, wherein the capability enforcement controller is separate from the second capability-agnostic CPU and is to protect access by the second capability-agnostic CPU to a physical address at which the data is stored on the memory.

### Claim 5 (depends on 4)

The system of claim 4, wherein the capability enforcement controller is to protect access to data stored in a first range of physical addresses, the system further comprising:
a second capability enforcement controller to protect access to data stored in a second range of physical addresses, wherein the capability-agnostic CPU and the second capability-agnostic CPU are to access data stored in the first range of physical addresses through the capability enforcement controller and to access data stored in the second range of physical addresses through the second capability enforcement controller.

### Claim 6 (depends on 4)

The system of claim 4, wherein the capability-agnostic CPU and the second capability-agnostic CPU each map common virtual addresses to the same physical addresses of the memory.

### Claim 7 (depends on 1)

The system of claim 1, wherein the capability-agnostic CPU and the capability enforcement controller handle exceptions that occur across boundaries between the capability-agnostic CPU and the capability enforcement controller.

### Claim 8 (depends on 1)

The system of claim 1, wherein areas of the memory that are covered by the capability enforcement controller are encapsulated from those areas of the memory that are not covered by the capability enforcement controller.

### Claim 9 (depends on 1)

The system of claim 1, wherein the capability enforcement processor issues a direct programming instruction of the capability enforcement controller through memory mapped registers, and wherein the direct programming instruction is communicated on the interconnect fabric.

### Claim 10

A method comprising:
receiving, by a capability enforcement controller, an instruction from a capability-agnostic central processing unit (CPU) to access data stored at a physical address in a memory, the physical address being covered by a capability,
wherein the capability-agnostic CPU and the capability enforcement processor are connected using an interconnect fabric,
wherein the capability is an unforgeable token of authority that protects access to the physical address at which the data is stored,
wherein content of the instruction includes a virtual address space pointer, the physical address, and the capability, and
wherein the capability enforcement controller is outside of the capability-agnostic CPU and disposed between the CPU and the memory, the capability-agnostic CPU lacking awareness of capability-specific functionality within the system;
applying directly, by the capability enforcement controller, the received instruction on the data stored at the physical address; and
returning, by the capability enforcement controller, a result of the application of the instruction on the data to the capability-agnostic CPU,
wherein the capability enforcement controller stores a capability register file including one or more rights for the capability-agnostic CPU, the one or more rights defining a set of capability-protected locations in the memory accessible by the capability-agnostic CPU, and
wherein each capability-protected location in the memory includes a bit identifying the capability-protected location as protected by the capability.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
determining whether the capability-agnostic CPU is authorized to access the physical address, wherein applying the received instruction on the data further comprises applying the received instruction based on a determination that the capability-agnostic CPU is authorized to access the physical address.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
based on a determination that the capability-agnostic CPU is not authorized to access the physical address, not applying the received instruction on the data stored at the physical address.

### Claim 13 (depends on 10)

The method of claim 10, wherein the received instruction from the capability-agnostic CPU includes an identification of the physical address of the memory.

### Claim 14 (depends on 10)

The method of claim 10, wherein the received instruction from the capability-agnostic CPU includes an identification of a virtual address of the data, the method further comprising:
determining the physical address of the memory at which the data is stored from a mapping of the virtual address and the physical address.

### Claim 15 (depends on 10)

The method of claim 10, further comprising:
receiving, by the capability enforcement controller, a second instruction from a second capability-agnostic CPU to access second data stored at a second physical address, the second physical address being covered by a second capability, the second capability being an unforgeable token of authority that protects access to the second data, and wherein the capability enforcement controller is external to the second capability-agnostic CPU;
determining whether the second capability-agnostic CPU is authorized to access the second physical address;
applying the received second instruction on the second data based on a determination that the second capability-agnostic CPU is authorized to access the second physical address; and
returning a result of the application of the second instruction on the second data to the second capability-agnostic CPU.

### Claim 16 (depends on 15)

The method of claim 15, wherein the received second instruction from the second capability-agnostic CPU includes an identification of the second physical address.

### Claim 17

A capability enforcement controller comprising:
a processor; and
a memory on which are stored machine readable instructions that when executed by the processor cause the processor to:
receive an instruction from a capability-agnostic central processing unit (CPU) that is external to the capability enforcement controller to access data stored at a physical address in a memory, the physical address being covered by a capability,
wherein the capability-agnostic CPU and the capability enforcement processor are connected using an interconnect fabric,
wherein the capability is an unforgeable token of authority that protects access to data stored at the physical address, the capability enforcement controller disposed between the capability-agnostic CPU and the memory, the capability-agnostic CPU lacking awareness of capability-specific functionality within a system,
wherein content of the instruction includes a virtual address space pointer, the mapped physical address, and the capability;
determine whether the capability-agnostic CPU is allowed to access the physical address;
based on a determination that the capability-agnostic CPU is allowed to access the physical address, directly apply the received instruction on the data stored at the physical address; and
return results of the application of the instruction on the data to the capability-agnostic CPU,
wherein the capability enforcement controller stores a capability register file including one or more rights for the capability-agnostic CPU, the one or more rights defining a set of capability-protected locations in the memory accessible by the capability-agnostic CPU, and
wherein each capability-protected location in the memory includes a bit identifying the capability-protected location as protected by the capability.

### Claim 18 (depends on 17)

The capability enforcement controller of claim 17, wherein the instructions are further to cause the processor to:
based on a determination that the capability-agnostic CPU is not allowed to access the physical address, not apply the received instruction on the data stored at the physical address.

### Claim 19 (depends on 17)

The capability enforcement controller of claim 17, wherein the instructions are further to cause the processor to:
receive a second instruction from a second capability-agnostic CPU that is external to the capability enforcement controller to access second data stored at a second physical address, the second physical address being covered by a second capability, and the second capability being an unforgeable token of authority that protects access to the second data;
determine whether the second capability-agnostic CPU is allowed to access the second physical address;
apply the received second instruction on the second data based on a determination that the second capability-agnostic CPU is allowed to access the second physical address; and
return a result of the application of the second instruction on the second data to the second capability-agnostic CPU.

### Claim 20 (depends on 17)

The capability enforcement controller of claim 17, wherein the instructions are further to cause the processor to:
receive an identification of the physical address with the instruction from the capability-agnostic CPU.
