iommu: Add Allwinner H6 IOMMU driver
authorMaxime Ripard <maxime@cerno.tech>
Wed, 13 May 2020 14:07:22 +0000 (16:07 +0200)
committerJoerg Roedel <jroedel@suse.de>
Thu, 14 May 2020 15:48:57 +0000 (17:48 +0200)
commit4100b8c229b328358cc4a82f5042dbf22f1c1ccb
tree7ef9d431fe1ef02005c7e8585b40a8347dbc2c06
parentdb7d3cbd6a99c5148eafd4685b33d48d118a317f
iommu: Add Allwinner H6 IOMMU driver

The Allwinner H6 has introduced an IOMMU for a few DMA controllers, mostly
video related: the display engine, the video decoders / encoders, the
camera capture controller, etc.

The design is pretty simple compared to other IOMMUs found in SoCs: there's
a single instance, controlling all the masters, with a single address
space.

It also features a performance monitoring unit that allows to retrieve
various informations (per-master and global TLB accesses, hits and misses,
access latency, etc) that isn't supported at the moment.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/d122a8670361e36fc26b4ce2674a2223d30dc4cc.1589378833.git-series.maxime@cerno.tech
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/Kconfig
drivers/iommu/Makefile
drivers/iommu/sun50i-iommu.c [new file with mode: 0644]