Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2979722rwl; Mon, 27 Mar 2023 07:47:26 -0700 (PDT) X-Google-Smtp-Source: AKy350YL8H8eZ/nXpvjuj+2QOd+J5cJP4UmTQnrVeUkJlNyWorMVi5+eH0Vk0LbBOlkgWvp+/v78 X-Received: by 2002:a17:906:3601:b0:8fc:c566:dc67 with SMTP id q1-20020a170906360100b008fcc566dc67mr13698629ejb.64.1679928446181; Mon, 27 Mar 2023 07:47:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679928446; cv=none; d=google.com; s=arc-20160816; b=ZKZDeYKkHClfunIIkS4E/1VjvqAiKd4AXmHBBmAChdL867n2Yaf3vXx/9pQ0Ei0OfZ if9x21ruTGsH3dePSl+DoOiwLZVV+rVx2FvbnScJolFAeUE8a7Oe09j/FMtaQN+gABV5 1CZHdO8XXoDHeJyDomJ9bFb5MoQTdJN5PUuF1JUs+KV2Wa+fmz3kgX4vUl4GhC8SqPc2 sC7HOeIkbEhK8zpiY13JT+M4hLCSdRkxjzK16bO/XSdWRc6lHZXA8pAvc7C2MVuBitfN BH14xdjWGbPcaXxWMyddzYMBh6LqiVtluhL/kAg/vNqjiEbQb2n6QQppT5uW6s3T6sr9 fk9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=uu6fkWav3ppxq5pM9npOEzd2xjd4ddBcnc58P+RleNg=; b=oLGUXp6Q7/6lgxvGfh5FzE4cD32dX0fgCj53T0Is/gBtSYeoRjAMyx+RGVBNwx6VKb 9WOfv1CYzUT/f6vufYx9iIHX0HCG5JVMMHqZFwwwdWKR3hi5P+qz24fkpYOhj8HQQ+xE 3Cvu97Y5Lu5SPOHN7TmP5snOKuh9Ifs9dfW6z60XPHAw7uF7Z3RnlZDMJhGHfPUg3L2A IcMcUCGzGbMzNL3EeDsbNGLaVEycYr2Tbj6TZO9xmczqapPUR8Cyx5zARFTCpWxDiL/u 57yriTrad0yQSA7jba8+ouqjgxLy+xjU3nmN5XLobbRzYNcd0DfpnHJyYV6Jj5yxdYNq IFnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dixFlR7v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h23-20020aa7c617000000b004ff7e44fa34si6973672edq.155.2023.03.27.07.47.01; Mon, 27 Mar 2023 07:47:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dixFlR7v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S232951AbjC0Ogi (ORCPT + 99 others); Mon, 27 Mar 2023 10:36:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232187AbjC0Ogg (ORCPT ); Mon, 27 Mar 2023 10:36:36 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D081A2723 for ; Mon, 27 Mar 2023 07:36:30 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id h8so37088954ede.8 for ; Mon, 27 Mar 2023 07:36:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679927789; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=uu6fkWav3ppxq5pM9npOEzd2xjd4ddBcnc58P+RleNg=; b=dixFlR7vwj58oeZiyskfKaq+idVN/lfcDfveh6RzsNqwaBbW6aRWgM1qAhigliKZit EamWShZ4+Qs5K9f9nvr0FGBc9gOxmHg00yR2Fb3vIaKfSAXErLTaPBUNar3jYWWD4XIE n2pRG51YIU9V+7RDMdd2iWtK1WqOrok8x6nWcpCfqSn/896hZZ1G5Eo6Jb14+td1NZwk JAntbz4MVUPW7PGJ46HYJdxjeW2HO5XHAicamRTXDR9gBHpUXl2+DiggkMNwYTrSh2KI RGqLcUOL713nAcRWmMulyjVO/8K6dDKUr5gD/U3ayQ2BROL1BN9t1+9YrzUBdLgp8PQD +J0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679927789; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=uu6fkWav3ppxq5pM9npOEzd2xjd4ddBcnc58P+RleNg=; b=xOP+Jroj66wx0AX+VpWRgYYJLrH0iO+8J+J1IxpOKQ/meswGYrxG5HjSYouzKI4tie mDvXbujEMnGKfGuuRfxrLfZeOqDwRHuwBnv/GSgU7pSa5RaL77wC6prte7wKJjytq6Ua Ig9OJ9fBLuA7tPjaBP/S2EtXY5RBUvksLeSCsh9A2RzpC28KAhxxLHu4YYd+WU6GOhti 7Z10DllKq6F+ToGdopmMTGejtYBUlDSubyEjrNj/0lyVYXUfy+t+TncU+J7IV1UXKNcK a37rcHN5YFsdlN6Y3BJF3GPAPtmcDQj6aofE50buYtM8UUZpBKxKS3FwAi8XPQg+iSTC cXcA== X-Gm-Message-State: AAQBX9ekXnK4d3jU2wXkjUned9yigPwZ3NtagD8lH4KyKYdP7WhqOgmq hbDKisJ+wLKEjkHQ0SiIwEVj3w== X-Received: by 2002:a17:907:3f88:b0:909:4a93:d9d2 with SMTP id hr8-20020a1709073f8800b009094a93d9d2mr15929529ejc.2.1679927789302; Mon, 27 Mar 2023 07:36:29 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:581e:789c:7616:5ee? ([2a02:810d:15c0:828:581e:789c:7616:5ee]) by smtp.gmail.com with ESMTPSA id ha8-20020a170906a88800b0093a6c591743sm8733914ejb.69.2023.03.27.07.36.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Mar 2023 07:36:28 -0700 (PDT) Message-ID: Date: Mon, 27 Mar 2023 16:36:27 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH 1/2] dt-bindings: misc: qcom,fastrpc: add qcom,assign-all-memory property Content-Language: en-US To: Dylan Van Assche , Srinivas Kandagatla , Amol Maheshwari , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: Konrad Dybcio , Arnd Bergmann , Greg Kroah-Hartman , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org References: <20230325134410.21092-1-me@dylanvanassche.be> <20230325134410.21092-2-me@dylanvanassche.be> <883c3c48-c6e5-556d-431f-e92592b9106a@linaro.org> <44904ffc-83d4-1137-3479-737a81b31d16@linaro.org> <1f3fb4bd5387c8d69a6eb068fb773b9273081c13.camel@dylanvanassche.be> From: Krzysztof Kozlowski In-Reply-To: <1f3fb4bd5387c8d69a6eb068fb773b9273081c13.camel@dylanvanassche.be> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27/03/2023 16:26, Dylan Van Assche wrote: >> Bindings are not for driver behavior. >> >>> Downstream does guard >>> this with a property 'restrict-access' as well, see [1] for a >>> random >>> SDM845 downstream kernel. On SDM845, this property is not present, >>> thus >>> the IF block runs. On SDM670, this property is present, then the IF >>> block is skipped. That's why I opt for this property to have this >>> behaviour conditionally. I'm not sure how to explain it better >>> though. >> >> Still you described driver... Please come with something more >> hardware >> related. > > So just updating the description is enough then? > > As this is all reverse engineered, I have no access to the > documentation of FastRPC, so best effort: > > """ > Mark allocated memory region accessible to remote processor. > This memory region is used by remote processor to communicate > when no dedicated Fastrpc context bank hardware is available  > for remote processor. This description does not explain here anything. The memory region is already accessible without this property. You described the desired Linux feature or behavior, not the actual hardware. The bindings are about the latter, so instead you need to rephrase the property and its description to match actual hardware capabilities/features/configuration etc. Remember that any arguments to downstream are not really good arguments. Their design choices and bindings are usually totally not acceptable. They simply embed whatever driver needs in DT - policies, system configuration, driver behavior... Also, Dmitry made here good point. Best regards, Krzysztof