]> git.karo-electronics.de Git - linux-beck.git/commit
iommu/mediatek: Convert M4Uv2 to iommu_fwspec
authorRobin Murphy <robin.murphy@arm.com>
Mon, 17 Oct 2016 11:49:20 +0000 (12:49 +0100)
committerJoerg Roedel <jroedel@suse.de>
Thu, 10 Nov 2016 10:59:32 +0000 (11:59 +0100)
commit58f0d1d536bc71718286073aceb819eb0064e4ce
tree7692b2e1236905964808246111ee116518c382fe
parentbc33b0ca11e3df467777a4fa7639ba488c9d4911
iommu/mediatek: Convert M4Uv2 to iommu_fwspec

Our per-device data consists of the M4U instance and firmware-provided
list of LARB IDs, which is a perfect fit for the generic iommu_fwspec
machinery. Use that directly as a simpler alternative to the custom
archdata code.

CC: Yong Wu <yong.wu@mediatek.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Tested-by: Yong Wu <yong.wu@mediatek.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/mtk_iommu.c