Skip to content

Commit

Permalink
schemas: reserved-memory: Add export property
Browse files Browse the repository at this point in the history
OSs might want to create dedicated, special purposes, memory allocators
from memory regions with different memory attributes or characteristics,
for the rest of the system to consume.

Let's add an export property to allow reserved memory regions to be used
as the backing memory for such allocators.

Signed-off-by: Maxime Ripard <mripard@kernel.org>
  • Loading branch information
mripard committed May 15, 2024
1 parent b6a4c5a commit 80251dc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dtschema/schemas/reserved-memory/reserved-memory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ properties:
which can be corrected by the Error-Correction Code (ECC) memory
subsystem (typically 0, 1 or 2).
export:
type: boolean
description: >
The operating system can use the memory to create special-purpose
allocators instead of solely dedicating it to the device.
iommu-addresses:
$ref: /schemas/types.yaml#/definitions/phandle-array
description: >
Expand Down

0 comments on commit 80251dc

Please sign in to comment.