]> git.ipfire.org Git - thirdparty/u-boot.git/commit
iommu: add qcom-hyp-smmu
authorCaleb Connolly <caleb.connolly@linaro.org>
Mon, 11 Dec 2023 18:41:42 +0000 (18:41 +0000)
committerTom Rini <trini@konsulko.com>
Thu, 21 Dec 2023 16:59:49 +0000 (11:59 -0500)
commitd3db45cb9c0dde8a02f7b05d4ac154dd526fc06d
tree484cb3331b3684109b4647069ce7ef296a2ac66a
parent76c53dad6b5dc94e4c43069882b2708853c284c0
iommu: add qcom-hyp-smmu

Add a basic implementation of the ARM SMMU. This driver is intended for
use on Qualcomm platforms where the SMMU has been configured by a previous
bootloader, cannot be turned off, and doesn't support BYPASS streams.
It keeps all existing stream mappings and only creates new ones for stream
ids that aren't already configured.

This driver is necessary to support peripherals that perform DMA which
weren't configured by the previous stage bootloader (for example USB).
It works by allocating a context bank using identity mapping (as U-Boot
doesn't use virtual addresses).

Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
drivers/iommu/Kconfig
drivers/iommu/Makefile
drivers/iommu/qcom-hyp-smmu.c [new file with mode: 0644]