From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: x86 swiotlb questions Date: Tue, 19 Dec 2006 14:14:45 +0000 Message-ID: References: <4587EDA3.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4587EDA3.76E4.0078.0@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich , Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 19/12/06 12:48, "Jan Beulich" wrote: >> Do we merge okay with lib/swiotlb.c then? > > Not yet - because of the highmem handling needed for i386. I wonder, however, > how native Linux gets away with not handling this through swiotlb, and why > nevertheless Xen needs to special case this. Any ideas? Probably because GFP_KERNEL and GFP_DMA allocations are guaranteed to be DMAable by 30-bit-capable devices on native, but not on Xen. -- Keir