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

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

Subject: Re: [Xen-ia64-devel] Faulty protection key handling
From: Jürgen Groß <juergen.gross@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 26 Apr 2007 08:35:23 +0200
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 25 Apr 2007 23:33:54 -0700
Domainkey-signature: s=s768; d=fujitsu-siemens.com; c=nofws; q=dns; b=htkMx5qexGycUI4x3Tl0JErtrNcqxfmRUUJH4B7WYQjY91hfRcXEHUkuaXF4lftTooacXc1GToSIAULXzsIxjgSDOaMdNddUzB7TvqiGybEBtZ8X9aLY5FqJWrTcegKY;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4630472F.5020003@xxxxxxxxxxxxxxxxxxx>
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>
Organization: Fujitsu Siemens Computers
References: <200704251536.20806.dietmar.hahn@xxxxxxxxxxxxxxxxxxx> <20070426054120.GA2497@saphi> <4630472F.5020003@xxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Icedove 1.5.0.10 (X11/20070328)
Jürgen Groß wrote:
> Tristan Gingold wrote:
>> On Wed, Apr 25, 2007 at 03:36:20PM +0200, Dietmar Hahn wrote:
>>> Hi,
>> [..]
>>> By the way, are there any thoughts about adding emulation of protection 
>>> keys 
>>> to the hypervisor? I know, whether the hypervisor nor dom0-linux are using 
>>> this but we need this stuff. I would try to write a proposal and add using 
>>> protection keys in the minios for tests. What do you think?
>> It shouldn't be that different from RID partitions: just partition PK space
>> like RID space is partitionned.  I really think the modifications are not
>> that big, unless we find a blocking issue.  I will try to think more...
> 
> 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.
> 
> 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.

Sorry, PK is enables in %psr, of course, but there is no corresponding
%cr.dcr bit for interrupt defaults.

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