linux/Documentation/arm64
Ard Biesheuvel a7f8de168a arm64: allow kernel Image to be loaded anywhere in physical memory
This relaxes the kernel Image placement requirements, so that it
may be placed at any 2 MB aligned offset in physical memory.

This is accomplished by ignoring PHYS_OFFSET when installing
memblocks, and accounting for the apparent virtual offset of
the kernel Image. As a result, virtual address references
below PAGE_OFFSET are correctly mapped onto physical references
into the kernel Image regardless of where it sits in memory.

Special care needs to be taken for dealing with memory limits passed
via mem=, since the generic implementation clips memory top down, which
may clip the kernel image itself if it is loaded high up in memory. To
deal with this case, we simply add back the memory covering the kernel
image, which may result in more memory to be retained than was passed
as a mem= parameter.

Since mem= should not be considered a production feature, a panic notifier
handler is installed that dumps the memory limit at panic time if one was
set.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2016-02-18 18:16:53 +00:00
..
acpi_object_usage.txt ARM64 / ACPI: additions of ACPI documentation for arm64 2015-03-26 15:13:09 +00:00
arm-acpi.txt Documentation: ACPI for ARM64 2015-03-26 15:13:09 +00:00
booting.txt arm64: allow kernel Image to be loaded anywhere in physical memory 2016-02-18 18:16:53 +00:00
legacy_instructions.txt arm64: Emulate SETEND for AArch32 tasks 2015-01-23 17:11:44 +00:00
memory.txt Documentation/arm64/memory.txt: fix typo 2014-10-20 17:55:38 +01:00
silicon-errata.txt arm64: Documentation: add list of software workarounds for errata 2015-12-11 17:33:21 +00:00
tagged-pointers.txt arm64: documentation: tighten up tagged pointer documentation 2013-09-20 09:56:06 +01:00