From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: Re: [PATCH v6 8/8] arm: dma-mapping: plumb our iommu mapping ops into arch_setup_dma_ops Date: Tue, 20 Jan 2015 15:21:15 +0000 Message-ID: <20150120152115.GE1549@arm.com> References: <1417453034-21379-1-git-send-email-will.deacon@arm.com> <1984907.uTqFPJnJpV@avalon> <20150119123058.GA7312@ulmo.nvidia.com> <2060841.mOvatXFir7@avalon> <20150120151910.GD1549@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20150120151910.GD1549-5wv7dgnIgG8@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: Laurent Pinchart Cc: "jroedel-l3A5Bk7waGM@public.gmane.org" , Heiko Stuebner , "arnd-r2nGTMty4D4@public.gmane.org" , "iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org" , Thierry Reding , Alexandre Courbot , "Varun.Sethi-KZfg59tc24xl57MIdRCFDg@public.gmane.org" , "dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org" , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" List-Id: iommu@lists.linux-foundation.org On Tue, Jan 20, 2015 at 03:19:10PM +0000, Will Deacon wrote: > We could restore the set_dma_ops call in arm_iommu_attach_device as a > temporary hack (along with a big fat comment), since arch_setup_dma_ops > actually sets the ops correct *after* the call to > arm_get_iommu_dma_map_ops... s/arm_get_iommu_dma_map_ops/arm_setup_iommu_dma_ops/ Will