From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: Re: x86 swiotlb questions Date: Wed, 03 Jan 2007 11:01:53 +0000 Message-ID: <459B9B31.76E4.0078.0@novell.com> References: <459B64E8.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: 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: Keir Fraser Cc: muli@il.ibm.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >>> Keir Fraser 03.01.07 10:32 >>> >On 3/1/07 07:10, "Jan Beulich" wrote: >> Another, only partially related thought: The addition of KM_SWIOTLB is the >> only >> difference to native kmap_types.h. It would seem to me that, at the price of >> disabling interrupts around the use, it should be possible to replace that >> with >> KM_BOUNCE_READ and let go of the Xen specific header... > >Sounds reasonable, although KM_BOUNCE_READ is a misnomer (since we write to >the kmap as well as read from it). ... similar to the (mis-)use of it in the EDAC driver. Jan