]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/io-pgtable: Allow io_pgtable_tlb ops optional
authorYong Wu <yong.wu@mediatek.com>
Thu, 7 Jan 2021 12:29:07 +0000 (20:29 +0800)
committerWill Deacon <will@kernel.org>
Wed, 27 Jan 2021 12:32:27 +0000 (12:32 +0000)
commit3560134f10bcbc739dbe7a224225cfdd0cffb2c6
tree2178e719779169e6871d1e01474a5c74eac84d71
parent8e68315fd314332429375049b9fccc0ebe6fffd3
iommu/io-pgtable: Allow io_pgtable_tlb ops optional

This patch allows io_pgtable_tlb ops could be null since the IOMMU drivers
may use the tlb ops from iommu framework.

Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20210107122909.16317-6-yong.wu@mediatek.com
Signed-off-by: Will Deacon <will@kernel.org>
include/linux/io-pgtable.h