]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/mediatek: Move geometry.aperture updating into domain_finalise
authorYong Wu <yong.wu@mediatek.com>
Mon, 11 Jan 2021 11:19:06 +0000 (19:19 +0800)
committerWill Deacon <will@kernel.org>
Mon, 1 Feb 2021 11:31:19 +0000 (11:31 +0000)
commit92fba7b7412be3279197375a54c1573d7cd59ea7
tree28938b40f58db3a06d853717f381607789309d59
parentfb9661f1ba130ca0c47852dc2e94bfd1a7e51f75
iommu/mediatek: Move geometry.aperture updating into domain_finalise

Move the domain geometry.aperture updating into domain_finalise.
This is a preparing patch for updating the domain region. We know the
detailed iova region in the attach_device.

Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Link: https://lore.kernel.org/r/20210111111914.22211-26-yong.wu@mediatek.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/mtk_iommu.c