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

[Xen-ia64-devel] [PATCH 0/6] protection keys


  • To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
  • From: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
  • Date: Fri, 27 Jul 2007 14:46:42 +0200
  • Delivery-date: Fri, 27 Jul 2007 05:44:14 -0700
  • Domainkey-signature: s=s768; d=fujitsu-siemens.com; c=nofws; q=dns; b=aXPK8LKJpGxwUU9cJH0lBkfDvMD6btcQ0OOYdtCOVUcN2kG18aUuvOTAqRV7VTIdRGrSLtByiEDeT5JNpVx40BhKBSc0zC2Lf87VVTlCNKfPx87wADXY4OWtnOL9FmmD;
  • List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>

Hi,

this series of patches adds a first complete implementation of protection key 
handling for PV to xen-ia64.
With this patches I'am able to run multiple instances of mini-os (using 
different keys in different pkr's) beside domU-linux.
I divided the changes in different patches to have a better overview.
Patch1-4 are preparing the pkr handling, but can be used without the pkr 
stuff.
Patch5 adds the possibility to switch on psr.pk.
Patch6 extends mini-os using protection keys for it's region 5 and region 7 
addresses to test the protection key handling.

[PATCH 1/6] protection keys: cleanup unused pkrs[]
[PATCH 2/6] protection keys: declarations for pkr
[PATCH 3/6] protection keys: use key in optimzation feature
[PATCH 4/6] protection keys: extend interfaces to use itir instead logps
[PATCH 5/6] protection keys: switch on pkr handling
[PATCH 6/6] protection keys: mini-os with pkr

The patch5 adds a first simple implementation of protection keys. The struct 
arch_vcpu is extendet by pkrs[] and a pkr_flag. Currently only 15 pkr's are 
supported for domU. Number 16 is reserved for the hypervisor. In this version 
the hypervisor doesn't take care about the order of setting pkr's, means it 
doesn't handle the invalidating of existing entries with the same key.

Please send comments or commit the patches.
Thanks.

Dietmar.

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