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: Charan Teja Reddy <charante@codeaurora.org>
This commit is contained in:
parent
ded703d63e
commit
87884961d7
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue