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] privilege level of PV domain

To: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] privilege level of PV domain
From: Jürgen Groß <juergen.gross@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 25 Jun 2007 09:53:47 +0200
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 25 Jun 2007 00:51:28 -0700
Domainkey-signature: s=s768; d=fujitsu-siemens.com; c=nofws; q=dns; b=knXP+x/T7Cgk9WEFPUSJfglU0IjQWjxm2p54rVQc5d57B1H1yf36Bub1cg+eWMXuK+PhvydTesdgBNSkJt9TNMHBW9fSQ8WjG5RIieT+SOXHc6AKW5KXabZwJS4wKagP;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070625073422.GC4427%yamahata@xxxxxxxxxxxxx>
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>
Organization: Fujitsu Siemens Computers
References: <467F61DA.2050405@xxxxxxxxxxxxxxxxxxx> <20070625073422.GC4427%yamahata@xxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Icedove 1.5.0.10 (X11/20070328)
Isaku Yamahata wrote:
> On Mon, Jun 25, 2007 at 08:34:02AM +0200, Jürgen Groß wrote:
>> I've got a question about the emulation of cpl=0 of a PV-domain.
>> Currently cpl=0 is emulated by using privilege level 2. Is there any special
>> reason not to use privilege level 1?
>>
>> The reason for my question is the port of our mainframe operating system to
>> xen/ia64. We are using three different privilege levels today and it would
>> make the port much easier if we could keep this approach.
>> This is only possible, if cpl=0 of the domU is mapped to privilege level 1
>> by the hypervisor, of course.
>>
>> If there is no architectural reason for using cpl=2 instead cpl=1, I would
>> prepare some patches...
> 
> It's because the historical reason as long as I know.
> Xen/ia64 owes to vBlades[1] very much and they chose cpl=2
> for guest kernel and used cpl=1 for other purose.
> Xen/IA64 inherited cpl=2 for guest and but hasn't used cpl=1 so far.
> At this moment I don't see any architectural except it would
> require tedious error prone code change.
> 
> [1] You can find vBlades paper easily on the net.

Thanks!
My plan is to make a patch first which uses a '#define' for the privilege
level instead the hard coded '2'. This should minimize a possible negative
impact.

Juergen

-- 
Juergen Gross                             Principal Developer
IP SW OS6                      Telephone: +49 (0) 89 636 47950
Fujitsu Siemens Computers         e-mail: juergen.gross@xxxxxxxxxxxxxxxxxxx
Otto-Hahn-Ring 6                Internet: www.fujitsu-siemens.com
D-81739 Muenchen         Company details: www.fujitsu-siemens.com/imprint.html

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