Message ID | 1447370079-30766-1-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
On Thu, Nov 12, 2015 at 03:14:39PM -0800, Kamal Mostafa wrote: > This is a note to let you know that I have just added a patch titled > > x86/setup: Extend low identity map to cover whole kernel range > > to the linux-3.19.y-queue branch of the 3.19.y-ckt extended stable tree > which can be found at: > > http://kernel.ubuntu.com/git/ubuntu/linux.git/log/?h=linux-3.19.y-queue > > This patch is scheduled to be released in version 3.19.8-ckt10. > > If you, or anyone else, feels it should not be added to this tree, please > reply to this email. You stable people need better communication: I already replied to Greg's submission that this patch is b0rked, now you're picking it up too. And @stable was on CC...
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index ab4734e..5f660ca 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c @@ -1188,6 +1188,14 @@ void __init setup_arch(char **cmdline_p) clone_pgd_range(initial_page_table + KERNEL_PGD_BOUNDARY, swapper_pg_dir + KERNEL_PGD_BOUNDARY, KERNEL_PGD_PTRS); + + /* + * sync back low identity map too. It is used for example + * in the 32-bit EFI stub. + */ + clone_pgd_range(initial_page_table, + swapper_pg_dir + KERNEL_PGD_BOUNDARY, + KERNEL_PGD_PTRS); #endif tboot_probe();