]> git.dujemihanovic.xyz Git - u-boot.git/commit
iommu: qcom-smmu: handle running in el2
authorCaleb Connolly <caleb.connolly@linaro.org>
Wed, 13 Nov 2024 05:09:24 +0000 (06:09 +0100)
committerCaleb Connolly <caleb.connolly@linaro.org>
Wed, 20 Nov 2024 16:57:58 +0000 (17:57 +0100)
commite55fc3ab205c6e81ac52fe2550478ea746d9b512
tree5475f93668fcf5833fb646018820d00cc3d020f7
parent53c0f1beac1e528f4ccfd116d6d4fde9881b3c91
iommu: qcom-smmu: handle running in el2

We only need to configure the SMMU when running in EL1. In EL2 the
hypervisor isn't running so peripherals can just do DMA as they wish.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
drivers/iommu/qcom-hyp-smmu.c