From: Keir Fraser Subject: Re: grant table interface addition? Date: Thu, 30 Oct 2008 15:58:01 +0000 Message-ID: References: <4909E6A0.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: <4909E6A0.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 Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 30/10/08 15:53, "Jan Beulich" wrote: >>>> Keir Fraser 30.10.08 15:15 >>> >> On 30/10/08 14:06, "Jan Beulich" wrote: >>> As to PAGE_IO, wouldn't it be appropriate to set this flag on pte-s created >>> with GNTMAP_device_map? Or is the name misleading me? I'm perhaps >>> confused by the fact that the use of this flag is not tied to granting iomem >>> pages... >> >> The idea was that this would grant-map pages into an iommu. Really it's not >> actually been used, but GNTMAP_device_map doesn't cause mappings to appear >> in host page tables. > > It actually is being used in Solarflare's acceleration backend - what you say > makes me think this could be wrong then. I suppose it's useful if you only want the machine address of the granted page, and don't care about getting a host mapping. -- Keir