iommu/arm-smmu: silently succeed the secure VMID domain attr
With the recent page table refactor we've lost our code to assign SMMU page tables to secure VMIDs. This functionality will be added back later but for now just silently succeed when clients set this attribute. This works for now because secure use cases haven't been brought up yet. Change-Id: Ic2970e01f2899a9649c883f85aaaec828f2e7597 Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
This commit is contained in:
parent
86e9ff583b
commit
bd014519f8
1 changed files with 3 additions and 0 deletions
|
@ -1762,6 +1762,9 @@ static int arm_smmu_domain_set_attr(struct iommu_domain *domain,
|
|||
~(1 << DOMAIN_ATTR_COHERENT_HTW_DISABLE);
|
||||
break;
|
||||
}
|
||||
case DOMAIN_ATTR_SECURE_VMID:
|
||||
ret = 0;
|
||||
break;
|
||||
default:
|
||||
ret = -ENODEV;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue