Return-path: Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1Obj5f-0008Na-Gt for kexec@lists.infradead.org; Wed, 21 Jul 2010 23:52:44 +0000 Date: Thu, 22 Jul 2010 08:52:37 +0900 From: Simon Horman Subject: Re: [PATCH v3 0/7] Fixup booting with device trees and uImage/elf on ppc32 Message-ID: <20100721235234.GA9300@verge.net.au> References: <1279687384-9770-1-git-send-email-msm@freescale.com> <20100721080518.GA13972@Chamillionaire.breakpoint.cc> <20100721130944.GM6418@verge.net.au> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Matthew McClintock Cc: muvarov@gmail.com, Sebastian Andrzej Siewior , kexec@lists.infradead.org On Wed, Jul 21, 2010 at 09:54:59AM -0500, Matthew McClintock wrote: > > On Jul 21, 2010, at 8:09 AM, Simon Horman wrote: > > > On Wed, Jul 21, 2010 at 10:05:18AM +0200, Sebastian Andrzej Siewior wrote: > >> * Matthew McClintock | 2010-07-20 23:42:57 [-0500]: > >> > >>> This patch series adds full support for booting with a flat device tree > >>> with either uImage or elf file formats. Kexec and Kdump should work, and > >>> you should also be able to use ramdisks or reuse your current ramdisk as well > >> > >> just had a brief look and will try to look deeper once I'm able to. One > >> thing I'm not sure is whether we want to introduce the --reuse-initrd > >> option. In my opinion it is just bloat. Yes I know the kernel reserves > >> the region where the initrd is loaded by the boot loader but I'm unsure > >> if we want to keep it that way. We are talking here about 10 MiB which > >> remain unused once the system finished booting. If you kexec you have to > >> specify the kernel, why not the initrd as well? > > > > I tend to agree with Sebastian on this one. > > Well, I think it was already around in the code (git grep > OPT_REUSE_INITRD) in some format so I just made it work. I don't tend to > have an opinion one way or the other, but I can see it being quite useful > for people starting off and don't know how to extract their initrd from > their flash or something like that. Otherwise, there is very little > overhead code wise to have it in there. Point taken. On reflection it seems fine to have the option, its not as if people are forced to use it. _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec