[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-ia64-devel] privilege level of PV domain


  • To: tgingold@xxxxxxx
  • 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;
  • List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.