|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
Re: [Xen-ia64-devel] privilege level of PV domain
Quoting Juergen Gross <juergen.gross@xxxxxxxxxxxxxxxxxxx>:
> 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.
That's ok!
> Anything I might have missed?
There are also some cases in .h files (guest_mode eg IIRC)
Tristan.
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
|
|
|
|