Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751851AbbK2IS0 (ORCPT ); Sun, 29 Nov 2015 03:18:26 -0500 Received: from mail-wm0-f42.google.com ([74.125.82.42]:34801 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750961AbbK2ISY (ORCPT ); Sun, 29 Nov 2015 03:18:24 -0500 Date: Sun, 29 Nov 2015 09:18:20 +0100 From: Ingo Molnar To: Matt Fleming Cc: Thomas Gleixner , "H . Peter Anvin" , Toshi Kani , linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, Andrew Morton , Andy Lutomirski , Borislav Petkov , Dave Hansen , Dave Jones , Denys Vlasenko , Linus Torvalds , Sai Praneeth Prakhya , Stephen Smalley Subject: Re: [GIT PULL v4 0/6] EFI page table isolation Message-ID: <20151129081820.GA24006@gmail.com> References: <1448658575-17029-1-git-send-email-matt@codeblueprint.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1448658575-17029-1-git-send-email-matt@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: 1406 Lines: 36 * Matt Fleming wrote: > Folks, > > This patch series is a response to the report that the EFI region > mappings trigger warnings when booting with CONFIG_DEBUG_WX enabled. > They allocate a new page table structure and ensure that all the > mappings we require during EFI runtime calls are only setup there. > > It turns out that it still makes sense to share some page table > entries with 'swapper_pg_dir', just not the entries where we need to > allow security lax permissions. Sharing entries is useful for memory > hotplug, for example. > > When writing this series I discovered a number of bugs in the existing > code that only became apparent when we stopped using 'trampoline_pgd' > which already mapped a bunch of things for us. I've put those bug > fixes at the start of the series. > > Further testing would be very much appreciated as this is a > notoriously funky area of the EFI code. Ok, this series looks great to me - I've applied this to tip:x86/efi and will push it out to linux-next after it passes some local testing. There should be time enough before v4.5 to figure out potential bugs. Thanks, Ingo -- 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/