Re: [PATCH RFC 0/2] x86/boot: Introduce the setup_header2

From: Daniel Kiper
Date: Thu Jun 06 2019 - 07:55:27 EST


On Wed, Jun 05, 2019 at 10:01:17AM -0400, Konrad Rzeszutek Wilk wrote:
> On Wed, Jun 05, 2019 at 03:50:31PM +0200, Daniel Kiper wrote:
> > On Fri, May 24, 2019 at 11:55:02AM +0200, Daniel Kiper wrote:
> > > Hi,
> > >
> > > This change is needed to properly start the Linux kernel in Intel TXT mode and
> > > is a part of the TrenchBoot project (https://github.com/TrenchBoot).
>
> Can you please expand more on this?
>
> Nice explanation of why, other alternative solutions that didn't work, and so on.

OK.

> > > Daniel
> > >
> > > Documentation/x86/boot.txt | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
> > > arch/x86/Kconfig | 7 +++++++
> > > arch/x86/boot/Makefile | 2 +-
> > > arch/x86/boot/compressed/Makefile | 5 +++--
> > > arch/x86/boot/compressed/setup_header2.S | 18 ++++++++++++++++++
> > > arch/x86/boot/compressed/sl_stub.S | 28 ++++++++++++++++++++++++++++
> > > arch/x86/boot/header.S | 3 ++-
> > > arch/x86/boot/tools/build.c | 8 ++++++++
> > > arch/x86/include/uapi/asm/bootparam.h | 1 +
> > > 9 files changed, 123 insertions(+), 4 deletions(-)
> > >
> > > Daniel Kiper (2):
> > > x86/boot: Introduce the setup_header2
> > > x86/boot: Introduce dummy MLE header
> >
> > Ping?
>
> Can you add Ingo and Thomas to the To: next time please?

OK.

> Also please drop the second patch.

Why? This is an example how to use the setup_header2.

Daniel