# US 2016/0259750 A1 · Adaptive access control for hardware blocks

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

- Number: US 2016/0259750 A1
- Document ID: US20160259750A1
- Status: Published application
- Kind: A1
- Application number: 14/638,669
- Filed: 2015-03-04
- Published: 2016-09-08
- Earliest claimed: 2015-03-04
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Ron KEIDAR; Osman KOYUNCU; Michael BATENBURG
- Web page: https://patentgrep.com/patent/US20160259750A1

## CPC

- G06F 13/4068: {Electrical coupling}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/5077: {Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455)}
- G06F 21/82: Protecting input, output or interconnection devices
- G06F 13/40: Bus structure {(for computer networks G06F15/163; for optical bus networks H04B10/25)}
- 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

System and method for providing adaptive access to a hardware block on a computer system. In one embodiment, a method includes receiving a first access request and a second access request with an access controller, wherein the second access request is received sequentially after the first access request, and the first access request includes a first master identification and the second access request includes a second master identification, determining if the second master identification is equal to the first master identification, providing access to the second access request if the second master identification is equal to the first master identification, wherein the first master identification is associated with one or more hardware block interface values, invalidating the one or more hardware block interface values associated with the first master identification if the second master identification is not equal to the first master identification, and associating the one or more hardware block interface values with the second master identification and a corresponding privilege.

## Claims

### Claim 1

A method of providing adaptive access to a hardware block on a computer system, comprising:
receiving a first access request and a second access request with an access controller, wherein the second access request is received sequentially after the first access request, and the first access request includes a first master identification and the second access request includes a second master identification;
determining if the second master identification is equal to the first master identification;
providing access to the second access request if the second master identification is equal to the first master identification, wherein the first master identification is associated with one or more hardware block interface values;
invalidating the one or more hardware block interface values associated with the first master identification if the second master identification is not equal to the first master identification; and
associating the one or more hardware block interface values with the second master identification and a corresponding privilege.

### Claim 2 (depends on 1)

The method of claim 1 wherein the first access request and the second access request are received from a public bus in the computer system.

### Claim 3 (depends on 1)

The method of claim 1 wherein either or both the first master identification or the second master identification are associated with a hypervisor controlled interface.

### Claim 4 (depends on 1)

The method of claim 1 wherein the first access request and the second access request are received from one or more execution environments in a group consisting of a trust zone execution environment, a secure processor execution environment, a modem, and hypervisor execution environment.

### Claim 5 (depends on 1)

The method of claim 1 wherein the first master identification is a first virtual machine identification value and the second master identification is a second virtual machine identification value.

### Claim 6

A method of providing access to slave side memory resources based on an identity of a master side entity, comprising:
determining a current access owner;
receiving a memory access command from the master side entity;
processing the memory access command based on a domain mask associated with the master side entity if the master side entity is the current access owner;
if the master side entity is not the current access owner, then
invalidating all existing keys;
determining the domain mask associated with the master side entity;
processing the memory access command based on the domain mask associated with the master side entity; and
setting the current access owner equal to the master side entity.

### Claim 7 (depends on 6)

The method of claim 6 wherein the master side entity is a hypervisor.

### Claim 8 (depends on 7)

The method of claim 7 wherein the memory access command includes a hypervisor machine identity (HVID) value.

### Claim 9 (depends on 6)

The method of claim 6 wherein the memory access command is received from a resource group of a Memory Protection Unit (MPU).

### Claim 10 (depends on 6)

The method of claim 6 wherein the memory access command includes a machine identity (MID) value.

### Claim 11 (depends on 10)

The method of claim 10 wherein determining the domain mask associated with the master side entity includes providing the MID value to one or more multiplexer modules and receiving a domain identification from the one or more multiplexer modules.

### Claim 12

