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] Xen Itanium features available in Xen HVM?

To: Kayvan Sylvan <kayvan@xxxxxxxxx>
Subject: Re: [Xen-ia64-devel] Xen Itanium features available in Xen HVM?
From: tgingold@xxxxxxx
Date: Wed, 14 May 2008 10:49:50 +0200
Cc: Paul Leisy <pleisy@xxxxxxxxx>, "'xen-ia64-devel@xxxxxxxxxxxxxxxxxxx'" <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 14 May 2008 01:53:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <DF0031A8C0149E41802BAFD18D6C4B7012A66271A3@xxxxxxxxxxxxxxxxxxxxxx>
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>
References: <DF0031A8C0149E41802BAFD18D6C4B7012A66271A3@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Internet Messaging Program (IMP) 3.2.8
Quoting Kayvan Sylvan <kayvan@xxxxxxxxx>:

> Thanks very much for the replies.
>
> We would like to lend some help with trying to implement the protection
> registers.

You're welcome!

> What is your advice on how to proceed?

PKR have been implemented in PV mode.
For VTi there is however an issue: we need an extra PK entry for the hypervisor.
I don't think we can share the entry with one set by the OS.
As there is no extra PKR (argh!), we need to implement an LRU-like arlgorithm.
Nothing very hard here.

You also need to be sure the PK are correctly handled in itc/itr/...
instructions.

About the PK ids:
one must be reserved for Xen (it would be nice to use the same as the PV one,
I think it is 0 - TBC).
So only 23 bits remain for the domain.

(I think it would be nice to split again in two: use one bit to support
 VTi virtualization.  But that's future work).

Feel free to discuss implementation issues here.

Tristan.

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