[PATCH V5 07/12] arm64: dma-mapping: Remove the notifier trick to handle early setting of dma_ops

Will Deacon will.deacon at arm.com
Thu Jan 19 08:20:31 PST 2017


On Thu, Jan 19, 2017 at 08:35:51PM +0530, Sricharan R wrote:
> With arch_setup_dma_ops now being called late during device's probe after
> the device's iommu is probed, the notifier trick required to handle the
> early setup of dma_ops before the iommu group gets created is not
> required. So removing the notifier's here.
> 
> Signed-off-by: Sricharan R <sricharan at codeaurora.org>
> [rm: clean up even more]
> Signed-off-by: Robin Murphy <robin.murphy at arm.com>
> ---
>  * No change
> 
>  arch/arm64/mm/dma-mapping.c | 132 ++++----------------------------------------
>  1 file changed, 12 insertions(+), 120 deletions(-)

Acked-by: Will Deacon <will.deacon at arm.com>

Will



More information about the linux-arm-kernel mailing list