Skip to content

Commit

Permalink
editorial update
Browse files Browse the repository at this point in the history
  • Loading branch information
ved-rivos committed Sep 3, 2024
1 parent db6c53a commit 0e2fd60
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions src/iommu_data_structures.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,6 @@ image::ddt-base.svg[width=800,height=400, align="center"]
//ddtp--->+--+ +->+--+ +->+--+ ddtp--->+--+ +->+--+ ddtp--->+--+
//....
<<<
==== Non-leaf DDT entry
A valid (`V==1`) non-leaf DDT entry provides the PPN of the next level DDT.
Expand Down Expand Up @@ -448,10 +446,10 @@ encodings are as follows:
[[IOHGATP_MODE_ENC]]
.Encodings of `iohgatp.MODE` field
[%autowidth,float="center",align="center"]
[%header, cols="3,3,20"]
[%header, cols="^3,^3,20"]
|===
3+^| `fctl.GXL=0`
|Value | Name | Description
^|Value ^| Name ^| Description
| 0 | `Bare` | No translation or protection.
| 1-7 | -- | Reserved for standard use.
| 8 | `Sv39x4` | Page-based 41-bit virtual addressing (2-bit extension
Expand Down Expand Up @@ -553,10 +551,10 @@ address.
[[IOSATP_MODE_ENC]]
.Encodings of `iosatp.MODE` field
[%autowidth,float="center",align="center"]
[%header, cols="3,3,20"]
[%header, cols="^3,^3,20"]
|===
3+^| `DC.tc.SXL=0`
|Value | Name | Description
^|Value ^| Name ^| Description
| 0 | `Bare` | No translation or protection.
| 1-7 | -- | Reserved for standard use.
| 8 | `Sv39` | Page-based 39-bit virtual addressing.
Expand Down Expand Up @@ -603,7 +601,7 @@ first-stage page table with a `process_id`.
[%autowidth,float="center",align="center"]
[%header, cols="^3,^3,20"]
|===
|Value | Name | Description
^|Value ^| Name ^| Description
| 0 | `Bare` | No first-stage address translation or protection.
| 1 | `PD8` | 8-bit process ID enabled. The directory has 1 levels with
256 entries.The bits 19:8 of `process_id` must be 0.
Expand Down Expand Up @@ -639,7 +637,7 @@ The `msiptp.MODE` field is used to select the MSI address translation scheme.
[%autowidth,float="center",align="center"]
[%header, cols="^3,^3,20"]
|===
|Value | Name | Description
^|Value ^| Name ^| Description
| 0 | `Off` | Recognition of accesses to
a virtual interrupt file using MSI address mask and
pattern is not performed.
Expand Down Expand Up @@ -1463,7 +1461,7 @@ group of entries.
[%autowidth,float="center",align="center"]
[%header, cols="8,10,10"]
|===
|Data Structure cached |IDs used to tag entries | Invalidation command
^|Data Structure cached ^|IDs used to tag entries ^| Invalidation command
|Device Directory Table |`device_id` | <<IDDT, IODIR.INVAL_DDT>>
|Process Directory Table|`device_id`, `process_id` | <<IPDT, IODIR.INVAL_PDT>>
|First-stage page table
Expand Down

0 comments on commit 0e2fd60

Please sign in to comment.