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

Re: [Xen-ia64-devel] Faulty protection key handling



On Thu, Apr 26, 2007 at 08:31:11AM +0200, Jürgen Groß wrote:
> Tristan Gingold wrote:
> > On Wed, Apr 25, 2007 at 03:36:20PM +0200, Dietmar Hahn wrote:
> Are you sure? I don't think PK space must be partitioned. Protection keys are
> an additional feature for further access limitations of pages which are
> already "protected" via RID.
You're right, I spoke too quickly.
 
> One issue arises with support of protection keys: the hypervisor must be able
> to run with enabled protection keys as well (protection keys are enabled in
> %cr.dcr which is not changed in case of interruption). So we will need an own
> protection key value for the hypervisor and of course a reserved protection
> key register.
We must also correctly handle metaphysical mode.

> For PV domains this should be easy: 15 PKRs should be enough for the DomU.
> For HVM the PKRs must be virtualized completely.
I think this is the easiest solution, although it breaks the architecture
requirements.

Tristan.

_______________________________________________
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®.