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

From: Cyrill Gorcunov
Date: Tue Feb 13 2018 - 13:32:37 EST


On Sun, Feb 11, 2018 at 04:19:38AM -0800, tip-bot for Kirill A. Shutemov wrote:
...
> diff --git a/arch/x86/boot/compressed/head_64.S b/arch/x86/boot/compressed/head_64.S
> index d598d65..af9ffbd 100644
> --- a/arch/x86/boot/compressed/head_64.S
> +++ b/arch/x86/boot/compressed/head_64.S
...
> @@ -586,3 +604,7 @@ pgtable:
> .fill BOOT_PGT_SIZE, 1, 0
> lvl5_pgtable:
> .fill PAGE_SIZE, 1, 0
> +
> + .global pgtable_trampoline
> +pgtable_trampoline:
> + .fill 4096, 1, 0

Btw, Kirill, while you're at this code: 4096 might be changed to PAGE_SIZE I think.
(of course on top of the series, when you have a spare minute, just for polishing)