]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/iommu/mtk_iommu.c
iommu/mediatek: Move pgtable allocation into domain_alloc
authorYong Wu <yong.wu@mediatek.com>
Mon, 21 Aug 2017 11:00:18 +0000 (19:00 +0800)
committerJoerg Roedel <jroedel@suse.de>
Tue, 22 Aug 2017 14:37:59 +0000 (16:37 +0200)
commit4b00f5ac12fcee634c41b81444d981e1217ef618
treedeb25a6a5027b7fe3f43f7f422f255562a1d42d7
parent7c3a2ec02806a6f83270f34f8ab4e501e7d8ea69
iommu/mediatek: Move pgtable allocation into domain_alloc

After adding the global list for M4U HW, We get a chance to
move the pagetable allocation into the mtk_iommu_domain_alloc.
Let the domain_alloc do the right thing.

This patch is for fixing this problem[1].
[1]: https://patchwork.codeaurora.org/patch/53987/

Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/mtk_iommu.c