Skip to content

Commit

Permalink
Merge pull request #485 from ved-rivos/0217
Browse files Browse the repository at this point in the history
G bit is only defined for VS-stage
  • Loading branch information
ved-rivos authored Feb 17, 2025
2 parents aac13c1 + 05906f6 commit 5e7bf12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iommu_ref_model/libiommu/src/iommu_two_stage_trans.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ two_stage_address_translation(
i = 0;
pte->raw = 0;
pte->PPN = 0;
pte->D = pte->A = pte->U = 1;
pte->D = pte->A = pte->G = pte->U = 1;
pte->X = pte->W = pte->R = pte->V = 1;
pte->N = pte->G = 0;
pte->N = 0;
pte->PBMT = PMA;
*pa = iova;
// The translation range size returned in a Success response to
Expand Down

0 comments on commit 5e7bf12

Please sign in to comment.