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

[Xen-devel] Re: Changeset 20209 causes an issue in xen_in_range()

To: Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: [Xen-devel] Re: Changeset 20209 causes an issue in xen_in_range()
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 14 Jan 2010 11:47:32 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Dexuan Cui <dexuan.cui@xxxxxxxxx>
Delivery-date: Thu, 14 Jan 2010 03:47:56 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B4F0C440200007800029F04@xxxxxxxxxxxxxxxxxx>
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: AcqVC7WojRF7R9KjTMmsbJaWBuv/iwAA6WDa
Thread-topic: Changeset 20209 causes an issue in xen_in_range()
User-agent: Microsoft-Entourage/12.23.0.091001
On 14/01/2010 11:21, "Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:

>>> However, in iommu_set_dom0_mapping(), xen_in_range() is still True for the
>>> freed pages above, so devices in Dom0 can meet with DMA fault.
>> 
>> Should be fixed by c/s 20803.
> 
> Do you really think so? Masking "start" with PERCPU_SIZE-1 doesn't
> make sense, as it may be arbitrarily before __percpu_start and
> not aligned. Below my take on it.

How about c/s 20806?

 -- Keir



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