From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id DCCA2B6EE9 for ; Mon, 19 Jul 2010 10:09:21 +1000 (EST) Subject: Re: [PATCH V4] powerpc/prom: Export device tree physical address via proc From: Benjamin Herrenschmidt To: Grant Likely In-Reply-To: References: <1279120733-13584-1-git-send-email-msm@freescale.com> <1279207159.30737.11.camel@localhost> Content-Type: text/plain; charset="UTF-8" Date: Mon, 19 Jul 2010 10:09:13 +1000 Message-ID: <1279498153.10390.1764.camel@pasglop> Mime-Version: 1.0 Cc: Matthew McClintock , Kumar Gala , linuxppc-dev@lists.ozlabs.org, Timur Tabi List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 2010-07-15 at 10:22 -0600, Grant Likely wrote: > What is your starting point? Where does the device tree (and > memreserve list) come from > that you're passing to kexec? My first impression is that if you have > to scrub the memreserve list, then the source being used to > obtain the memreserves is either faulty or unsuitable to the task. The kernel should ultimately pass the thing to userspace I reckon, with an appropriate hook for platform code to insert/recover reserved regions. Ben.