Re: [tip:x86/asm] x86/mm/64: Enable vmapped stacks (CONFIG_HAVE_ARCH_VMAP_STACK=y)

2016-11-07 Thread Matt Fleming
On Sun, 30 Oct, at 09:21:29AM, Andy Lutomirski wrote: > > @@ -251,7 +277,8 @@ int __init efi_setup_page_tables(unsigned long > > pa_memmap, unsigned num_pages) > > if (!page) > > panic("Unable to allocate EFI runtime stack < 4GB\n"); > > > > - efi_scratch.phys_stack

Re: [tip:x86/asm] x86/mm/64: Enable vmapped stacks (CONFIG_HAVE_ARCH_VMAP_STACK=y)

2016-11-07 Thread Matt Fleming
On Sun, 30 Oct, at 09:21:29AM, Andy Lutomirski wrote: > > @@ -251,7 +277,8 @@ int __init efi_setup_page_tables(unsigned long > > pa_memmap, unsigned num_pages) > > if (!page) > > panic("Unable to allocate EFI runtime stack < 4GB\n"); > > > > - efi_scratch.phys_stack

Re: [tip:x86/asm] x86/mm/64: Enable vmapped stacks (CONFIG_HAVE_ARCH_VMAP_STACK=y)

2016-10-30 Thread Andy Lutomirski
On Mon, Oct 24, 2016 at 6:09 AM, Matt Fleming wrote: > > From d2c17f46686076677da3bf04caa2f69d654f8d8a Mon Sep 17 00:00:00 2001 > From: Matt Fleming > Date: Thu, 20 Oct 2016 22:17:21 +0100 > Subject: [PATCH] x86/efi: Prevent mixed mode boot

Re: [tip:x86/asm] x86/mm/64: Enable vmapped stacks (CONFIG_HAVE_ARCH_VMAP_STACK=y)

2016-10-30 Thread Andy Lutomirski
On Mon, Oct 24, 2016 at 6:09 AM, Matt Fleming wrote: > > From d2c17f46686076677da3bf04caa2f69d654f8d8a Mon Sep 17 00:00:00 2001 > From: Matt Fleming > Date: Thu, 20 Oct 2016 22:17:21 +0100 > Subject: [PATCH] x86/efi: Prevent mixed mode boot corruption with > CONFIG_VMAP_STACK > > Booting an EFI

Re: [tip:x86/asm] x86/mm/64: Enable vmapped stacks (CONFIG_HAVE_ARCH_VMAP_STACK=y)

2016-10-24 Thread Matt Fleming
On Fri, 21 Oct, at 05:18:30PM, Andy Lutomirski wrote: > > This is asking for trouble if any of the variable length parameters > are on the stack. How about adding a "size_t size" parameter and > doing: > > if (!va) { > return 0; > } else if (virt_addr_valid(va)) { > return virt_to_phys(va);

Re: [tip:x86/asm] x86/mm/64: Enable vmapped stacks (CONFIG_HAVE_ARCH_VMAP_STACK=y)

2016-10-24 Thread Matt Fleming
On Fri, 21 Oct, at 05:18:30PM, Andy Lutomirski wrote: > > This is asking for trouble if any of the variable length parameters > are on the stack. How about adding a "size_t size" parameter and > doing: > > if (!va) { > return 0; > } else if (virt_addr_valid(va)) { > return virt_to_phys(va);

Re: [tip:x86/asm] x86/mm/64: Enable vmapped stacks (CONFIG_HAVE_ARCH_VMAP_STACK=y)

2016-10-21 Thread Andy Lutomirski
On Oct 21, 2016 5:32 AM, "Matt Fleming" wrote: > > On Wed, 24 Aug, at 06:03:04AM, tip-bot for Andy Lutomirski wrote: > > Commit-ID: e37e43a497d5a8b7c0cc1736d56986f432c394c9 > > Gitweb: > > http://git.kernel.org/tip/e37e43a497d5a8b7c0cc1736d56986f432c394c9 > >

Re: [tip:x86/asm] x86/mm/64: Enable vmapped stacks (CONFIG_HAVE_ARCH_VMAP_STACK=y)

2016-10-21 Thread Andy Lutomirski
On Oct 21, 2016 5:32 AM, "Matt Fleming" wrote: > > On Wed, 24 Aug, at 06:03:04AM, tip-bot for Andy Lutomirski wrote: > > Commit-ID: e37e43a497d5a8b7c0cc1736d56986f432c394c9 > > Gitweb: > > http://git.kernel.org/tip/e37e43a497d5a8b7c0cc1736d56986f432c394c9 > > Author: Andy Lutomirski >

Re: [tip:x86/asm] x86/mm/64: Enable vmapped stacks (CONFIG_HAVE_ARCH_VMAP_STACK=y)

2016-10-21 Thread Matt Fleming
On Wed, 24 Aug, at 06:03:04AM, tip-bot for Andy Lutomirski wrote: > Commit-ID: e37e43a497d5a8b7c0cc1736d56986f432c394c9 > Gitweb: http://git.kernel.org/tip/e37e43a497d5a8b7c0cc1736d56986f432c394c9 > Author: Andy Lutomirski > AuthorDate: Thu, 11 Aug 2016 02:35:23 -0700 >

Re: [tip:x86/asm] x86/mm/64: Enable vmapped stacks (CONFIG_HAVE_ARCH_VMAP_STACK=y)

2016-10-21 Thread Matt Fleming
On Wed, 24 Aug, at 06:03:04AM, tip-bot for Andy Lutomirski wrote: > Commit-ID: e37e43a497d5a8b7c0cc1736d56986f432c394c9 > Gitweb: http://git.kernel.org/tip/e37e43a497d5a8b7c0cc1736d56986f432c394c9 > Author: Andy Lutomirski > AuthorDate: Thu, 11 Aug 2016 02:35:23 -0700 > Committer: Ingo

[tip:x86/asm] x86/mm/64: Enable vmapped stacks (CONFIG_HAVE_ARCH_VMAP_STACK=y)

2016-08-24 Thread tip-bot for Andy Lutomirski
Commit-ID: e37e43a497d5a8b7c0cc1736d56986f432c394c9 Gitweb: http://git.kernel.org/tip/e37e43a497d5a8b7c0cc1736d56986f432c394c9 Author: Andy Lutomirski AuthorDate: Thu, 11 Aug 2016 02:35:23 -0700 Committer: Ingo Molnar CommitDate: Wed, 24 Aug 2016

[tip:x86/asm] x86/mm/64: Enable vmapped stacks (CONFIG_HAVE_ARCH_VMAP_STACK=y)

2016-08-24 Thread tip-bot for Andy Lutomirski
Commit-ID: e37e43a497d5a8b7c0cc1736d56986f432c394c9 Gitweb: http://git.kernel.org/tip/e37e43a497d5a8b7c0cc1736d56986f432c394c9 Author: Andy Lutomirski AuthorDate: Thu, 11 Aug 2016 02:35:23 -0700 Committer: Ingo Molnar CommitDate: Wed, 24 Aug 2016 12:11:42 +0200 x86/mm/64: Enable