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

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

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH 0/6] protection keys
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;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6
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

<Prev in Thread] Current Thread [Next in Thread>