Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932980AbbKFNY5 (ORCPT ); Fri, 6 Nov 2015 08:24:57 -0500 Received: from mail.skyhub.de ([78.46.96.112]:38539 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932883AbbKFNYz (ORCPT ); Fri, 6 Nov 2015 08:24:55 -0500 Date: Fri, 6 Nov 2015 14:24:47 +0100 From: Borislav Petkov 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@vger.kernel.org Subject: Re: [GIT PULL] x86/mm changes for v4.4 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 Content-Disposition: inline In-Reply-To: <20151106130948.GD2651@codeblueprint.co.uk> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1191 Lines: 35 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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/