Borislav Petkov
2020-Apr-06 11:56 UTC
[PATCH 15/70] x86/boot/compressed/64: Always switch to own page-table
On Thu, Mar 19, 2020 at 10:13:12AM +0100, Joerg Roedel wrote:> From: Joerg Roedel <jroedel at suse.de> > > 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 our own > page-table once the kernel is relocated. > > This makes sure we can make changes to the mapping when necessary, forPls use passive voice in your commit message: no "we" or "I", etc, and describe your changes in imperative mood. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette
Maybe Matching Threads
- [PATCH v4 15/75] x86/boot/compressed/64: Always switch to own page-table
- [PATCH v3 12/75] x86/boot/compressed/64: Switch to __KERNEL_CS after GDT is loaded
- [PATCH v3 13/75] x86/boot/compressed/64: Add IDT Infrastructure
- [PATCH 08/62] x86/boot/compressed/64: Add IDT Infrastructure
- [PATCH v6 31/76] x86/head/64: Setup MSR_GS_BASE before calling into C code