lkml.org 
[lkml]   [2023]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v4 4/4] memory: Add ECC property
Date
Some memories provides ECC correction. For software which wants to check
memory, it is helpful to see which regions provide this feature.

Add this as a property of the /memory nodes, since it presumably follows
the hardware-level memory system.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

(no changes since v3)

Changes in v3:
- Add new patch to update the /memory nodes

dtschema/schemas/memory.yaml | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/dtschema/schemas/memory.yaml b/dtschema/schemas/memory.yaml
index 1d74410..981af04 100644
--- a/dtschema/schemas/memory.yaml
+++ b/dtschema/schemas/memory.yaml
@@ -34,7 +34,14 @@ patternProperties:
description:
For the purpose of identification, each NUMA node is associated with
a unique token known as a node id.
-
+ attr:
+ $ref: /schemas/types.yaml#/definitions/string-array
+ description: |
+ Attributes possessed by this memory region:
+
+ "single-bit-ecc" - supports single-bit ECC
+ "multi-bit-ecc" - supports multiple-bit ECC
+ "no-ecc" - non-ECC memory

required:
- device_type
--
2.42.0.rc2.253.gd59a3bf2b4-goog
\
 
 \ /
  Last update: 2023-08-29 21:20    [W:0.090 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site