summaryrefslogtreecommitdiff
path: root/drivers/iommu/amd/iommu.c
diff options
context:
space:
mode:
authorYong Wu <yong.wu@mediatek.com>2021-01-11 19:18:57 +0800
committerWill Deacon <will@kernel.org>2021-02-01 11:31:17 +0000
commit7f37a91dc85e37ed06422c6e460724375a86f40c (patch)
tree011d5ea8f81b3315d86ff8490887ead0802768cc /drivers/iommu/amd/iommu.c
parent9bdfe4c175c8a9ea4959f7ad087e3d66d3917bc8 (diff)
downloadlinux-7f37a91dc85e37ed06422c6e460724375a86f40c.tar.gz
iommu/mediatek: Move hw_init into attach_device
In attach device, it will update the pagetable base address register. Move the hw_init function also here. Then it only need call pm_runtime_get/put one time here if m4u has power domain. Signed-off-by: Yong Wu <yong.wu@mediatek.com> Reviewed-by: Tomasz Figa <tfiga@chromium.org> Link: https://lore.kernel.org/r/20210111111914.22211-17-yong.wu@mediatek.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/iommu/amd/iommu.c')
0 files changed, 0 insertions, 0 deletions