Commit 5f40bb39 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt Committed by Rob Herring
Browse files

of: properties of reserved-memory nodes



The reusable and the no-map property are mutually exclusive.
Clarify this in the documentation.

Acked-by: default avatarGrant Likely <grant.likely@arm.com>
Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Link: https://lore.kernel.org/r/20200910162020.3927-1-xypron.glpk@gmx.de


Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 73d3e43f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -64,6 +64,9 @@ reusable (optional) - empty property
      system can use that region to store volatile or cached data that
      can be otherwise regenerated or migrated elsewhere.

A node must not carry both the no-map and the reusable property as these are
logically contradictory.

Linux implementation note:
- If a "linux,cma-default" property is present, then Linux will use the
  region for the default pool of the contiguous memory allocator.