From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763978AbYGABVU (ORCPT ); Mon, 30 Jun 2008 21:21:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756256AbYGABVJ (ORCPT ); Mon, 30 Jun 2008 21:21:09 -0400 Received: from rv-out-0506.google.com ([209.85.198.229]:33003 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755357AbYGABVI (ORCPT ); Mon, 30 Jun 2008 21:21:08 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=XzA/0zdapA88FKvvJrEGKuonsizDwsesmDxbG/6zrNZGU3HTAR6DO5+RcnkLjZ1jH1 KSJQfMNLdbuwfxC8hkFW8tgTy5CAD0m3vKq0eEYvrVtVTrKbeEP/rkhqwN6vbNCCmm7y DeJSvsuVLO1keO+XBmhV6teGOAVzGEcaRAgfM= Message-ID: <86802c440806301821j4d9b100cte6a3e0aee5e3867b@mail.gmail.com> Date: Mon, 30 Jun 2008 18:21:07 -0700 From: "Yinghai Lu" To: "Huang, Ying" Subject: Re: [PATCH 1/2] x86 boot: add E820_RESVD_KERN Cc: "Ingo Molnar" , "H. Peter Anvin" , andi@firstfloor.org, mingo@redhat.com, tglx@linutronix.de, linux-kernel@vger.kernel.org In-Reply-To: <1214874582.27760.0.camel@caritas-dev.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <86802c440806260247p19f5b850r8757c51280912ae9@mail.gmail.com> <86802c440806300034x5bb9b7a1s168bbeaee17e5124@mail.gmail.com> <1214812303.3187.10.camel@caritas-dev.intel.com> <86802c440806300215w31abbcb3h6a42395e11701713@mail.gmail.com> <1214818706.23677.8.camel@caritas-dev.intel.com> <86802c440806301205y35563326rd2ada495a0024441@mail.gmail.com> <20080630191628.GA15366@elte.hu> <86802c440806301553y240b020bh9dc448e8085fe60d@mail.gmail.com> <86802c440806301620hafa3ee3k8c5dbe6c45188d69@mail.gmail.com> <1214874582.27760.0.camel@caritas-dev.intel.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 30, 2008 at 6:09 PM, Huang, Ying wrote: > Hi, Yinghai, > > On Mon, 2008-06-30 at 16:20 -0700, Yinghai Lu wrote: >> On Mon, Jun 30, 2008 at 3:53 PM, Yinghai Lu wrote: >> > On Mon, Jun 30, 2008 at 12:16 PM, Ingo Molnar wrote: >> >> >> >> * Yinghai Lu wrote: >> >> >> >>> > For find_e820_area, this is safe enough. But what about conflict >> >>> > between setup_data and ebda or ramdisk? >> >>> >> >>> can you have setup_data and ebda at the same time? >> >>> >> >>> setup_data and ramdisk should be ok, because bootloader is supposed to >> >>> make them not to be conflicts. >> >> >> >> the more sanity checks we do before relying on some crutial data, the >> >> better. It's easier to panic or sanitize data in some structured way and >> >> complain about it in the syslog than to let things get corrupted. Boot >> >> loaders are ... not unknown to be have bugs too, at times. >> > >> > to address Ying's concern, we could let reserve_setup_data >> > call reserve_early in addition to e820_update_range... >> > >> > reserve_early will panic if RAMDISK overlap efi setup_data... >> > >> >> Ying, >> please check the attached patch > > Which git-x86 head should I use to test the patch? It can not be applied > to x86/master. > tip/master YH