A system for providing adaptive access to a hardware block on a computer system, comprising:
a memory unit for storing instructions; and
a processor unit coupled to the memory unit and configured to:
receive a first access request and a second access request with an access controller, wherein the second access request is received sequentially after the first access request, and the first access request includes a first master identification and the second access request includes a second master identification;
determine if the second master identification is equal to the first master identification;
provide access to the second access request if the second master identification is equal to the first master identification, wherein the first master identification is associated with one or more hardware block interface values;
invalidate the one or more hardware block interface values associated with the first master identification if the second master identification is not equal to the first master identification; and
associate the one or more hardware block interface values with the second master identification and a corresponding privilege.

### Claim 13 (depends on 12)

The system of claim 12 wherein the first access request and the second access request are received from a public bus in the computer system.

### Claim 14 (depends on 12)

The system of claim 12 wherein either or both the first master identification or the second master identification are associated with a hypervisor controlled interface.

### Claim 15 (depends on 12)

The system of claim 12 wherein the first access request and the second access request are received from one or more execution environments in a group consisting of a trust zone execution environment, a secure processor execution environment, a modem, and hypervisor execution environment.

### Claim 16 (depends on 12)

The system of claim 12 wherein the first master identification is a first virtual machine identification value and the second master identification is a second virtual machine identification value.

### Claim 17

A system for providing access to slave side memory resources based on an identity of a master side entity, comprising:
a memory unit for storing instructions; and
a processor unit coupled to the memory unit and configured to:
determine a current access owner;
receive a memory access command from the master side entity;
process the memory access command based on a domain mask associated with the master side entity if the master side entity is the current access owner;
if the master side entity is not the current access owner, then
invalidate all existing keys;
determine the domain mask associated with the master side entity;
process the memory access command based on the domain mask associated with the master side entity; and
set the current access owner equal to the master side entity.

### Claim 18 (depends on 17)

The system of claim 17 wherein the master side entity is a hypervisor.

### Claim 19 (depends on 18)

The system of claim 18 wherein the memory access command includes a hypervisor machine identity (HVID) value.

### Claim 20 (depends on 17)

The system of claim 17 wherein the memory access command is received from a resource group of a Memory Protection Unit (MPU).

### Claim 21 (depends on 17)

The system of claim 17 wherein the memory access command includes a machine identity (MID) value.

### Claim 22 (depends on 21)

The system of claim 21 wherein the processor unit is configure to provide the MID value to one or more multiplexer modules and receive a domain identification from the one or more multiplexer modules.

### Claim 23

An apparatus for providing adaptive access to a hardware block on a computer system, comprising:
means for receiving a first access request and a second access request with an access controller, wherein the second access request is received sequentially after the first access request, and the first access request includes a first master identification and the second access request includes a second master identification;
means for determining if the second master identification is equal to the first master identification;
means for providing access to the second access request if the second master identification is equal to the first master identification, wherein the first master identification is associated with one or more hardware block interface values;
means for invalidating the one or more hardware block interface values associated with the first master identification if the second master identification is not equal to the first master identification; and
means for associating the one or more hardware block interface values with the second master identification and a corresponding privilege.

### Claim 24 (depends on 23)

The apparatus of claim 23 wherein the first access request and the second access request are received from a public bus in the computer system.

### Claim 25 (depends on 23)

The apparatus of claim 23 wherein either or both the first master identification or the second master identification are associated with a hypervisor controlled interface.

### Claim 26 (depends on 23)

The apparatus of claim 23 wherein the first access request and the second access request are received from one or more execution environments in a group consisting of a trust zone execution environment, a secure processor execution environment, a modem, and hypervisor execution environment.

### Claim 27 (depends on 23)

The apparatus of claim 23 wherein the first master identification is a first virtual machine identification value and the second master identification is a second virtual machine identification value.

### Claim 28

