From mboxrd@z Thu Jan 1 00:00:00 1970 From: sricharan@codeaurora.org (Sricharan) Date: Mon, 30 Jan 2017 13:34:18 +0530 Subject: [PATCH V7 09/11] arm64: dma-mapping: Remove the notifier trick to handle early setting of dma_ops In-Reply-To: <20170128210611.GF20550@bhelgaas-glaptop.roam.corp.google.com> References: <1485188293-20263-1-git-send-email-sricharan@codeaurora.org> <1485188293-20263-10-git-send-email-sricharan@codeaurora.org> <20170128210611.GF20550@bhelgaas-glaptop.roam.corp.google.com> Message-ID: <005201d27acf$7924a7b0$6b6df710$@codeaurora.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org >> 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/ > ok, will change. >Personally I'd capitalize "IOMMU" in the English text above, too. > ok, will change this too. Regards, Sricharan >> Acked-by: Will Deacon >> Signed-off-by: Sricharan R >> [rm: clean up even more] >> Signed-off-by: Robin Murphy >> --- >> arch/arm64/mm/dma-mapping.c | 132 ++++---------------------------------------- >> 1 file changed, 12 insertions(+), 120 deletions(-) > >Nice :)