[PATCH] x86: do not enable efi boot for sgi uv machine

Dave Young dyoung at redhat.com
Sun May 25 18:58:01 PDT 2014


On Fri, May 23, 2014 at 02:02:10PM -0500, Alex Thorlton wrote:
> On Fri, May 23, 2014 at 11:19:30AM -0500, Russ Anderson wrote:
> > On Fri, May 23, 2014 at 05:54:11PM +0200, Borislav Petkov wrote:
> > > On Fri, May 23, 2014 at 09:47:08AM -0400, Dave Young wrote:
> > > > Hi,
> > > > 
> > > > Vivek, replying with webmail, sorry for the formatting issue.
> > > > 
> > > > Another way is export the mapping scheme in sysfs. So if kernel boot
> > > > with efi=old_map we can detect it as well. OTOH in future there's probably
> > > > other quirk system.
> > > > 
> > > > So kexec-tools can switch to use old way if kernel use ioremap.
> 
> This sounds like a good approach to use, but I think we should still
> have a way to force it to use the old way if necessary (can't think of a
> use case for that off the top of my head, but I'm sure someone can :)
> 
> I think a sort of hybrid approach between detecting the mapping scheme,
> and having a command-line option would probably be best:
> 
> - Detect which mapping method we used.
> - Default to noefi if the old mapping method was used, default to
>   efi if new mapping was used.

Agree because the efi=old_map

> - Allow users to specify either --efi or --noefi when kexec'ing to
>   override the suggested default, determined above.

I can not think out of such a case, but who knows. I can work on a '--noefi'
patch. 

Thanks
Dave



More information about the kexec mailing list