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: tgingold@xxxxxxx
Subject: Re: [Xen-ia64-devel] privilege level of PV domain
From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 25 Jun 2007 14:25:57 +0200
Cc: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>, xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 25 Jun 2007 05:23:42 -0700
Domainkey-signature: s=s768; d=fujitsu-siemens.com; c=nofws; q=dns; b=iaQHZernRG54tZ7KSi2ZQZbEgyMCTNo9QIfsQ0NT2lobIQp8Uq2MgRtF0qFsuOyVEf1pZUNdJ37YdjOfROpi2YaTu06MDXLDeHZ/wVTD978qNFXRJInndLpiSyn9TYIy;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1182758887.467f77e75a4a3@xxxxxxxxxxx>
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> <467F748B.7060207@xxxxxxxxxxxxxxxxxxx> <1182758887.467f77e75a4a3@xxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Icedove 1.5.0.10 (X11/20070328)
tgingold@xxxxxxx wrote:
> Quoting J?«ärgen Gro?©Î <juergen.gross@xxxxxxxxxxxxxxxxxxx>:
> 
>> Isaku Yamahata wrote:
>>> On Mon, Jun 25, 2007 at 08:34:02AM +0200, J?«ärgen Gro?©Î wrote:
>> 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.
> 
> Enabling 3 levels is certainly a good idea.
> Just be very careful: the 2 is hard-coded and the level compression is
> often done simply by or-ing 2.  You have to replace the or with a max!

I've seen it, thanks.
So far I've found the following places:
- checking and setting of cr.ipsr in various assembler sources
- setting of ar_rsc
- setting of page attributes (_PAGE_PL_2)
- psr evaluation
I did nothing in the vmx*.[ch] sources.
Anything I might have missed?

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