Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753309Ab1FHUYo (ORCPT ); Wed, 8 Jun 2011 16:24:44 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:59091 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752798Ab1FHUYk (ORCPT ); Wed, 8 Jun 2011 16:24:40 -0400 Message-ID: <4DEFDA4A.9080500@kernel.org> Date: Wed, 08 Jun 2011 13:23:38 -0700 From: Yinghai Lu User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10 MIME-Version: 1.0 To: Matthew Garrett 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 References: <4DEFA6E3.6090809@xs4all.nl> <4DEFCAE0.6050700@kernel.org> <20110608192321.GA28865@srcf.ucam.org> <4DEFCD07.5020505@kernel.org> <20110608192950.GA29235@srcf.ucam.org> <4DEFCF1A.9030400@kernel.org> <20110608193833.GA29855@srcf.ucam.org> <4DEFD220.5040507@kernel.org> <20110608195250.GB30256@srcf.ucam.org> <4DEFD58D.5060402@kernel.org> <20110608200903.GA30694@srcf.ucam.org> In-Reply-To: <20110608200903.GA30694@srcf.ucam.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Source-IP: rtcsinet21.oracle.com [66.248.204.29] X-CT-RefId: str=0001.0A090204.4DEFDA54.0079,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1467 Lines: 34 On 06/08/2011 01:09 PM, Matthew Garrett wrote: > On Wed, Jun 08, 2011 at 01:03:25PM -0700, Yinghai Lu wrote: >> On 06/08/2011 12:52 PM, Matthew Garrett wrote: >>> On Wed, Jun 08, 2011 at 12:48:48PM -0700, Yinghai Lu wrote: >>>> On 06/08/2011 12:38 PM, Matthew Garrett wrote: >>>>> On Wed, Jun 08, 2011 at 12:35:54PM -0700, Yinghai Lu wrote: >>>>>> On 06/08/2011 12:29 PM, Matthew Garrett wrote: >>>>>>>> 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. >>>>>> >>>>>> do you mean before that patch, all those machine will not boot linux kernel with UEFI support? >>>>> >>>>> Correct. >>>> >>>> with or without EFI runtime services? >>> >>> They'll boot with noefi, but that's useless because there's then no way >>> to configure a bootloader. >> >> efibootmgr will need boot services in addition to run-time services? > > No, SetVirtualAddressMap() calls into boot services. This is code, not > data. We have no control over what it does. Maybe you can parse efimeminfo in arch/x86/boot/compressed/head_64.S to find right decompress position for kernel. Yinghai -- 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/