Re: [UPDATED PATCH] EFI support for ia32 kernels

From: Eric W. Biederman
Date: Fri Sep 05 2003 - 23:44:00 EST


"Tolentino, Matthew E" <matthew.e.tolentino@xxxxxxxxx> writes:

> > I totally agree that it is reasonable to bypass setup.S. But
> > to do that reliably requires consensus that the 32bit entry point is
> > stable. That has not happen yet, and your patch did nothing to address that.
> I
>
> > know it has to happen because I know the boot process, and what has to
> > happen to boot with a different x86 BIOS implementation.
>
> Ok, so how do we know it is stable and how might one address that? How have you
> addressed this with kexec?

Getting consensus among conservative people is a challenge. I am slowly
working on it but I have been busy with other things.

> > Entering via the 32bit entry point has not been previously discussed.
> > H. Petern Anvin has not been convinced it should be a stable kernel
> > entry point.
>
> Why? I've missed this argument.
>
> The documentation has not been updated. A recent RedHat
> > kernel has even shipped with a different 32bit kernel entry point.
>
> I'm afraid I haven't looked at kexec. Do you employ the standard 32 bit entry
> point or do you actually go back to real mode or something in between?

I use it with the firm knowledge that kernel developers may change it if
the fancy takes them. There are getting to be fewer and fewer reasons
why someone would want to change it but...

> > My hunch is that most of the EFI code should actually live in another
> > subarch. I think the kernel has support for compiling in multiple
> > subarches. If not it is simply because no one has gotten
> > that far yet.
>
> I can see how this could be useful and potentially consolidate the efi related
> code in ia64, the ia32 stuff I've posted, and any other architecture that
> supports efi in the future, but don't know about compiling in multiple subarchs.
> Comments on how this is done?

I haven't had a chance to really look at that yet.

Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/