From mboxrd@z Thu Jan 1 00:00:00 1970 From: geoff@infradead.org (Geoff Levand) Date: Thu, 09 Jun 2016 20:08:45 +0000 Subject: [PATCH v18 13/13] Documentation: dt: usable-memory and elfcorehdr nodes for arm64 kexec In-Reply-To: References: Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org From: James Morse Add documentation for linux,usable-memory and linux,elfcorehdr chosen nodes used by arm64 kexec to decribe the kdump reserved area, and the elfcorehdr's location within it. Signed-off-by: James Morse --- Documentation/devicetree/bindings/chosen.txt | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/Documentation/devicetree/bindings/chosen.txt b/Documentation/devicetree/bindings/chosen.txt index 6ae9d82..443f88b 100644 --- a/Documentation/devicetree/bindings/chosen.txt +++ b/Documentation/devicetree/bindings/chosen.txt @@ -52,3 +52,31 @@ 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,usable-memory +------------------- + +This property is set on PowerPC and arm64 by kexec-tools during kdump +to tell the crash kernel the base address of its reserved area of memory, and +the size. e.g. + +/ { + chosen { + linux,usable-memory = <0x9 0xf0000000 0x0 0x10000000>; + }; +}; + +linux,elfcorehdr +---------------- + +This property is set (currently only on arm64) by kexec-tools during kdump +to tell the crash kernel the address and size of the elfcorehdr that describes +the old kernel's memory as an elf file. This memory must reside within the area +described by 'linux,usable-memory'. e.g. + +/ { + chosen { + linux,usable-memory = <0x9 0xf0000000 0x0 0x10000000>; + linux,elfcorehdr = <0x9 0xfffff000 0x0 0x800>; + }; +}; -- 2.5.0 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Message-Id: In-Reply-To: References: From: Geoff Levand Subject: [PATCH v18 13/13] Documentation: dt: usable-memory and elfcorehdr nodes for arm64 kexec Date: Thu, 09 Jun 2016 20:08:45 +0000 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Catalin Marinas , Will Deacon Cc: Mark Rutland , marc.zyngier@arm.com, kexec@lists.infradead.org, AKASHI Takahiro , James Morse , linux-arm-kernel@lists.infradead.org From: James Morse Add documentation for linux,usable-memory and linux,elfcorehdr chosen nodes used by arm64 kexec to decribe the kdump reserved area, and the elfcorehdr's location within it. Signed-off-by: James Morse --- Documentation/devicetree/bindings/chosen.txt | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/Documentation/devicetree/bindings/chosen.txt b/Documentation/devicetree/bindings/chosen.txt index 6ae9d82..443f88b 100644 --- a/Documentation/devicetree/bindings/chosen.txt +++ b/Documentation/devicetree/bindings/chosen.txt @@ -52,3 +52,31 @@ 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,usable-memory +------------------- + +This property is set on PowerPC and arm64 by kexec-tools during kdump +to tell the crash kernel the base address of its reserved area of memory, and +the size. e.g. + +/ { + chosen { + linux,usable-memory = <0x9 0xf0000000 0x0 0x10000000>; + }; +}; + +linux,elfcorehdr +---------------- + +This property is set (currently only on arm64) by kexec-tools during kdump +to tell the crash kernel the address and size of the elfcorehdr that describes +the old kernel's memory as an elf file. This memory must reside within the area +described by 'linux,usable-memory'. e.g. + +/ { + chosen { + linux,usable-memory = <0x9 0xf0000000 0x0 0x10000000>; + linux,elfcorehdr = <0x9 0xfffff000 0x0 0x800>; + }; +}; -- 2.5.0 _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec