linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] of: properties of reserved-memory nodes
@ 2020-09-10 16:20 Heinrich Schuchardt
  2020-09-10 16:49 ` Grant Likely
  2020-09-15 20:26 ` Rob Herring
  0 siblings, 2 replies; 3+ messages in thread
From: Heinrich Schuchardt @ 2020-09-10 16:20 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland
  Cc: devicetree, linux-kernel, Ard Biesheuvel, Grant Likely,
	Heinrich Schuchardt

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(+)

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] of: properties of reserved-memory nodes
  2020-09-10 16:20 [PATCH 1/1] of: properties of reserved-memory nodes Heinrich Schuchardt
@ 2020-09-10 16:49 ` Grant Likely
  2020-09-15 20:26 ` Rob Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Grant Likely @ 2020-09-10 16:49 UTC (permalink / raw)
  To: Heinrich Schuchardt, Rob Herring, Mark Rutland
  Cc: devicetree, linux-kernel, Ard Biesheuvel, nd



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
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] of: properties of reserved-memory nodes
  2020-09-10 16:20 [PATCH 1/1] of: properties of reserved-memory nodes Heinrich Schuchardt
  2020-09-10 16:49 ` Grant Likely
@ 2020-09-15 20:26 ` Rob Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2020-09-15 20:26 UTC (permalink / raw)
  To: Heinrich Schuchardt
  Cc: Mark Rutland, Ard Biesheuvel, devicetree, linux-kernel,
	Grant Likely, Rob Herring

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!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-15 21:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-10 16:20 [PATCH 1/1] of: properties of reserved-memory nodes Heinrich Schuchardt
2020-09-10 16:49 ` Grant Likely
2020-09-15 20:26 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).