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-ia64-devel

RE: [Xen-ia64-devel] [PATCH] translate_domain_pte must handle ED bit

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, "Isaku Yamahata" <yamahata@xxxxxxxxxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-ia64-devel] [PATCH] translate_domain_pte must handle ED bit
From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Date: Tue, 21 Feb 2006 09:58:53 +0800
Delivery-date: Tue, 21 Feb 2006 02:11:55 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcY1+Edw9KoSifgAQZWWuQI/P30jiAAM+aeQABY15yA=
Thread-topic: [Xen-ia64-devel] [PATCH] translate_domain_pte must handle ED bit
>>From: Isaku Yamahata
>>Sent: 2006年2月20日 16:32
>>
>>translate_domain_pte() must handle ED bit explicitly.
>>This case can occur because of vcpu_itc_d().
>>
>>--
>>Yamahata
>
>Seems a bug, however do you know why it only jumps out now? Seems PAGE_ED is
>likely on in lookup_domain_mpa...
>
>BTW, bit[53-63] are ignored bits per 4.1.1.5 of SDM2, and then you can just 
>ignore
>them instead of BUG there. ;-)
>

Current P2M table contains not only machine address, but also ED and all memory 
attribute bits, like read, write, execution, dirt and privilege level. That is, 
the format of P2M table entry is same with PTE. map_domain_page function does 
this for xen,
All these codes come from linux kernel, not changed much. IMO ED and all memory 
attribute bits can be disserted in P2M table, all these bits should come from 
guest.

Yamahata san,
I know you are designing P2M for dom0, if you can do this cleanup in the 
meantime; it is definitely deserved and efficient. But be careful, many 
functions have the assumption that ED is in the result of lookup_domain_mpa :-( 
.

Thanks
Anthony

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

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