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 61EEBC6FA82 for ; Wed, 14 Sep 2022 14:55:10 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BCF5E8D0002; Wed, 14 Sep 2022 10:55:09 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B57518D0001; Wed, 14 Sep 2022 10:55:09 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9D1558D0002; Wed, 14 Sep 2022 10:55:09 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 8E84F8D0001 for ; Wed, 14 Sep 2022 10:55:09 -0400 (EDT) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 6E888A028A for ; Wed, 14 Sep 2022 14:55:09 +0000 (UTC) X-FDA: 79910988738.25.3814E0B Received: from mail-oa1-f52.google.com (mail-oa1-f52.google.com [209.85.160.52]) by imf31.hostedemail.com (Postfix) with ESMTP id A9DEB200C2 for ; Wed, 14 Sep 2022 14:55:08 +0000 (UTC) Received: by mail-oa1-f52.google.com with SMTP id 586e51a60fabf-11e9a7135easo41658608fac.6 for ; Wed, 14 Sep 2022 07:55:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=tByLw1qEkiOZGzDHv1iwtkakEjYoENISc7jNLUAn1ZI=; b=1EziLit9wwqlrsWXRnt5l3uN++60uZAox5EinTFBzgyG7c8qA3SY6O9svw07NytANO TUkqlydmw3SiiOvBVgpX2NyM3u8bbb0b6dDqADjKmlV6SncwHcl3roznhfKbxqTdDWV+ 7IsWCJzc67W00dJrbLx1qfYTPUH+2bdir51H8mJPZVLXeNHrB+Nu2lqJRqxi/qHJoG05 AX+2cBaoOx+pHvfiKS7Z9XytdnOSvj2wcGkqrWN+fGUxvcLpif0ubs7wEvf2yzv1nSNE q61IlZJsHsgidGF9SAmLq32IjtBre67/FlcGLoeeowG2ZQA74Iby7jLag9NJOpFJqXtK S7nw== X-Gm-Message-State: ACgBeo1HgNRvNkmj4pN/7av2ZcZaswxiBgl/2lnb5XpQJr98uF7+lv+l A/uc7kPOjP37zhZtYe4hYQ== X-Google-Smtp-Source: AA6agR70yLqmwAo8ampR4EIA+plNY4V86lsveWAcGrBtki2l9qALN86LHK3Z0XMIwQY5gPpxtS1baQ== X-Received: by 2002:a05:6808:ec7:b0:2f9:6119:d6ed with SMTP id q7-20020a0568080ec700b002f96119d6edmr1974104oiv.215.1663167307860; Wed, 14 Sep 2022 07:55:07 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id z8-20020a056808028800b003431d9b3edfsm5303651oic.2.2022.09.14.07.55.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Sep 2022 07:55:07 -0700 (PDT) Received: (nullmailer pid 2198793 invoked by uid 1000); Wed, 14 Sep 2022 14:55:06 -0000 Date: Wed, 14 Sep 2022 09:55:06 -0500 From: Rob Herring To: Doug Berger Cc: Andrew Morton , Jonathan Corbet , 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 , 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: Re: [PATCH 16/21] dt-bindings: reserved-memory: introduce designated-movable-block Message-ID: <20220914145506.GA2149379-robh@kernel.org> References: <20220913195508.3511038-1-opendmb@gmail.com> <20220913195508.3511038-17-opendmb@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220913195508.3511038-17-opendmb@gmail.com> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1663167308; 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-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tByLw1qEkiOZGzDHv1iwtkakEjYoENISc7jNLUAn1ZI=; b=ZX88fwL9qFT1BrSZH6wuxSDdsU4XUjaRErcEH0BxK5FbKv1/2aDNmq3eaXuZ7SmQ0Iitbt 4Slh2RIbImpEl96sYirHhBsJw96JhJE9rJfvFJGUewn1879YpZQ9I798T1jxuBkrH5eXZQ gjliWcAB+8sb2HWI/MKOyB8DOSDQeOQ= ARC-Authentication-Results: i=1; imf31.hostedemail.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=kernel.org (policy=none); spf=pass (imf31.hostedemail.com: domain of robherring2@gmail.com designates 209.85.160.52 as permitted sender) smtp.mailfrom=robherring2@gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1663167308; a=rsa-sha256; cv=none; b=cCXAPoIxv9R4zwAopwm7yyswDo1a4z4kW7Zz5T0Js5BwoRMVvXy2TJwJubGGgCcHDu9A2J 89XIy6lDABgqvLIt7fiGKlio47HzehUVNUG5d+QHST5miwm6CuNuI4w0wANv6mMPTlBX6u WNZBeLooN3ayNZVJlD594QDiVyB6wdE= Authentication-Results: imf31.hostedemail.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=kernel.org (policy=none); spf=pass (imf31.hostedemail.com: domain of robherring2@gmail.com designates 209.85.160.52 as permitted sender) smtp.mailfrom=robherring2@gmail.com X-Stat-Signature: 9zqueyqq76hth1mhbhq818gink7e1ruh X-Rspamd-Queue-Id: A9DEB200C2 X-Rspam-User: X-Rspamd-Server: rspam09 X-HE-Tag: 1663167308-736566 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: On Tue, Sep 13, 2022 at 12:55:03PM -0700, Doug Berger wrote: > Introduce designated-movable-block.yaml to document the > devicetree binding for Designated Movable Block children of the > reserved-memory node. What is a Designated Movable Block? This patch needs to stand on its own. Why does this belong or need to be in DT? > > 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. Don't put Linuxisms into bindings. > + > +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 > >