Skip to content

Commit

Permalink
Merge pull request #39 from ved-rivos/cbqri1
Browse files Browse the repository at this point in the history
Add CBQRI support for supervisor domains
  • Loading branch information
rsahita authored Mar 21, 2024
2 parents f7a3d94 + 7501f49 commit 44e9138
Show file tree
Hide file tree
Showing 4 changed files with 425 additions and 2 deletions.
15 changes: 13 additions & 2 deletions chapter6.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,10 @@ operations requested through `control.OP`.
{bits: 24, name: 'SRC_ID'},
{bits: 8, name: 'IOMMU_ID (WARL)'},
{bits: 8, name: 'SDID (WARL)'},
{bits: 16, name: 'WPRI'}
{bits: 4, name: 'SRL'},
{bits: 4, name: 'SML'},
{bits: 4, name: 'SQRID'},
{bits: 4, name: 'WPRI'}
], config:{lanes: 8, hspace:1024}}
....

Expand Down Expand Up @@ -436,6 +439,13 @@ rule.
The `SDID` field identifies the supervisor domain whose memory is accessed by
this transaction.

The `SRL` and `SML` fields along with `operand-1.SSM` field are used to determine
the effective `RCID` and `MCID` provided by the IOMMU for device originated
requests. The determination of the effective `RCID` and `MCID` is as specified
by <<SMQOSID>>. The `SQRID` identifies the QRI for requests originating from the
devices associated with the SD and accompanies the `RCID` and `MCID` in the
requests made by the device to the QRI.

[[OP-1]]
=== Operand 1 register (`operand-1`)

Expand All @@ -450,7 +460,8 @@ operations requested through `control.OP`.
{bits: 4, name: 'MTT_MODE (WARL)'},
{bits: 1, name: 'PPNV (WARL)'},
{bits: 1, name: 'S (WARL)'},
{bits: 4, name: 'WPRI'},
{bits: 1, name: 'SSM'},
{bits: 3, name: 'WPRI'},
{bits: 44, name: 'PPN'},
{bits: 10, name: 'WPRI'}
], config:{lanes: 8, hspace:1024}}
Expand Down
Loading

0 comments on commit 44e9138

Please sign in to comment.