WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] question on iommu _map_page

To: Kaushik Kumar Ram <kaushik@xxxxxxxx>
Subject: Re: [Xen-devel] question on iommu _map_page
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 28 May 2010 09:08:52 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 28 May 2010 01:09:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <00AC9A5E-6B21-4E21-A10F-B38A3CA00A66@xxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acr934AjJuUruUaLQMCkhIT5vZQkcAAXYJAY
Thread-topic: [Xen-devel] question on iommu _map_page
User-agent: Microsoft-Entourage/12.24.0.100205
On 27/05/2010 21:59, "Kaushik Kumar Ram" <kaushik@xxxxxxxx> wrote:

> On May 27, 2010, at 3:46 PM, Keir Fraser wrote:
> 
>> It looks like the person who implemented that never needed the read-only
>> case. We need a function to map pages into the iommu read-only and to call
>> that from the grant code.
>> 
>> A patch to just call iommu_map_page() for any kind of grant mapping would be
>> acceptable for now, if you want to submit a patch.
> 
> OK. Attached.

Actually I've implemented the better fix as xen-unstable:21476. Hope that
works okay for you.

 Thanks,
 Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel