[PATCH V7 09/11] arm64: dma-mapping: Remove the notifier trick to handle early setting of dma_ops

Bjorn Helgaas helgaas at kernel.org
Sat Jan 28 13:06:11 PST 2017


On Mon, Jan 23, 2017 at 09:48:11PM +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.

s/notifier's/notifiers/

Personally I'd capitalize "IOMMU" in the English text above, too.

> Acked-by: Will Deacon <will.deacon at arm.com>
> Signed-off-by: Sricharan R <sricharan at codeaurora.org>
> [rm: clean up even more]
> Signed-off-by: Robin Murphy <robin.murphy at arm.com>
> ---
>  arch/arm64/mm/dma-mapping.c | 132 ++++----------------------------------------
>  1 file changed, 12 insertions(+), 120 deletions(-)

Nice :)



More information about the linux-arm-kernel mailing list