Received: by 10.223.185.116 with SMTP id b49csp3151437wrg; Mon, 5 Mar 2018 15:16:31 -0800 (PST) X-Google-Smtp-Source: AG47ELtLYRPHZjKWI7osP59oJ/uqeTM274pyl+F8H3ju8LGYgI9QmGwTTPPqFexkta1xqFu5FkMf X-Received: by 2002:a17:902:608e:: with SMTP id s14-v6mr4822543plj.67.1520291790909; Mon, 05 Mar 2018 15:16:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520291790; cv=none; d=google.com; s=arc-20160816; b=tsJUvl4IdicqXvqmxwryHp2z9k0ggjykRTSqxTc1fb1K9Qd0txmWaZAsscLMb4S8zj ro6rNux1MZphE+W3EK91PdJrDYNy/yX7nt094lJ1unhl25r0zp/oTaldUol+fiXoJwVi 1Kkqx9kbKrIXGSQlbIvj0uZZ8W2Yw9WohE9BWKgmSKsmKb9Vf6BgiTUt+fdOp8nd+77+ 8sDGmjCMOOYR0BU1v2PXbD5hTBeXFwUmK8tv6RmE2U21gej2vJsjBlH4LgCxsT0kVBzV t8jV0MiGuDrr0LfDGjIjG8j+K2WL2C7JoRq3TnbnyJ3q41OqaMgRyTlgKw/7i4qyluzK 4bJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=OXsVZW4kozemMfQgWWWWf9Qby+xiQZeDu/CbUyv9lrs=; b=foF54bi1GlbECsaUB8dfQWLh3j9qSSsoIgvUvWG3AAh6BQkk4xC2atCf4dHxYnmKr3 Df3Q5rBr1T9XEQv5wo6SLrT1CWLhFTtKWOm9aeJc+aWdsQ9vT7LPkr1m5O2vCPGwbWZ9 OYTDEJJifY8F3n1cIp3nA0iIeFmD1axSK0phSBJEQXbXdWW1GDDvpvGMXNxsaTtnAJPD y1gu95Sl+6AuNmaviYAMOv85GUc5GDbW3AeG7oCtyv89bbvCSVhrjfywBl4mtYJZxC4f WjR+fGhtS88U+v2uCjYZ8FtQhjtHuULL0QfQa3V7tfbFwbYldJ0IFR65KQEJonssz/Ch 520A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H17mqwUk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n3si8988990pgc.12.2018.03.05.15.16.17; Mon, 05 Mar 2018 15:16:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H17mqwUk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932430AbeCEXPB (ORCPT + 99 others); Mon, 5 Mar 2018 18:15:01 -0500 Received: from mail-pl0-f66.google.com ([209.85.160.66]:39541 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752936AbeCEXO7 (ORCPT ); Mon, 5 Mar 2018 18:14:59 -0500 Received: by mail-pl0-f66.google.com with SMTP id s13-v6so10685252plq.6 for ; Mon, 05 Mar 2018 15:14:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=OXsVZW4kozemMfQgWWWWf9Qby+xiQZeDu/CbUyv9lrs=; b=H17mqwUkFZUx/nNNGBmGDaJWLZHxpa6d9mRMuTKgUpjSAr96ZGonR1uq+bvuSzSF1e yYq1qonb1hvI+u5fl8irWxnnSX/Qa6tnuZgVaFUiAZvjttYSVY7vnvvSbUAb9FMdSNea 7Kf90qG6m/aYXqLX56CkHImGEwgkbDrho8Tz8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=OXsVZW4kozemMfQgWWWWf9Qby+xiQZeDu/CbUyv9lrs=; b=LAcFvoBVqOkEezgAat0Z9HE57QtilTznF9ESXL+glyvZg+4lz+QrohcE4zy9tzN8Ro VwQ5cf5kcWR6U3D4pTstx2p7WcCFOdAz9nDl7AIIsRJS4N8m3mzDdDXRf8XY3I9wFxvH V8HtkCT31bjCCGyXY4VLLu1cCgzCoa2JVCaA1I3Y+yXP3CgVMFi24Igh5SO6vNZ5b6zz 1HCqgLNtoMu/mXf2F3aNWWeRlWwfdIrB22B4ikXRTCFBwQtrQ0hYqlY0nYTgVBeT3c4f dF0ITKoWgXxoJoMM/HiaT52EwwphsBw1qUq0hqjeA0RbVi0VwyVdYsu+AA1gUwci91XK 8M3A== X-Gm-Message-State: APf1xPB4C+K+NbygXvHn9D6BOu28P+xEaT1qkR9Wb5eZzEfDIbY8Oape jnrEKFRcnS407TXjPzIGEl86yg== X-Received: by 2002:a17:902:2de4:: with SMTP id p91-v6mr14800536plb.405.1520291698402; Mon, 05 Mar 2018 15:14:58 -0800 (PST) Received: from minitux (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id e3sm3832627pfe.125.2018.03.05.15.14.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 05 Mar 2018 15:14:57 -0800 (PST) Date: Mon, 5 Mar 2018 15:14:55 -0800 From: Bjorn Andersson To: Lina Iyer Cc: andy.gross@linaro.org, david.brown@linaro.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, rnayak@codeaurora.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Mahesh Sivasubramanian Subject: Re: [PATCH v4 2/2] dt-bindings: introduce Command DB for QCOM SoCs Message-ID: <20180305231455.GJ18510@minitux> References: <20180226175802.20052-1-ilina@codeaurora.org> <20180226175802.20052-3-ilina@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180226175802.20052-3-ilina@codeaurora.org> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 26 Feb 09:58 PST 2018, Lina Iyer wrote: > From: Mahesh Sivasubramanian > > Command DB provides information on shared resources like clocks, > regulators etc., probed at boot by the remote subsytem and made > available in shared memory. > > Cc: devicetree@vger.kernel.org > Signed-off-by: Mahesh Sivasubramanian > Signed-off-by: Lina Iyer > --- > > Changes in v4: > - Fix unwanted capitalization > - Add reg property > --- > .../devicetree/bindings/arm/msm/cmd-db.txt | 38 ++++++++++++++++++++++ > 1 file changed, 38 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/msm/cmd-db.txt > > diff --git a/Documentation/devicetree/bindings/arm/msm/cmd-db.txt b/Documentation/devicetree/bindings/arm/msm/cmd-db.txt [..] > + reserved-memory { > + [...] > + qcom,cmd-db@c3f000c { > + reg = <0x0 0xc3f000c 0x0 0x8>, > + <0x0 0x85fe0000 0x0 0x20000>; I'm still concerned about the use of the redirection mapping here, the relocation at 0xc3f000c is used a convenience thing so that the command db can be relocated, but because of how Linux will consume any non-reserved memory the dts would still need to be manually updated. As such I think you should just describe only the 0x85fe0000 + 0x20000 region here and to support the dynamic aspect of this from a system point of view you can have the boot loader read the information at 0xc3f000c and adjust the reserved memory. (Or just keep the step of manually update the dts without caring about the indirection) Regards, Bjorn