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-devel

Re: [Xen-devel] switch out of 32e mode issue

To: Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] switch out of 32e mode issue
From: "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
Date: Tue, 3 Jul 2007 17:32:12 +0800
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
Delivery-date: Tue, 03 Jul 2007 02:36:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C2AFCE01.11C0A%keir@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20070703065148.GD20797@xxxxxxxxxxxxxxxxxxxxxx> <C2AFCE01.11C0A%keir@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
On Tue, Jul 03, 2007 at 09:57:21AM +0100, Keir Fraser wrote:
> On 3/7/07 07:51, "Zhai, Edwin" <edwin.zhai@xxxxxxxxx> wrote:
> 
> > I have read the your changeset 13830
> > "[XEN] kexec: add compatability shim for kexec in 32on64 mode", which seems 
> > to
> > be used for kexec a 32b kernel on 32e xen.

I worked on a pretty old changeset W/O relocation.
vir=>phys just use PAGE_OFFSET

> 
> You're aware it got broken when 64-bit Xen became relocatable (in physical
> memory map), and was only fixed by changesets 15377 and 15379?
> 
> > I borrow some of the code from xen/arch/x86/x86_64/compat_kexec.S for 
> > similar
> > purpose(switch out of 32e mode in xen) by similar way:
> 
> Why would you want to do that, except for kexec?

When boot xen with TXT, shutdown need trap back to sboot for some security 
operations.

> 
>  -- Keir
> 

-- 
best rgds,
edwin

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