From patchwork Wed Sep 1 15:13:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 505198 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2BB37C4320E for ; Wed, 1 Sep 2021 15:13:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EEA8D610A4 for ; Wed, 1 Sep 2021 15:13:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245047AbhIAPOW (ORCPT ); Wed, 1 Sep 2021 11:14:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245735AbhIAPOL (ORCPT ); Wed, 1 Sep 2021 11:14:11 -0400 Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19D5BC061575 for ; Wed, 1 Sep 2021 08:13:13 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed20:7822:25bf:8b52:7a36]) by laurent.telenet-ops.be with bizsmtp id ofDC2500G13ssow01fDCfS; Wed, 01 Sep 2021 17:13:12 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1mLRvM-0019Lz-8O; Wed, 01 Sep 2021 17:13:12 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1mLRvL-00AQDL-Sn; Wed, 01 Sep 2021 17:13:11 +0200 From: Geert Uytterhoeven To: Rob Herring Cc: devicetree@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH dt-schema 1/2] schemas: chosen: Generalize linux, elfcorehdr and linux, usable-memory-range Date: Wed, 1 Sep 2021 17:13:09 +0200 Message-Id: <20210901151310.2484003-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The properties "linux,elfcorehdr" and "linux,usable-memory-range" are no longer limited to arm64. Signed-off-by: Geert Uytterhoeven --- schemas/chosen.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/schemas/chosen.yaml b/schemas/chosen.yaml index b93cd1dfd7d26bda..78b87cb1b2b7fb87 100644 --- a/schemas/chosen.yaml +++ b/schemas/chosen.yaml @@ -78,17 +78,17 @@ properties: $ref: types.yaml#/definitions/uint64-array maxItems: 2 description: - This property (currently used only on arm64) holds the memory range, - the address and the size, of the elf core header which mainly describes - the panicked kernel\'s memory layout as PT_LOAD segments of elf format. + This property holds the memory range, the address and the size, of the + elf core header which mainly describes the panicked kernel\'s memory + layout as PT_LOAD segments of elf format. linux,usable-memory-range: $ref: types.yaml#/definitions/uint64-array 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 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 describes a limitation: memory within this range is only valid when also described through another mechanism that the kernel