From: Keir Fraser Subject: Re: [ivtv-devel] Problems loading ivtv in Xen - DMA issues? Date: Fri, 15 Jul 2005 13:50:44 +0100 Message-ID: References: <1120750950.1556.24.camel@mud> <5c8bdef6ff868881d1a1e3bc0a79a906@cl.cam.ac.uk> <16670726ccb66463d6804f0dc87e3690@cl.cam.ac.uk> <38a9ac6264e50346c160833d732fc567@cl.cam.ac.uk> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: David Muench Cc: xen-devel List List-Id: xen-devel@lists.xenproject.org On 15 Jul 2005, at 13:43, David Muench wrote: >> This will make the sync functions behave as they do in the ARM >> architecture, which also uses bounce buffers but has at least been >> looked over by the core kernel DMA guys. > > That doesn't work however: Well, I think there is probably a grey area over what accesses the kernel can make to memory that it currently has mapped by dma_map_single.... I think I will just remove the direction checks from the sync functions, leave them in the map/unmap functions, and hope that suffices to get most drivers working. Thanks for your testing efforts on this! -- Keir