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] Question: Special linux dom0 handling in vcpu_trans

To: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] Question: Special linux dom0 handling in vcpu_translate()
From: tgingold@xxxxxxx
Date: Thu, 21 Jun 2007 09:49:50 +0200
Cc: Xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 21 Jun 2007 00:47:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200706210909.12575.dietmar.hahn@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>
References: <200706210909.12575.dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Internet Messaging Program (IMP) 3.2.5
Quoting Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>:

> Hi,
>
> in vcpu_translate I found some lines of code which seems to be an
> optimization
> for the linux dom0:
...
> I found this, because mini-os uses the same scheme. Now the hypervisor does
> the itc for mini-os with a linux kernel identity mapped pte!
> In general this may leads to problems if other systems with similar region
> scheme are running on xen.
> In particular I have here the problem that using protection keys for such
> addresses is impossible!
> Is it possible to do this optimization for the linux kernel another way?

I think this special linux optimization should be enabled by the OS. We should
add an hypercall (or a SAL call) for this.

Tristan.

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel