From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: [PATCH] spi: sh-msiof: Use correct device for DMA mapping with IOMMU Date: Wed, 9 Jul 2014 23:52:22 +0200 Message-ID: References: <1404901277-31107-1-git-send-email-geert+renesas@glider.be> <70265909.OPtNRHeAkP@avalon> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Geert Uytterhoeven , Mark Brown , linux-spi , Linux-sh list To: Laurent Pinchart Return-path: In-Reply-To: <70265909.OPtNRHeAkP@avalon> Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Hi Laurent, On Wed, Jul 9, 2014 at 11:38 PM, Laurent Pinchart wrote: > On Wednesday 09 July 2014 12:21:17 Geert Uytterhoeven wrote: >> To function correctly in the presence of an IOMMU, the DMA buffers must be >> mapped using the DMA channel's device instead of the MSIOF platform >> device's device. > > Shouldn't you also update the dma_unmap_single() calls ? I guess I should ;-) Thanks, will fix... Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html