From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Date: Thu, 6 Nov 2014 09:56:42 +0800 From: Dave Young Subject: Re: [PATCH 00/10] arm64 kexec kernel patches V5 Message-ID: <20141106015642.GA2569@darkstar.nay.redhat.com> References: <20141031075209.GH3290@darkstar.nay.redhat.com> <20141103194634.GA30366@leverpostej> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20141103194634.GA30366@leverpostej> 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" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Mark Rutland Cc: Geoff Levand , Catalin Marinas , Will Deacon , Marc Zyngier , "linux-arm-kernel@lists.infradead.org" , "grant.likely@linaro.org" , "kexec@lists.infradead.org" , "christoffer.dall@linaro.org" On 11/03/14 at 07:46pm, Mark Rutland wrote: > On Fri, Oct 31, 2014 at 07:52:09AM +0000, Dave Young wrote: > > Hi Geoff > > > > I tested your patches. The macihne is using spin-table cpu enable method > > so I tried maxcpus=1 as you suggested. > > > > There's below issues for me, thoughts? > > > > 1. For acpi booting there's no /proc/device-tree so kexec can not find dtb > > to use. > > Are you absolutely certain of this? > > To use ACPI, you must have booted via EFI, as the only mechanism for > finding the ACPI tables is via EFI. If booted via EFI, the stub will > have created a stub DTB if there is no provided DTB, to pass the command > line and pointers to EFI data structures. This stub DTB should be > present in the usual place. Mark, I used kexec-tools from Geoff's git tree, it will create dtb from procfs maybe I can pass external dtb to kexec-tools. What you mentioned should be true though but I have not get idea how to get the dtb which kernel is using for boot since it is not unflattened. Thanks Dave _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec