From patchwork Wed Sep 7 04:32:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 9318179 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E34E4607D3 for ; Wed, 7 Sep 2016 04:28:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D605128FFD for ; Wed, 7 Sep 2016 04:28:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CAB5C29008; Wed, 7 Sep 2016 04:28:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5897B28FFD for ; Wed, 7 Sep 2016 04:28:27 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bhURn-0004Dy-5l; Wed, 07 Sep 2016 04:26:51 +0000 Received: from mail-pf0-x232.google.com ([2607:f8b0:400e:c00::232]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bhUR2-0003OV-M9 for linux-arm-kernel@lists.infradead.org; Wed, 07 Sep 2016 04:26:11 +0000 Received: by mail-pf0-x232.google.com with SMTP id 128so2032407pfb.3 for ; Tue, 06 Sep 2016 21:25:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Xwmsjtejmvt+0gT5Op/rAdzdOrwJiJxZ/RAos9mjX8s=; b=BRoVOX0RLdu/rqBDUBVqQ/c4n+Xh7cv+xLFBoGnIE/1T48/VgORmgs6e8tYASW6+Zm Yyq+PyiSwJ3Q7O/sU5G8KoBjhoSIPyGXJx+y9YmTPx3LA6xXKYo+Y63ExXIVYFSZ+xtO QfTXx5Eib6BqdMVlt4wEDSfMoqpeHu7mBCQSg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Xwmsjtejmvt+0gT5Op/rAdzdOrwJiJxZ/RAos9mjX8s=; b=CBaDNnxry9dASchmMzNVJj0O7dVu/Mtfa66T/12ZbRg1ikH7HXNoJhQ2ABFSO2Kf4d vP4KKaV57w1+xb+MM1BICo6zEFVxXX/YInQRQVPgxdNVvu1SB8+m6uESPQeEzucnFoaq HzRhSKKa1353PaqpLx4YiIcJySqvHULKjKK7ejW2FMSBIiwVP57FPwUcRbmtbaCwifWg 4pmNzDjpIAAWrAtFQ8bMCtJ3A5mmqAj/jqJ7SHEcySSmZonYLqRPNGGHrJSYlWrMV1kY WJCGO0GhFePdkITjOuyxCBfN54G0yLtv3sgmN/eSk5kAImkYGp+iAsq4KAFQnGQzyFJI 1kOQ== X-Gm-Message-State: AE9vXwNsdzPqBUiBj87hEQ0C8tn4xZa6pW19GhJnAYU5XbTYtb0IKERysx6Kl9rcBmxlXTO4 X-Received: by 10.98.205.75 with SMTP id o72mr47882603pfg.37.1473222343935; Tue, 06 Sep 2016 21:25:43 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id o5sm44481529pfb.9.2016.09.06.21.25.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Sep 2016 21:25:43 -0700 (PDT) From: AKASHI Takahiro To: catalin.marinas@arm.com, will.deacon@arm.com, robh+dt@kernel.org, frowand.list@gmail.com Subject: [PATCH v26 7/7] Documentation: dt: chosen properties for arm64 kdump Date: Wed, 7 Sep 2016 13:32:03 +0900 Message-Id: <20160907043203.6309-1-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160907042908.6232-1-takahiro.akashi@linaro.org> References: <20160907042908.6232-1-takahiro.akashi@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160906_212605_374799_994B87F3 X-CRM114-Status: GOOD ( 10.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, geoff@infradead.org, kexec@lists.infradead.org, AKASHI Takahiro , james.morse@arm.com, bauerman@linux.vnet.ibm.com, dyoung@redhat.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: James Morse Add documentation for linux,crashkernel-base and crashkernel-size, linux,elfcorehdr used by arm64 kexec/kdump to decribe the kdump reserved area, and the elfcorehdr's location within it. Signed-off-by: James Morse [takahiro.akashi@linaro.org: added "linux,crashkernel-base" and "-size" ] Signed-off-by: AKASHI Takahiro Acked-by: Rob Herring --- Documentation/devicetree/bindings/chosen.txt | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/Documentation/devicetree/bindings/chosen.txt b/Documentation/devicetree/bindings/chosen.txt index 6ae9d82..6257ee7 100644 --- a/Documentation/devicetree/bindings/chosen.txt +++ b/Documentation/devicetree/bindings/chosen.txt @@ -52,3 +52,33 @@ This property is set (currently only on PowerPC, and only needed on book3e) by some versions of kexec-tools to tell the new kernel that it is being booted by kexec, as the booting environment may differ (e.g. a different secondary CPU release mechanism) + +linux,crashkernel-base +linux,crashkernel-size +---------------------- + +These properties (currently used on PowerPC and arm64) indicates +the base address and the size, respectively, of the reserved memory +range for crash dump kernel. +e.g. + +/ { + chosen { + linux,crashkernel-base = <0x9 0xf0000000>; + linux,crashkernel-size = <0x0 0x10000000>; + }; +}; + +linux,elfcorehdr +---------------- + +This property (currently used only on arm64) holds the memory range, +the address and the size, of the elf core header which mainly describes +the panicked kernel's memory layout as PT_LOAD segments of elf format. +e.g. + +/ { + chosen { + linux,elfcorehdr = <0x9 0xfffff000 0x0 0x800>; + }; +};