Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753211Ab1FHVGp (ORCPT ); Wed, 8 Jun 2011 17:06:45 -0400 Received: from cavan.codon.org.uk ([93.93.128.6]:41971 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751141Ab1FHVGo (ORCPT ); Wed, 8 Jun 2011 17:06:44 -0400 Date: Wed, 8 Jun 2011 22:06:23 +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: <20110608210623.GA32056@srcf.ucam.org> References: <20110608193833.GA29855@srcf.ucam.org> <4DEFD220.5040507@kernel.org> <20110608195250.GB30256@srcf.ucam.org> <4DEFD58D.5060402@kernel.org> <20110608200903.GA30694@srcf.ucam.org> <4DEFDA4A.9080500@kernel.org> <20110608203037.GA31052@srcf.ucam.org> <4DEFDD69.7010000@kernel.org> <20110608204244.GA31484@srcf.ucam.org> <4DEFDFB5.3030706@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DEFDFB5.3030706@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: 914 Lines: 22 On Wed, Jun 08, 2011 at 01:46:45PM -0700, Yinghai Lu wrote: > On 06/08/2011 01:42 PM, Matthew Garrett wrote: > > On Wed, Jun 08, 2011 at 01:36:57PM -0700, Yinghai Lu wrote: > > > >> or just let bootloader to mark those boot services just like run-time services in e820 table or setupdata? > > > > That was my original approach, but if there's boot services code at the > > top of RAM it means that max_pfn is wrong and it's difficult to recover > > the memory. > > not all boot services ram. just those are called by run-time services code. We have no way of telling which regions those are until they've been called. -- 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/