From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: Re: [PATCH V5 07/12] arm64: dma-mapping: Remove the notifier trick to handle early setting of dma_ops Date: Thu, 19 Jan 2017 16:20:31 +0000 Message-ID: <20170119162030.GJ31594@arm.com> References: <1484838356-24962-1-git-send-email-sricharan@codeaurora.org> <1484838356-24962-8-git-send-email-sricharan@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1484838356-24962-8-git-send-email-sricharan-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Sricharan R Cc: linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: linux-arm-msm@vger.kernel.org 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 > [rm: clean up even more] > Signed-off-by: Robin Murphy > --- > * No change > > arch/arm64/mm/dma-mapping.c | 132 ++++---------------------------------------- > 1 file changed, 12 insertions(+), 120 deletions(-) Acked-by: Will Deacon Will From mboxrd@z Thu Jan 1 00:00:00 1970 From: will.deacon@arm.com (Will Deacon) Date: Thu, 19 Jan 2017 16:20:31 +0000 Subject: [PATCH V5 07/12] arm64: dma-mapping: Remove the notifier trick to handle early setting of dma_ops In-Reply-To: <1484838356-24962-8-git-send-email-sricharan@codeaurora.org> References: <1484838356-24962-1-git-send-email-sricharan@codeaurora.org> <1484838356-24962-8-git-send-email-sricharan@codeaurora.org> Message-ID: <20170119162030.GJ31594@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 > [rm: clean up even more] > Signed-off-by: Robin Murphy > --- > * No change > > arch/arm64/mm/dma-mapping.c | 132 ++++---------------------------------------- > 1 file changed, 12 insertions(+), 120 deletions(-) Acked-by: Will Deacon Will