From c07f9a138a6302208c0ac062c97c2fc0cc6e5895 Mon Sep 17 00:00:00 2001 From: Ved Shanbhogue Date: Fri, 27 Sep 2024 04:34:35 -0500 Subject: [PATCH] Remove additional pa size check --- iommu_ref_model/libiommu/src/iommu_second_stage_trans.c | 1 - 1 file changed, 1 deletion(-) diff --git a/iommu_ref_model/libiommu/src/iommu_second_stage_trans.c b/iommu_ref_model/libiommu/src/iommu_second_stage_trans.c index cc97849..4d30c41 100644 --- a/iommu_ref_model/libiommu/src/iommu_second_stage_trans.c +++ b/iommu_ref_model/libiommu/src/iommu_second_stage_trans.c @@ -188,7 +188,6 @@ second_stage_address_translation( // No faults are caused here - the denied permissions will be reported back in // the ATS completion // Implicit accesses dont check permission against original access type - if ( (gpte->PPN * PAGESIZE) & ~pa_mask ) return GST_ACCESS_FAULT; if ( check_access_perms == 1 ) { if ( is_exec && (gpte->X == 0) ) return GST_PAGE_FAULT; if ( is_read && (gpte->R == 0) ) return GST_PAGE_FAULT;