Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 87884961 authored by Charan Teja Reddy's avatar Charan Teja Reddy
Browse files

iommu: interchange the vmid order passed to hyp_assign



Interchange the VMID order passed to the function hyp_assign_phys as
secure CP clients expects it.

Change-Id: Ie2c1b8825b5272e82a14401dbc45b77ebb277048
Signed-off-by: default avatarCharan Teja Reddy <charante@codeaurora.org>
parent ded703d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2451,7 +2451,7 @@ static void arm_smmu_unassign_table(struct arm_smmu_domain *smmu_domain)
	int ret;
	int dest_vmids = VMID_HLOS;
	int dest_perms = PERM_READ | PERM_WRITE | PERM_EXEC;
	int source_vmlist[2] = {VMID_HLOS, smmu_domain->secure_vmid};
	int source_vmlist[2] = {smmu_domain->secure_vmid, VMID_HLOS};
	struct arm_smmu_pte_info *pte_info, *temp;

	if (!arm_smmu_is_master_side_secure(smmu_domain))