PASID granularity resource control for IOMMU
Abstract
An embodiment of an integrated circuit may comprise memory to store respective resource control descriptors in correspondence with respective identifiers, and an input/output (IO) memory management unit (IOMMU) communicatively coupled to the memory, the IOMMU including circuitry to determine resource control information for an IO transaction based on a resource control descriptor stored in the memory that corresponds to an identifier associated with the IO transaction, and control utilization of one or more resources of the IOMMU based on the determined resource control information. Other embodiments are disclosed and claimed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 1.
Claims (8)
- Claim 1Independent Claim
An integrated circuit, comprising: memory to store: one or more virtualization tables comprising resource control descriptors which each correspond to one of a respective process address space identifier (PASID) or a respective domain identifier, the resource control descriptors each to identify a respective one or more quality of service (QOS) requirements; and a table comprising a first plurality of entries each indexed by a respective PASID; and an input/output (IO) memory management unit (IOMMU) communicatively coupled to the memory, the IOMMU including circuitry to: receive an indication of an IO transaction which is to access one or more shared resources; determine, based on the indication, an identifier of a requester of the IO transaction; perform a search of the table based on the identifier of the requester, to identify a first entry of the first plurality of entries; perform an evaluation to determine whether the first entry includes a field that is to provide a pointer to a
- Claim 2Depends on #1
The integrated circuit of claim 1, wherein the first one or more QoS requirements comprises multiple one or more QoS requirements.
- Claim 3Depends on #1
The integrated circuit of claim 1, wherein the identifier of the requester comprises a bus number, a device number, and a function number, and a PASID number.
- Claim 4Depends on #1
The integrated circuit of claim 1, wherein the circuitry is to: determine if a PASID-granularity control is disabled; and, if so determined, determine the second one or more QoS requirements based on the domain identifier.
- Claim 5Depends on #1
The integrated circuit of claim 1, wherein the first one or more QoS requirements comprise a threshold for a number of entries for the identifier in an IO translation lookaside buffer (IOTLB), and wherein, in response to an IOTLB miss for the IO transaction, the circuitry is further to: determine if a count of entries in the IOTLB associated with the identifier exceeds the threshold for the number of entries for the identifier in the IOTLB; and, if so determined, identify a least recently used entry in the IOTLB associated with the identifier and invalidate the identified entry.
- Claim 6Depends on #1
The integrated circuit of claim 1, wherein the first one or more QoS requirements comprise a threshold for a number of inflight page requests for the identifier, and wherein, in response to a page request for the IO transaction, the circuitry is further to: determine if a count of inflight page requests associated with the identifier exceeds the threshold for the number of inflight page requests for the identifier; and, if so determined, reject the page request associated with the identifier.
- Claim 7Independent Claim
A method, comprising: storing one or more virtualization tables comprising resource control descriptors which each correspond to one of a respective process address space identifier (PASID) or a respective domain identifier, the resource control descriptors each to identify a respective one or more quality of service (QOS) requirements; storing a table comprising a first plurality of entries each indexed by a respective PASID; receiving an indication of an input/output (IO) transaction which is to access one or more shared resources; determining, based on the indication, an identifier of a requester of the IO transaction; performing a search of an IO memory management unit (IOMMU) table, based on identifier of the requester, to identify a first entry of the first plurality of entries; performing an evaluation to determine whether the first entry includes a field that is to provide a pointer to a resource control descriptor; where the evaluation determines that the first entry includes
- Claim 8Depends on #7
The method of claim 7, wherein the first one or more QoS requirements comprises multiple one or more QoS requirements.
Technical Overview & Description
CLAIM OF PRIORITY This application is a continuation of, and claims priority to, PCT Application No. PCT/CN2021/082908, filed on Mar. 25, 2021 and titled “ PASID GRANULARITY RESOURCE CONTROL FOR IOMMU, ” which is incorporated herein by reference in its entirety. BACKGROUND 1. Technical Field This disclosure generally relates to processor technology, and input/output memory management unit technology. 2. Background Art An input/output (IO) memory management unit (IOMMU) connects direct memory access (DMA) capable IO buses to system memory (e.g., main memory). A central processor unit (CPU) memory management (MMU) translates CPU-visible virtual addresses to physical addresses. An IOMMU brokers any DMA request on behalf of an IO device, translating IO virtual addresses much the same way as the processor MMU complex performs translation of a virtual address to physical address. Some IOMMUs may also provide memory protection from faulty or malicious devices. INTEL VIRTUALIZATION TECHNOLOGY (INTEL VT) provides hardware support for efficient virtual machines. INTEL VIRTUALIZATION TECHNOLOGY FOR DIRECTED I/O (VT-d) provides support for IO-device virtualization. BRIEF DESCRIPTION OF THE DRAWINGS The various embodiments of the present invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which: FIG. 1 is a block diagram of an example of an integrated circuit according to an embodiment; FIGS. 2 A to 2 D are flow diagrams of an example of a method according to an embodiment; FIG. 3 is a block diagram of an example of an apparatus according to an embodiment; FIG. 4 is a block diagram of an example of a virtualization environment according to an embodiment; FIG. 5 is a block diagram of another example of a virtualization environment according to an embodiment; FIG. 6 is a block diagram of another example of a virtualization environment according to an embodiment; FIG. 7 is a flow diagram of another example of
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 12,639,220 B2 | Memory subsystem supported quality of service levels for virtualized storage | 2026 | 0 |
References Cited — Backward Prior Art (9)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (3)
- International Search Report and Written Opinion from PCT/CN2021/082908 notified Mar. 4, 2022, 9 pgs.
- International Preliminary Report on Patentability from PCT/CN2021/082908 notified Oct. 5, 2023, 6 pgs.
- Extended European Search Report from European Patent Application No. 21932176.7 notified Nov. 7, 2024, 9 pgs.