From: "Jan Beulich" Subject: Re: Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) Date: Mon, 05 Oct 2009 11:32:31 +0100 Message-ID: <4AC9E75F0200007800017F61@vpn.id2.novell.com> References: <41093.83224.qm@web56108.mail.re3.yahoo.com> <4AC649B0.5090700@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4AC649B0.5090700@goop.org> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: dri-devel@lists.sourceforge.net, xen-devel@lists.xensource.com, Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org >>> Jeremy Fitzhardinge 02.10.09 20:42 >>> >On 10/02/09 10:23, Boris Derzhavets wrote: >> Jeremy, >> Please, be aware of bugzilla.xensource.com [1519] the most recent >> entries :- >> >> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=3D1519=20 >> > >Ah, OK. I pushed a variant of Konrad's patches. Could you try them out? Are you really convinced fixing this in DRM is the right thing to do? To me, the use of vmalloc_32() in drivers/ieee1394/ seems to make similar assumptions (pci_map_sg() not modifying the buffer addresses), and who knows where else such assumptions exist. After all, vmalloc_32() is *defined* to have the property assumed by both of the users, and other than for most kmalloc() cases using GFP_DMA{,32} we're talking about double buffering generally large amounts of data here even in the cases where the DMA API is being used properly. Jan