Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2785460rwl; Mon, 27 Mar 2023 05:24:44 -0700 (PDT) X-Google-Smtp-Source: AKy350bwaNv1x5zJWky7ldAVayewSKNXkIWfjovE/2NQTGnYxA+N4cslz+yRpD3nFGB971SaJIHI X-Received: by 2002:aa7:cac5:0:b0:500:4a5d:af3f with SMTP id l5-20020aa7cac5000000b005004a5daf3fmr12112844edt.34.1679919884275; Mon, 27 Mar 2023 05:24:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679919884; cv=none; d=google.com; s=arc-20160816; b=n3sYzRiTRSak37opa5rtewOEqIo7OQMFLdLMtdUHLNwjGZHO1NNzpCCbj4xDoHKS2+ dkWMOKfYnnY6E22+lP84oe/u1qg4UPKkwLp37JOHwGxVtfwc1zCinPMbj3RNNh36LgQ5 36cM11z7GW6N1IFXzPUWnZ3JmTI4/I/kNtj77gbpXU6qek7D4mN03WS6NLOwBfb7e47B V3XcWsDqtkNFvtntjQ2SBdnl3n906KvrlIJ0xOn9ZJSjz4gmTDbop0fxp1cmZxq8qH5p VfzytmHjKnmL+snEy8t3YwWnkJF03ooVHPAV4G/JhNxyMtqa/EoWHS2/wn+TR+RMZDtS zt8w== 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=EzcyCIFG4peg2Ww15uJJ3yrB4ucDFkS9kgu5aS0qaCA=; b=ZwnF4BhOKKt0usO/rGl5A7/z8biY8fbncRIJohstEGdoU9dpRcHeJ09UM9TiUGlr4t wlrvDakIkyxxNI7oBQBLCKhybZbAMBcJnhfx0A1dYoEzlYRBkf+koUOYBLBfQjMqG9bH UBwIWiPKreSUJEeAFaS5r3iE5J0kHF+vzByES59bNdfZSGAUCvFF89MYCB4Wwo7F34bQ gDHdX35HJl7Nh0AlmOEPCFkF9t+2KURBFFz3u2YUC73KYWALaUXBcCmhA9euS5ssw3y4 esYQpb1CKOZzJd/Ri5MWQgbqHT4dPrSq9H5wCSVmWEMerrNJaq2+d+mKDqhJEa8WjvK1 7aAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OeLzruwP; 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 n21-20020aa7db55000000b004ab092142e1si27904798edt.406.2023.03.27.05.24.18; Mon, 27 Mar 2023 05:24:44 -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=OeLzruwP; 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 S232699AbjC0MX1 (ORCPT + 99 others); Mon, 27 Mar 2023 08:23:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232548AbjC0MXI (ORCPT ); Mon, 27 Mar 2023 08:23:08 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C102E65AB for ; Mon, 27 Mar 2023 05:22:22 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id cn12so35406192edb.4 for ; Mon, 27 Mar 2023 05:22:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679919741; 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=EzcyCIFG4peg2Ww15uJJ3yrB4ucDFkS9kgu5aS0qaCA=; b=OeLzruwP9GLcp39m617tUG87vVomI1TznaxtZiaTiuU6a0rqWHMFmN95zDJkYYGb6r AEDRoSB69YYCzQCwbgk1q3CrbkMH2S+vwUqI2g281YZf2vQ4Zjqg3QmE7SG7D5i0yzFP fjCQwrxiBezH3qX7aMIK4pHtj2SLuVhRA6x6k+sjStVjwUxASkP7Mqw3pUoU6/oS5BoI vAItJh0NKmgKr8RE+CritAAmsa4Hrv2T9mHT+b+IwMCYyVXmLi4Wz4FeoGkeGSDjHESA q5kSUOImgCh25bpPbCZQwvCFf+SiogH3ryfGFKW+6dr+g4zmLFAGauLUTdtBC/KPFc5w Vjjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679919741; 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=EzcyCIFG4peg2Ww15uJJ3yrB4ucDFkS9kgu5aS0qaCA=; b=Zw43wrEVZJIL3m+lVN5f3LB/nyABobNxSrcQNwZhcSG1qDN7XuYMff3nioO1KSw5OG sQhQEQhni0lZysUgOb3M+9Rzag4PEea1UiamXsPnKSTGZU6OcnnOevExIk4AkqFiVo9g rGNID0FsigDwcUA2Mic4QJtbsJ76YdxIAJ/X8xgwYN/VpfJArheCgiuEoqULf5ZoWi0m tom7usFbR2Ra3vTX9ba5rJaV3K7m97zxKSnJCqn6I6pZP4eyOHXTpMwVUJhSVuwjWyRr N1uC1Kp6h0k6ihC7iyGtZT3Z448PzJD7Gtc/yYr+9i/3mATQsyzeRUOH1i5XGrWMmsFJ yHDA== X-Gm-Message-State: AAQBX9d7BZlAu+7kL+7B4bOScR3zikmaa+wqtuhgJOaQyARpwDqjRe6o MfgUlCLe8uQJ6b6lpCbT/Wiusw== X-Received: by 2002:a05:6402:d7:b0:501:c4e3:9914 with SMTP id i23-20020a05640200d700b00501c4e39914mr11017861edu.33.1679919741277; Mon, 27 Mar 2023 05:22:21 -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 n7-20020a509347000000b005023ddb37eesm2312482eda.8.2023.03.27.05.22.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Mar 2023 05:22:20 -0700 (PDT) Message-ID: <44904ffc-83d4-1137-3479-737a81b31d16@linaro.org> Date: Mon, 27 Mar 2023 14:22:19 +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> From: Krzysztof Kozlowski In-Reply-To: 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 13:37, Dylan Van Assche wrote: > Hi Krzysztof, > > On Sun, 2023-03-26 at 10:55 +0200, Krzysztof Kozlowski wrote: >> On 25/03/2023 14:44, Dylan Van Assche wrote: >>> Document the added qcom,assign-all-memory in devicetree bindings. >>> >>> Signed-off-by: Dylan Van Assche >>> --- >>>  Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml | 6 >>> ++++++ >>>  1 file changed, 6 insertions(+) >>> >>> diff --git >>> a/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml >>> b/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml >>> index 1ab9588cdd89..fa5b00534b30 100644 >>> --- a/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml >>> +++ b/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml >>> @@ -57,6 +57,12 @@ properties: >>>        Virtual machine IDs for remote processor. >>>      $ref: "/schemas/types.yaml#/definitions/uint32-array" >>>   >>> +  qcom,assign-all-mem: >>> +    description: >>> +      Assign memory to all Virtual machines defined by qcom,vmids. >> >> This (neither commit msg) does not explain why this is needed and >> actually does not sound like hardware-related property. > > This is made a separate property to toggle different behavior in the > driver if it is needed for some FastRPC nodes. 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. Best regards, Krzysztof