[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xen-ia64-devel
Subject:    Re: [Xen-ia64-devel] Re: ia64 kexec: xen -> linux
From:       Tristan Gingold <Tristan.Gingold () bull ! net>
Date:       2006-09-28 12:47:37
Message-ID: 200609281447.37960.Tristan.Gingold () bull ! net
[Download RAW message or body]

Le Jeudi 28 Septembre 2006 14:34, Magnus Damm a écrit :
> On 9/28/06, Tristan Gingold <Tristan.Gingold@bull.net> wrote:
> > Le Jeudi 28 Septembre 2006 03:27, Horms a écrit :
> > > On Wed, Sep 27, 2006 at 11:52:12AM +0200, Tristan Gingold wrote:
> > > > Linux and xen call efi in real mode if set_virtual_address_map fails.
> > > > You may add an option in both xen and linux to force calling efi in
> > > > real mode. This should be really simple and you will be able to make
> > > > progress.
> > >
> > > Great, I will test this out and see how it goes.
> > >
> > > > The only possible drawback is performance.
> > >
> > > What kind of performance issues would you expect?
> >
> > Making EFI calls in physical mode is slower: Linux must switch from and
> > to virtual mode.
> >
> > However EFI calls are very unfrequent so the impact should be almost nul.
>
> This makes me wonder - is it really worth having two code paths in that
> case?
According to linux/arch/ia64/kernel/efi.c, the code to switch efi to virtual 
mode was added later.  I don't know why this was added.  Maybe the answer is 
in the web?

Tristan.

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic