ARM: 9124/1: uncompress: Parse "linux,usable-memory-range" DT property
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 15 Sep 2021 12:46:20 +0000 (13:46 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 19 Oct 2021 09:30:55 +0000 (10:30 +0100)
commit48342ae751c797ac73ac9c894b3f312df18ffd21
treed5cb61a145bd2038674616ee2a62859ee6dacde8
parent1c1838757611e2fd3aa798b4a9219f8777f29149
ARM: 9124/1: uncompress: Parse "linux,usable-memory-range" DT property

Add support for parsing the "linux,usable-memory-range" DT property.
This property is used to describe the usable memory reserved for the
crash dump kernel, and thus makes the memory reservation explicit.
If present, Linux no longer needs to mask the program counter, and rely
on the "mem=" kernel parameter to obtain the start and size of usable
memory.

For backwards compatibility, the traditional method to derive the start
of memory is still used if "linux,usable-memory-range" is absent.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
arch/arm/boot/compressed/fdt_check_mem_start.c