All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Zhai, Edwin" <edwin.zhai@intel.com>
To: Keir Fraser <keir@xensource.com>
Cc: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>,
	xen-devel@lists.xensource.com, "Zhai,
	Edwin" <edwin.zhai@intel.com>
Subject: Re: switch out of 32e mode issue
Date: Tue, 3 Jul 2007 17:32:12 +0800	[thread overview]
Message-ID: <20070703093211.GE20797@edwin-srv.sh.intel.com> (raw)
In-Reply-To: <C2AFCE01.11C0A%keir@xensource.com>

On Tue, Jul 03, 2007 at 09:57:21AM +0100, Keir Fraser wrote:
> On 3/7/07 07:51, "Zhai, Edwin" <edwin.zhai@intel.com> 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

  reply	other threads:[~2007-07-03  9:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-03  6:51 switch out of 32e mode issue Zhai, Edwin
2007-07-03  8:57 ` Keir Fraser
2007-07-03  9:32   ` Zhai, Edwin [this message]
2007-07-03  9:09 ` Ian Campbell
2007-07-03  9:48   ` Zhai, Edwin
2007-07-03  9:18 ` Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070703093211.GE20797@edwin-srv.sh.intel.com \
    --to=edwin.zhai@intel.com \
    --cc=keir@xensource.com \
    --cc=m+Ian.Pratt@cl.cam.ac.uk \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.