An apparatus for providing access to slave side memory resources based on an identity of a master side entity, comprising:
means for determining a current access owner;
means for receiving a memory access command from the master side entity;
means for processing the memory access command based on a domain mask associated with the master side entity if the master side entity is the current access owner;
if the master side entity is not the current access owner, then
means for invalidating all existing keys;
means for determining the domain mask associated with the master side entity;
means for processing the memory access command based on the domain mask associated with the master side entity; and
means for setting the current access owner equal to the master side entity.

### Claim 29 (depends on 28)

The apparatus of claim 28 wherein the master side entity is a hypervisor.

### Claim 30 (depends on 29)

The apparatus of claim 29 wherein the memory access command includes a hypervisor machine identity (HVID) value.

### Claim 31 (depends on 28)

The apparatus of claim 28 wherein the memory access command is received from a resource group of a Memory Protection Unit (MPU).

### Claim 32 (depends on 28)

The apparatus of claim 28 wherein the memory access command includes a machine identity (MID) value.

### Claim 33 (depends on 32)

The apparatus of claim 32 wherein determining the domain mask associated with the master side entity includes means for providing the MID value to one or more multiplexer modules and means for receiving a domain identification from the one or more multiplexer modules.

### Claim 34

A non-transitory processor-readable storage medium comprising instructions for providing adaptive access to a hardware block on a computer system, the instructions comprising:
code for receiving a first access request and a second access request with an access controller, wherein the second access request is received sequentially after the first access request, and the first access request includes a first master identification and the second access request includes a second master identification;
code for determining if the second master identification is equal to the first master identification;
code for providing access to the second access request if the second master identification is equal to the first master identification, wherein the first master identification is associated with one or more hardware block interface values;
code for invalidating the one or more hardware block interface values associated with the first master identification if the second master identification is not equal to the first master identification; and
code for associating the one or more hardware block interface values with the second master identification and a corresponding privilege.

### Claim 35 (depends on 34)

The non-transitory processor-readable storage medium of claim 34 wherein the first access request and the second access request are received from a public bus in the computer system.

### Claim 36 (depends on 34)

The non-transitory processor-readable storage medium of claim 34 wherein either or both the first master identification or the second master identification are associated with a hypervisor controlled interface.

### Claim 37 (depends on 34)

The non-transitory processor-readable storage medium of claim 34 wherein the first access request and the second access request are received from one or more execution environments in a group consisting of a trust zone execution environment, a secure processor execution environment, a modem, and hypervisor execution environment.

### Claim 38 (depends on 34)

The non-transitory processor-readable storage medium of claim 34 wherein the first master identification is a first virtual machine identification value and the second master identification is a second virtual machine identification value.

### Claim 39

A non-transitory processor-readable storage medium comprising instructions for providing access to slave side memory resources based on an identity of a master side entity, comprising:
code for determining a current access owner;
code for receiving a memory access command from the master side entity;
code for processing the memory access command based on a domain mask associated with the master side entity if the master side entity is the current access owner;
if the master side entity is not the current access owner, then
code for invalidating all existing keys;
code for determining the domain mask associated with the master side entity;
code for processing the memory access command based on the domain mask associated with the master side entity; and
code for setting the current access owner equal to the master side entity.

### Claim 40 (depends on 39)

The non-transitory processor-readable storage medium of claim 39 wherein the master side entity is a hypervisor.

### Claim 41 (depends on 40)

The non-transitory processor-readable storage medium of claim 40 wherein the memory access command includes a hypervisor machine identity (HVID) value.

### Claim 42 (depends on 39)

The non-transitory processor-readable storage medium of claim 39 wherein the memory access command is received from a resource group of a Memory Protection Unit (MPU).

### Claim 43 (depends on 39)

The non-transitory processor-readable storage medium of claim 39 wherein the memory access command includes a machine identity (MID) value.

### Claim 44 (depends on 43)

The non-transitory processor-readable storage medium of claim 43 wherein the code for determining the domain mask associated with the master side entity includes code for providing the MID value to one or more multiplexer modules and code for receiving a domain identification from the one or more multiplexer modules.
