iommu: arm-smmu: Enable sid switch usecase

Some usecases require moving a stream-id from the nonsecure to secure
domain. In order to do so, ensure that the stream-id is removed from
the nonsecure SMR and S2CR registers by the iommu_detach_device()
call.

Change-Id: Ieb1317f7b056b743e6c9e61f02405d0ed1cabdbb
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
1 file changed