From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [GIT PULL] EFI urgent fix Date: Fri, 16 Oct 2015 12:04:18 +0200 Message-ID: <20151016100418.GA23046@gmail.com> References: <1444989706-11602-1-git-send-email-matt@codeblueprint.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1444989706-11602-1-git-send-email-matt-mF/unelCI9GS6iBeEJttW/XRex20P6io@public.gmane.org> Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Matt Fleming Cc: Thomas Gleixner , "H. Peter Anvin" , Matt Fleming , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Andy Lutomirski , Borislav Petkov , Laszlo Ersek , Paolo Bonzini , stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-efi@vger.kernel.org * Matt Fleming wrote: > From: Matt Fleming > > Folks, the below fix from Paolo addresses an issue causing 32-bit > non-PAE kernels to triple fault on EFI boot. The issue is that the > physical address of the GDT that gets used in efi_call_phys_prolog() > won't be covered by the identitty mapping in initial_page_table. > > The following changes since commit 8a53554e12e98d1759205afd7b8e9e2ea0936f48: > > x86/efi: Fix multiple GOP device support (2015-10-14 16:02:43 +0200) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-urgent > > for you to fetch changes up to f5f3497cad8c8416a74b9aaceb127908755d020a: > > x86/setup: Extend low identity map to cover whole kernel range (2015-10-16 10:52:29 +0100) > > ---------------------------------------------------------------- > * Ensure that the identity mapping in initial_page_table is updated > to cover the entire kernel range. This fixes a triple fault on > non-PAE kernels when booting on 32-bit EFI due to accessing an > unmapped GDT in efi_call_phys_prolog() - Paolo Bonzini > > ---------------------------------------------------------------- > Paolo Bonzini (1): > x86/setup: Extend low identity map to cover whole kernel range > > arch/x86/kernel/setup.c | 8 ++++++++ > 1 file changed, 8 insertions(+) Pulled, thanks Matt! Ingo From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753742AbbJPKEZ (ORCPT ); Fri, 16 Oct 2015 06:04:25 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:36099 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751371AbbJPKEX (ORCPT ); Fri, 16 Oct 2015 06:04:23 -0400 Date: Fri, 16 Oct 2015 12:04:18 +0200 From: Ingo Molnar To: Matt Fleming Cc: Thomas Gleixner , "H. Peter Anvin" , Matt Fleming , linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, Andy Lutomirski , Borislav Petkov , Laszlo Ersek , Paolo Bonzini , stable@vger.kernel.org Subject: Re: [GIT PULL] EFI urgent fix Message-ID: <20151016100418.GA23046@gmail.com> References: <1444989706-11602-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: <1444989706-11602-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: > From: Matt Fleming > > Folks, the below fix from Paolo addresses an issue causing 32-bit > non-PAE kernels to triple fault on EFI boot. The issue is that the > physical address of the GDT that gets used in efi_call_phys_prolog() > won't be covered by the identitty mapping in initial_page_table. > > The following changes since commit 8a53554e12e98d1759205afd7b8e9e2ea0936f48: > > x86/efi: Fix multiple GOP device support (2015-10-14 16:02:43 +0200) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-urgent > > for you to fetch changes up to f5f3497cad8c8416a74b9aaceb127908755d020a: > > x86/setup: Extend low identity map to cover whole kernel range (2015-10-16 10:52:29 +0100) > > ---------------------------------------------------------------- > * Ensure that the identity mapping in initial_page_table is updated > to cover the entire kernel range. This fixes a triple fault on > non-PAE kernels when booting on 32-bit EFI due to accessing an > unmapped GDT in efi_call_phys_prolog() - Paolo Bonzini > > ---------------------------------------------------------------- > Paolo Bonzini (1): > x86/setup: Extend low identity map to cover whole kernel range > > arch/x86/kernel/setup.c | 8 ++++++++ > 1 file changed, 8 insertions(+) Pulled, thanks Matt! Ingo