From mboxrd@z Thu Jan 1 00:00:00 1970 From: Borislav Petkov Subject: Re: [GIT PULL] x86/mm changes for v4.4 Date: Fri, 6 Nov 2015 14:24:47 +0100 Message-ID: <20151106132447.GB19522@pd.tnic> References: <20151103111649.GA3477@gmail.com> <20151104233907.GA25925@codemonkey.org.uk> <20151105021710.GA22941@codemonkey.org.uk> <20151106065549.GA2031@gmail.com> <20151106130948.GD2651@codeblueprint.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <20151106130948.GD2651-mF/unelCI9GS6iBeEJttW/XRex20P6io@public.gmane.org> Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Matt Fleming Cc: Andy Lutomirski , Ingo Molnar , Linus Torvalds , Stephen Smalley , Dave Jones , Linux Kernel Mailing List , Thomas Gleixner , "H. Peter Anvin" , Andrew Morton , Andy Lutomirski , Denys Vlasenko , Kees Cook , linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-efi@vger.kernel.org On Fri, Nov 06, 2015 at 01:09:48PM +0000, Matt Fleming wrote: > On Thu, 05 Nov, at 11:05:35PM, Andy Lutomirski wrote: > > > > Admittedly, we might need to use a certain amount of care to avoid > > interesting conflicts with the vmap mechanism. We might need to vmap > > all of the EFI stuff, and possibly even all the top-level entries that > > contain EFI stuff (i.e. exactly one of them unless EFI ends up *huge*) > > as a blank not-present region to avoid overlaps, but that's not a big > > deal. > > There shouldn't be any room for conflicting with vmap() because the VA > region where we map EFI regions is still carved out especially for us. > > Right Boris? Yap: ffffea0000000000 - ffffeaffffffffff (=40 bits) virtual memory map (1TB) vs ffffffef00000000 - ffffffff00000000 EFI region in trampoline_pgd the new pagetable will make that issue moot too. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.