Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756119Ab2JVV1x (ORCPT ); Mon, 22 Oct 2012 17:27:53 -0400 Received: from terminus.zytor.com ([198.137.202.10]:36841 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750950Ab2JVV1w (ORCPT ); Mon, 22 Oct 2012 17:27:52 -0400 Message-ID: <5085BA4A.30800@zytor.com> Date: Mon, 22 Oct 2012 14:27:38 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: Yinghai Lu CC: "H. Peter Anvin" , Jacob Shin , Tom Rini , "linux-kernel@vger.kernel.org" , "stable@kernel.org" Subject: Re: BUG: 1bbbbe7 (x86: Exclude E820_RESERVED regions...) PANIC on boot References: <903a3ead-98b5-4afa-88a4-3dc723895e82@blur> <50833F30.4020802@ti.com> <20121021041858.GA14809@jshin-Toonie> <50843627.4020103@ti.com> <20121021210633.GA14311@jshin-Toonie> <508467EE.4040807@ti.com> <20121022144020.GA14425@jshin-Toonie> <20121022183858.GA31185@jshin-Toonie> <5085ABEF.3060502@linux.intel.com> <5085B207.5010907@linux.intel.com> In-Reply-To: X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 944 Lines: 25 On 10/22/2012 02:25 PM, Yinghai Lu wrote: > On Mon, Oct 22, 2012 at 1:52 PM, H. Peter Anvin wrote: >> On 10/22/2012 01:50 PM, Yinghai Lu wrote: >>> ok, let's see if we can meet this extreme corner case except user >>> specify not page aligned "memmap=" >> >> If it is *only* memmap= there is a very simple solution: if the memmap >> is RAM then we round up the starting address and round down the end >> address; if the memmap is not RAM then we round up instead... > > We never know that bios guys will not let bios produce crazy e820 map. > Yeah, well, that just *will* happen... that's a given. We can trim those ranges, though. Who cares if we lose some RAM. -hpa -- 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/