From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965836AbbJ0Rlr (ORCPT ); Tue, 27 Oct 2015 13:41:47 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:38868 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965443AbbJ0Rlo (ORCPT ); Tue, 27 Oct 2015 13:41:44 -0400 Date: Tue, 27 Oct 2015 18:41:39 +0100 From: Ingo Molnar To: Matt Fleming Cc: Thomas Gleixner , "H . Peter Anvin" , linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, Borislav Petkov , Dave Hansen , Glenn P Williamson , Ravi Shankar , Ricardo Neri , Sai Praneeth Prakhya Subject: Re: [GIT PULL] EFI changes for v4.4 Message-ID: <20151027174139.GA12877@gmail.com> References: <1445770144-22280-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: <1445770144-22280-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 * Matt Fleming wrote: > Folks, please pull the following bugfix from Sai which prevents a > kernel panic when booting an EFI machine with CONFIG_DEBUG_VIRTUAL > enabled. > > This bug was reported last year by Dave Hansen, > > https://lkml.kernel.org/r/5462999A.7090706@intel.com > > and since nobody else has reported it, and given that it's only > triggerable with a debug config option, I figured this should be > targeted at v4.4. > > The following changes since commit 0f96a99dab366333439e110d6ad253bc7c557c09: > > efi: Add "efi_fake_mem" boot option (2015-10-12 14:20:09 +0100) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-next > > for you to fetch changes up to 2c66e24d75d424919c42288b418d2e593fa818b1: > > x86/efi: Fix kernel panic when CONFIG_DEBUG_VIRTUAL is enabled (2015-10-25 10:22:25 +0000) > > ---------------------------------------------------------------- > * Fix a kernel panic by not passing EFI virtual mapping addresses to > __pa() in the x86 pageattr code. Since these virtual addreses are > not part of the direct mapping or kernel text mapping, passing them > to __pa() will trigger a BUG_ON() when CONFIG_DEBUG_VIRTUAL is > enabled - Sai Praneeth Prakhya > > ---------------------------------------------------------------- > Sai Praneeth (1): > x86/efi: Fix kernel panic when CONFIG_DEBUG_VIRTUAL is enabled > > arch/x86/mm/pageattr.c | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) Pulled, thanks Matt! Ingo