diff mbox series

[1/1] of: properties of reserved-memory nodes

Message ID 20200910162020.3927-1-xypron.glpk@gmx.de
State Accepted, archived
Headers show
Series [1/1] of: properties of reserved-memory nodes | expand

Checks

Context Check Description
robh/checkpatch success

Commit Message

Heinrich Schuchardt Sept. 10, 2020, 4:20 p.m. UTC
The reusable and the no-map property are mutually exclusive.
Clarify this in the documentation.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 .../devicetree/bindings/reserved-memory/reserved-memory.txt    | 3 +++
 1 file changed, 3 insertions(+)

--
2.28.0

Comments

Grant Likely Sept. 10, 2020, 4:49 p.m. UTC | #1
On 10/09/2020 17:20, Heinrich Schuchardt wrote:
> The reusable and the no-map property are mutually exclusive.
> Clarify this in the documentation.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

Acked-by: Grant Likely <grant.likely@arm.com>

> ---
>   .../devicetree/bindings/reserved-memory/reserved-memory.txt    | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt b/Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt
> index bac4afa3b197..eb987203548f 100644
> --- a/Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt
> +++ b/Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt
> @@ -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.
> --
> 2.28.0
>
Rob Herring Sept. 15, 2020, 8:26 p.m. UTC | #2
On Thu, 10 Sep 2020 18:20:20 +0200, Heinrich Schuchardt wrote:
> The reusable and the no-map property are mutually exclusive.
> Clarify this in the documentation.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> ---
>  .../devicetree/bindings/reserved-memory/reserved-memory.txt    | 3 +++
>  1 file changed, 3 insertions(+)
> 

Applied, thanks!
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt b/Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt
index bac4afa3b197..eb987203548f 100644
--- a/Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt
+++ b/Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt
@@ -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.