Re: [tip:x86/boot] x86/boot/compressed/64: Prepare trampoline memory

From: Ingo Molnar
Date: Mon Feb 26 2018 - 02:50:40 EST



* Ingo Molnar <mingo@xxxxxxxxxx> wrote:

> We need to re-do this as we have now run into _exactly_ the kind of difficult to
> debug bug that I was worried about when I insisted on the many iterations of
> this patch-set...

Ok, so I rebased tip:x86/mm and removed these two commits:

adf9ca9c69a2: x86/boot/compressed/64: Handle 5-level paging boot if kernel is above 4G

arch/x86/boot/compressed/head_64.S | 127 ++++++++++++++++++++++++++-----------
1 file changed, 89 insertions(+), 38 deletions(-)

b91993a87aff: x86/boot/compressed/64: Prepare trampoline memory

arch/x86/boot/compressed/head_64.S | 24 ++++++++++-
arch/x86/boot/compressed/pgtable.h | 18 ++++++++
arch/x86/boot/compressed/pgtable_64.c | 79 +++++++++++++++++++++++++++++++++++
3 files changed, 120 insertions(+), 1 deletion(-)

The other 5-level paging related commits tested out fine and are properly
fine-grained.

Please split these two patches up - the first patch can probably be split up into
5 parts or so. Let's start with no more than 5 patches per iteration, ok?

Thanks,

Ingo