From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id D592EECAAD8 for ; Tue, 13 Sep 2022 19:58:54 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7B4AB6B0074; Tue, 13 Sep 2022 15:58:54 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 764DD6B0096; Tue, 13 Sep 2022 15:58:54 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6076A8D0001; Tue, 13 Sep 2022 15:58:54 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 503376B0074 for ; Tue, 13 Sep 2022 15:58:54 -0400 (EDT) Received: from smtpin04.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 315941A096F for ; Tue, 13 Sep 2022 19:58:54 +0000 (UTC) X-FDA: 79908125388.04.714C770 Received: from mail-qk1-f180.google.com (mail-qk1-f180.google.com [209.85.222.180]) by imf29.hostedemail.com (Postfix) with ESMTP id E5F7B1200E2 for ; Tue, 13 Sep 2022 19:58:53 +0000 (UTC) Received: by mail-qk1-f180.google.com with SMTP id c19so7402650qkm.7 for ; Tue, 13 Sep 2022 12:58:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=0ytqVsMPjuVvTMmUHQDgw++YWpDMZOL8Z97lPlE2FVY=; b=io9Nt4/RcZ2YZMphnT4cANVUYCQB6U7tpDHWWA0ymeRAMaiACQe59CDdxV3fKa+Hsn xNls20lsFyfw6rNS33zM5vtcFodTEOrCxgBbNhbWX8T1mEeMX+VwfC33CIm+xfP758LM zM7bYSmAZtJOGaBc2/pCs2H6YwEWsP5kO079m4wM+f6s/zfDbHxnmlkNGrxVR7sLq2J2 vi+KzltoxbcgQVb6NYjPdS8rs20FudQRcZ6AiEV/jd58a8RhxFomEIPJSEoUVrySG9CU fGCpRyRxdV4msiy4sXSvtH2LCG/1JOnoJrLiDkFSx8Zr9e7tZ4S5+YfhjAOUxZaXHtxy O3kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=0ytqVsMPjuVvTMmUHQDgw++YWpDMZOL8Z97lPlE2FVY=; b=WqubFxoNNTUGfXhLD67F5Ik0YgRP+6lrvXvmMO7FEyfl8JFmsTv+93gEH/JS013XpD sc07tNtusl3jmOhpUwdXpDy+bGhyN+GepSRfIWGNKDeDdcp6sx4AMh7cYHF4d6vmJf0r /7LHINZfFRjdtUhQoa6ucwHHrZpFigCG1OizI3fDO1LwEdlMv3G7Fx3ofeUqLQrrkTMG lUNF72qPIlqN64FiIAVPwCnPxVW/rVHoYHksvFpg+1WuNU3vdFf/ax3JgmhokeSSuEER 7kVtf/fV7GdoW69+FRNSS436DuiweUpSRKSd1kqNiFkFs3XWVQHPbJAAr4W8sHwTRix5 EdBg== X-Gm-Message-State: ACgBeo0dlHvp0f/AFneq58ovp527bnbKECuM2n6bwv/op0rtEem7SFiM 2SyCQZ8/L0ViywGmZxUdp0U= X-Google-Smtp-Source: AA6agR6d/FiwNOHoDQ8OKNxH916Sryp0qXJllILzqqegobMzkZRMGgPUcF2Qjw5zlXSo5I0Sdx+6eA== X-Received: by 2002:a05:620a:4407:b0:6cb:e111:32c2 with SMTP id v7-20020a05620a440700b006cbe11132c2mr18923399qkp.415.1663099133214; Tue, 13 Sep 2022 12:58:53 -0700 (PDT) Received: from stbirv-lnx-3.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id s11-20020a05620a29cb00b006b8e049cf08sm276305qkp.2.2022.09.13.12.58.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Sep 2022 12:58:52 -0700 (PDT) From: Doug Berger To: Andrew Morton Cc: Jonathan Corbet , Rob Herring , Krzysztof Kozlowski , Frank Rowand , Mike Kravetz , Muchun Song , Mike Rapoport , Christoph Hellwig , Marek Szyprowski , Robin Murphy , Borislav Petkov , "Paul E. McKenney" , Neeraj Upadhyay , Randy Dunlap , Damien Le Moal , Doug Berger , Florian Fainelli , David Hildenbrand , Zi Yan , Oscar Salvador , Hari Bathini , Kees Cook , - , KOSAKI Motohiro , Mel Gorman , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-mm@kvack.org, iommu@lists.linux.dev Subject: [PATCH 16/21] dt-bindings: reserved-memory: introduce designated-movable-block Date: Tue, 13 Sep 2022 12:55:03 -0700 Message-Id: <20220913195508.3511038-17-opendmb@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220913195508.3511038-1-opendmb@gmail.com> References: <20220913195508.3511038-1-opendmb@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1663099133; a=rsa-sha256; cv=none; b=nMXddA51Ql6WSU2B+q0+uq05hS9T+JIGpo2iLu7gYxsms71G/FoaUU32oDM/jDM2X5Ycum CxtwhO4c6pfkStWAyV8G2aDlt00K+mM6Rb9ZhdAJiytFDlZhMzUcz4WMzZiYVGxv2RmBjc jo51X2pMnlvk4AqU2rRt2tPGpJ3tF7E= ARC-Authentication-Results: i=1; imf29.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="io9Nt4/R"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf29.hostedemail.com: domain of opendmb@gmail.com designates 209.85.222.180 as permitted sender) smtp.mailfrom=opendmb@gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1663099133; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=0ytqVsMPjuVvTMmUHQDgw++YWpDMZOL8Z97lPlE2FVY=; b=RYLqfgLrWcB9ixrsgPPkGFNzDEg5WOnM9L32zBu8iwCciMaXaORt6aTxjZU5djFefom6hU LRYHfFzZ7i1kf/sdfaCic8/w3IW53rIhOurnEWS+dcZuKzYvlym7GA2R1Oq13cQyrreAX3 u+RN+SW64cZ7uxCi/NsdWsf3sTmx7pk= Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="io9Nt4/R"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf29.hostedemail.com: domain of opendmb@gmail.com designates 209.85.222.180 as permitted sender) smtp.mailfrom=opendmb@gmail.com X-Rspam-User: X-Rspamd-Server: rspam01 X-Stat-Signature: pz7zsyxe93nc7oraucaoi4i3kce1hmgr X-Rspamd-Queue-Id: E5F7B1200E2 X-HE-Tag: 1663099133-789273 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Introduce designated-movable-block.yaml to document the devicetree binding for Designated Movable Block children of the reserved-memory node. Signed-off-by: Doug Berger --- .../designated-movable-block.yaml | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings/reserved-memory/designated-movable-block.yaml diff --git a/Documentation/devicetree/bindings/reserved-memory/designated-movable-block.yaml b/Documentation/devicetree/bindings/reserved-memory/designated-movable-block.yaml new file mode 100644 index 000000000000..42f846069a2e --- /dev/null +++ b/Documentation/devicetree/bindings/reserved-memory/designated-movable-block.yaml @@ -0,0 +1,51 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reserved-memory/designated-movable-block.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: /reserved-memory Designated Movable Block node binding + +maintainers: + - devicetree-spec@vger.kernel.org + +allOf: + - $ref: "reserved-memory.yaml" + +properties: + compatible: + const: designated-movable-block + description: + This indicates a region of memory meant to be placed into + ZONE_MOVABLE. + +unevaluatedProperties: false + +required: + - compatible + - reusable + +examples: + - | + reserved-memory { + #address-cells = <0x2>; + #size-cells = <0x2>; + + DMB0@10800000 { + compatible = "designated-movable-block"; + reusable; + reg = <0x0 0x10800000 0x0 0x2d800000>; + }; + + DMB1@40000000 { + compatible = "designated-movable-block"; + reusable; + reg = <0x0 0x40000000 0x0 0x30000000>; + }; + + DMB2@80000000 { + compatible = "designated-movable-block"; + reusable; + reg = <0x0 0x80000000 0x0 0x2fc00000>; + }; + }; -- 2.25.1