From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: question on iommu _map_page Date: Fri, 28 May 2010 09:08:52 +0100 Message-ID: References: <00AC9A5E-6B21-4E21-A10F-B38A3CA00A66@rice.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <00AC9A5E-6B21-4E21-A10F-B38A3CA00A66@rice.edu> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Kaushik Kumar Ram Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 27/05/2010 21:59, "Kaushik Kumar Ram" 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