Re: [PATCHv2 2/5] x86/boot/compressed/64: Find a place for 32-bit trampoline

2018-03-06 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > On Tue, Feb 27, 2018 at 06:42:14PM +0300, Kirill A. Shutemov wrote: > > If a bootloader enables 64-bit mode with 4-level paging, we might need to > > switch over to 5-level paging. The switching requires the disabling of > > paging, which works fine if kernel itself

Re: [PATCHv2 2/5] x86/boot/compressed/64: Find a place for 32-bit trampoline

2018-02-28 Thread Kirill A. Shutemov
On Tue, Feb 27, 2018 at 06:42:14PM +0300, Kirill A. Shutemov wrote: > If a bootloader enables 64-bit mode with 4-level paging, we might need to > switch over to 5-level paging. The switching requires the disabling of > paging, which works fine if kernel itself is loaded below 4G. > > But if the bo