From patchwork Mon Jun 1 06:25:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pratyush Anand X-Patchwork-Id: 6517671 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E617FC0020 for ; Mon, 1 Jun 2015 06:32:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 14E002054B for ; Mon, 1 Jun 2015 06:32:05 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1CCDC205EE for ; Mon, 1 Jun 2015 06:32:04 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YzJDC-00070l-Om; Mon, 01 Jun 2015 06:28:38 +0000 Received: from mx1.redhat.com ([209.132.183.28]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YzJAR-0004fy-R0 for linux-arm-kernel@lists.infradead.org; Mon, 01 Jun 2015 06:25:48 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 62DA33663D4; Mon, 1 Jun 2015 06:25:26 +0000 (UTC) Received: from localhost.localdomain (dhcp-0-82.del.redhat.com [10.65.144.82]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t516PM6k022898; Mon, 1 Jun 2015 02:25:23 -0400 Message-ID: <556BFAD1.7010907@redhat.com> Date: Mon, 01 Jun 2015 11:55:21 +0530 From: Pratyush Anand User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Timur Tabi Subject: Re: ARM64 kexec/kdump timeline References: <555E37FC.9020800@codeaurora.org> <1432239334.1922.7.camel@infradead.org> <55653538.8020206@codeaurora.org> <2420285.dn5MbvMKXS@wuerfel> <55664FD9.1090808@codeaurora.org> In-Reply-To: <55664FD9.1090808@codeaurora.org> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150531_232547_929298_9BDEF0FE X-CRM114-Status: GOOD ( 11.71 ) X-Spam-Score: -5.0 (-----) Cc: Geoff Levand , takahiro.akashi@linaro.org, linux-arm-kernel@lists.infradead.org, Arnd Bergmann X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Thursday 28 May 2015 04:44 AM, Timur Tabi wrote: > On 05/27/2015 11:39 AM, Arnd Bergmann wrote: >> ACPI support has just been merged and is still experimental. You >> should be able to boot your system by passing a DT blob at the >> initial boot that matches your hardware. Can you try if that >> makes kexec work? > > If I had an initial DT blob that matched by hardware, I wouldn't need > ACPI support! This is an ARM64 Server system. There is no device tree > for the hardware. Everything is in ACPI. So what error do you see when you execute kexec. We had seen a failure with check_cpu_nodes(), when booting with ACPI without any DTB. If you see the similar failure, then can you pl try following: * Put the DTB after the kernel with an alignment of 128 KiB, giving ~Pratyush diff --git a/kexec/arch/arm64/kexec-arm64.c b/kexec/arch/arm64/kexec-arm64.c index 7b219097dfff..8e085212d8a5 100644 --- a/kexec/arch/arm64/kexec-arm64.c +++ b/kexec/arch/arm64/kexec-arm64.c @@ -640,7 +640,7 @@ int arm64_load_other_segments(struct kexec_info *info, result = check_cpu_nodes(&dtb_1, &dtb_2); if (result) - return result; + fprintf(stderr, "kexec: Warning: No device tree available.\n"); /*