From b342bc1f86792492cb745a8892a7e3f8de9e6c32 Mon Sep 17 00:00:00 2001 From: Chen Zhou Date: Sun, 28 Jun 2020 14:44:37 +0800 Subject: [PATCH] schemas: update 'linux,usable-memory-range' node schema After support reserving memory above 4G on arm64 kdump, the usable memory regions in crash dump kernel may be more than one, update the 'linux,usable-memory-range' node schema. Signed-off-by: Chen Zhou --- schemas/chosen.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/schemas/chosen.yaml b/schemas/chosen.yaml index 00b3682e..3d44643b 100644 --- a/schemas/chosen.yaml +++ b/schemas/chosen.yaml @@ -86,13 +86,15 @@ properties: linux,usable-memory-range: allOf: - $ref: types.yaml#definitions/uint64-array - - maxItems: 2 + - items: + maxItems: 2 description: | - This property (arm64 only) holds a base address and size, describing a - limited region in which memory may be considered available for use by - the kernel. Memory outside of this range is not available for use. + This property (arm64 only) holds base address and size of memory regions, + describing limited regions in which memory may be considered available + for use by the kernel. Memory outside of these ranges is not available + for use. - This property describes a limitation: memory within this range is only + This property describes a limitation: memory within these ranges are only valid when also described through another mechanism that the kernel would otherwise use to determine available memory (e.g. memory nodes or the EFI memory map). Valid memory may be sparse within the range.