Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755422Ab1FHTaT (ORCPT ); Wed, 8 Jun 2011 15:30:19 -0400 Received: from cavan.codon.org.uk ([93.93.128.6]:43108 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754903Ab1FHTaQ (ORCPT ); Wed, 8 Jun 2011 15:30:16 -0400 Date: Wed, 8 Jun 2011 20:29:50 +0100 From: Matthew Garrett To: Yinghai Lu Cc: Jim Bos , "H. Peter Anvin" , Ingo Molnar , Thomas Gleixner , Maarten Lankhorst , Linux Kernel Mailing List , Greg KH , Linus Torvalds , Andrew Morton Subject: Re: 2.6.39.1 immediately reboots/resets on EFI system Message-ID: <20110608192950.GA29235@srcf.ucam.org> References: <20110607014127.GA8450@srcf.ucam.org> <4DED8752.5070005@kernel.org> <4DEDEA73.7010900@gmail.com> <4DEE17F9.6020503@gmail.com> <4DEEA548.5020405@kernel.org> <4DEFA6E3.6090809@xs4all.nl> <4DEFCAE0.6050700@kernel.org> <20110608192321.GA28865@srcf.ucam.org> <4DEFCD07.5020505@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DEFCD07.5020505@kernel.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@cavan.codon.org.uk X-SA-Exim-Scanned: No (on cavan.codon.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1439 Lines: 33 On Wed, Jun 08, 2011 at 12:27:03PM -0700, Yinghai Lu wrote: > On 06/08/2011 12:23 PM, Matthew Garrett wrote: > > On Wed, Jun 08, 2011 at 12:17:52PM -0700, Yinghai Lu wrote: > >> we need to revert patch from mjg. > >> > >> From 916f676f8dc016103f983c7ec54c18ecdbb6e349 Mon Sep 17 00:00:00 2001 > >> From: Matthew Garrett > >> Date: Wed, 25 May 2011 09:53:13 -0400 > >> Subject: [PATCH] x86, efi: Retain boot service code until after switching to > >> virtual mode > > > > That's not a long-term option, since we have no way to distinguish > > between a machine that requires boot services code to be mapped and a > > machine that doesn't. Reverting just breaks the former set again. > > what former? you can not fix some corner case by breaking most other cases. All Dell laptops, all new Apples, some Lenovos, various Intel server platforms. That I've found so far. > > We need to ensure that the kernel isn't overlapping boot services code. > > bootloader will put kernel from 16M, and boot services are on those area already. And we need to be able to map the boot services code, so we can't put the kernel on top of it. -- Matthew Garrett | mjg59@srcf.ucam.org -- 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/