Skip to content

Commit

Permalink
schemas: reserved-memory: Add ECC parameters
Browse files Browse the repository at this point in the history
Some memory controllers have the ability to tune the ECC parameters for
a given memory region. This can be useful to create memory carveouts
with ECC disabled to store data that don't require it like framebuffers,
when the rest of the system might benefit from it still.

Signed-off-by: Maxime Ripard <mripard@kernel.org>
  • Loading branch information
mripard committed May 15, 2024
1 parent 8733c90 commit b6a4c5a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions dtschema/schemas/reserved-memory/reserved-memory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,20 @@ properties:
Address and Length pairs. Specifies regions of memory that are
acceptable to allocate from.
ecc-detection-bits:
default: 0
description: |
If present, this indicates the number of bits of memory error
which can be detected and reported by the Error-Correction Code
(ECC) memory subsystem (typically 0, 1 or 2).
ecc-correction-bits:
default: 0
description: |
If present, this indicates the number of bits of memory error
which can be corrected by the Error-Correction Code (ECC) memory
subsystem (typically 0, 1 or 2).
iommu-addresses:
$ref: /schemas/types.yaml#/definitions/phandle-array
description: >
Expand Down

0 comments on commit b6a4c5a

Please sign in to comment.