Re: [PATCH v4 15/75] x86/boot/compressed/64: Always switch to own page-table

2020-07-14 Thread Kees Cook
On Tue, Jul 14, 2020 at 02:08:17PM +0200, Joerg Roedel wrote: > From: Joerg Roedel > > When booted through startup_64 the kernel keeps running on the EFI > page-table until the KASLR code sets up its own page-table. Without > KASLR the pre-decompression boot code never switches off the EFI > page

[PATCH v4 15/75] x86/boot/compressed/64: Always switch to own page-table

2020-07-14 Thread Joerg Roedel
From: Joerg Roedel When booted through startup_64 the kernel keeps running on the EFI page-table until the KASLR code sets up its own page-table. Without KASLR the pre-decompression boot code never switches off the EFI page-table. Change that by unconditionally switching to a kernel controlled pa