Received: by 2002:a05:7208:3003:b0:81:def:69cd with SMTP id f3csp4105587rba; Tue, 2 Apr 2024 07:50:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXBzwje7C1dch0ugyj61gcBjA0kIzs7D9P5ZTRyCl7ukLLji8YT0xPU8T2rbkh8WonYSPGbUKE8ZNBZnzLUNmHUfUqFfUe+WdmRkiI0JA== X-Google-Smtp-Source: AGHT+IFusotigVRF8G/6ApNxy0sJnrSVX+ai/cEaafTW/SKKW9O6ZruSI85PWHpx9U/wsCK6yGTj X-Received: by 2002:a17:906:88a:b0:a47:3409:2948 with SMTP id n10-20020a170906088a00b00a4734092948mr7707529eje.38.1712069453327; Tue, 02 Apr 2024 07:50:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712069453; cv=pass; d=google.com; s=arc-20160816; b=YyCd/wEcyK2XRNXd0sW9fuvdixJDxURqVkOINj0zlnxLHTDr4wzLOzzf/OS0cXw5za O6CpBrNGCtKaSSgZOapmxrEcOsRrwATj+sTfitCVYFFJ4zvJxFYNoseAkKZvAP3jVczz 3GEdspyYIWhNmaGZexMO0GDzBT29/nQn0wFZnb9LKSarnI+Nk9x5WmzF3vF5QAXIdGaO LFSEr/5K2ZUeTIsFueiROm8x3sBOPSVD/uYe/x0DGFADniLO51eCpQ9fZmDcygQqBZ/P Ab8JMQmBcK1+GLLDyF6xrJjdg3DUJzzotVUJO5tJw6b25S9sU/NtxzaXbzeC+/SZ8Drt K74w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=hAVh7IlPzqGjm9NpZgxRf0H+NeU99flnbxeI0QSVaJg=; fh=YX77+rXUhlF0GOUJ83/iH+dlwNy4P5WPWIXEpplXA5k=; b=hpPz+fKI9oOg6yGSDQDXd6aRrZBLmoyC43rxZ2XZ4CpIeHMyvBjhybC1LXZGu1NmWR eqc5F6Z27eaFOL9+cW8VKmq0mk6JXcQDYeFfVdXPFiMHnu/g8eD2Uu+qoVyahhnFX0ay 25ngfn68aKE3gla4JE5u4E+WTJSQKV8Mm2czdx7H2kZbylvKuCIAvTSNGdPHtjF7cnf+ XRGLKbshmTYoiBktdlRA5clplPrDg1AaQJeK3Wi5cxPED8VXHyAxw4MWgllrWuL++bc3 VjGofcyVWvhDTPmY1HGzAjzZAIB1jEZredBiAXMTldNJIJp/NUhkrGx5UAxxlwy9bt2T a1ow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kEOYK3HN; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-128198-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128198-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id hp16-20020a1709073e1000b00a4e2602d757si5902116ejc.351.2024.04.02.07.50.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 07:50:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128198-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kEOYK3HN; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-128198-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128198-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id DD6051F23130 for ; Tue, 2 Apr 2024 14:50:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 543561350D7; Tue, 2 Apr 2024 14:47:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="kEOYK3HN" Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6B94812BF15 for ; Tue, 2 Apr 2024 14:47:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712069250; cv=none; b=hh2BO6pUVAoAKMl1c4+QRGy5A70y+BRdpzQw5/9Gfc5eZfK4c6mUdzU83wK3ms3ind+3ieB6UtrUFE99vrbmVPnCPMdOpUr2c4MfJSnGydAMKAPvuzrxL2SxOc6a6VTyzjSO3bzN8GireVhMndkbPhZrQOkYQ0EQZM/2VHFy1Z0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712069250; c=relaxed/simple; bh=yOuFMfKt3fhU2KvOiQGXseYLvQBMDDOSvq+QfscMDJI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=OSk6X0W5QICgb2uvmVBTqoiOn5CiS9KJVK9cbbjQE+u9X5lc2V6BRBAGPJDILQkIXUFWe7UHSm0JP1fHqQ61i/P8Wu1YVN01eyyOVrF4fvr4cIpJeD1oXIm339j+gksuHBi0YjOYNXTcdcvKbt1/dtL6WMeo8G7e1yIFRkrx0Iw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=kEOYK3HN; arc=none smtp.client-ip=209.85.208.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-56dcf805aa1so2169092a12.1 for ; Tue, 02 Apr 2024 07:47:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712069247; x=1712674047; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=hAVh7IlPzqGjm9NpZgxRf0H+NeU99flnbxeI0QSVaJg=; b=kEOYK3HNYBoaLX9mLL2lizwyVaID20fE73Hc56G1UdRcle/UVuCx3hltn8614LQx4I MnvcF6z3yNIYAEFXZU0hFsMKqCiuP56KSD6fhU2B0zp8I8OoKfkoQiFIZCpvPbgEVFtc +Aalx1e5QgW8aYGoJ+l67mSmy+cHvtUWQOpbaHzBWhVm0Su2RGW5ANcQ77OHp1dcpart XcLbUqy3jLBJaQg5zel1yX8eUGabfggA81c2/pop4T8BoTL6mUYSXTHIIqvSHi4kiq39 IxltSd6zcQWdv/kw+TIbuFUNwBZXB/YxApYHkCYEYyCI4QpoNHbL3sbqtTbWi10gYmpB M28g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712069247; x=1712674047; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=hAVh7IlPzqGjm9NpZgxRf0H+NeU99flnbxeI0QSVaJg=; b=UPG/n2c27V1dN0JFD2GfeLnKTlL6tbXvgxe3DUuxQ1+xgWkOTo+rGU7AJqDJlERqDl VeusrDKW0LS8wVLiYqcOYsZY0KDWvzIwyYivEKhDIe7VBA2OKxzF891JPh4oojKbtvs4 lHOusWy6tPh9W27MaIUkWT9rcf5spbyweldlQofVt9/P+Zad0XrUAMK2DpEI63qIX/UO 4Rfo3/PusW0KGG94RDeMB6upDLsvD29Dl++401VLznMzltW9tn+UIgL8Mqh8gaPvps7P PC7YsZ543y8TAkUoISdwsaaTafL5P2YOLA41GiDpGHY1Zf58QyBJdmLO8wkCkScG2DRE ybLg== X-Forwarded-Encrypted: i=1; AJvYcCWAUKJk2dcpdsDqvjdS2hh8uK/FUtic3xvM09iVyx0Nnz8HGKO9yoNNbqlyh4lW/6/oePfrmLlaLhjjijZXW9EX06IktRUk1lrbUXaZ X-Gm-Message-State: AOJu0Yz1TV7R/a/ssbX4Kwccmzi5RLVtIPhUBQ0B8dzAm4taTinLEn8a Q4CDdq79g58aMwOTawLdHS5ZW9fZn00x43iVY6mA49fYS56E02HxldMXYtXFUWY= X-Received: by 2002:a05:6402:5190:b0:568:9ba8:8f1a with SMTP id q16-20020a056402519000b005689ba88f1amr9970535edd.7.1712069246823; Tue, 02 Apr 2024 07:47:26 -0700 (PDT) Received: from [192.168.92.47] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id r1-20020aa7cb81000000b0056dd4bf7660sm2488730edt.52.2024.04.02.07.47.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Apr 2024 07:47:25 -0700 (PDT) Message-ID: Date: Tue, 2 Apr 2024 16:47:23 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 3/3] arm64: dts: msm8996: add fastrpc nodes To: Dmitry Baryshkov , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mathieu Poirier , Sibi Sankar Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla References: <20240401-msm8996-remoteproc-v1-0-f02ab47fc728@linaro.org> <20240401-msm8996-remoteproc-v1-3-f02ab47fc728@linaro.org> Content-Language: en-US From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u2LIEq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XeRM 8arzfyiB5wJ9tb9U/nZvhhdfilEDLe0jKJY0RJErbdRHsalwQCrtq/1ewQpMpsRxXzAjgfRN jc4tgxRWmI+aVTzSRpywNahzZBT695hMz81cVZJoZzaV0KaMTlSnBkrviPz1nIGHYCHJxF9r cIu0GSIyUjZ/7xslxdvjpLth16H27JCWDzDqIQMtg61063gNyEyWgt1qRSaK14JIH/DoYRfn jfFQSC8bffFjat7BQGFz4ZpRavkMUFuDirn5Tf28oc5ebe2cIHp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20240401-msm8996-remoteproc-v1-3-f02ab47fc728@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 31.03.2024 11:10 PM, Dmitry Baryshkov wrote: > From: Srinivas Kandagatla > > The ADSP provides fastrpc/compute capabilities. Enable support for the > fastrpc on this DSP. > > Signed-off-by: Srinivas Kandagatla > Signed-off-by: Dmitry Baryshkov > --- > arch/arm64/boot/dts/qcom/msm8996.dtsi | 57 +++++++++++++++++++++++++++++++++++ > 1 file changed, 57 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi > index 7ae499fa7d91..cf7ab01f3af6 100644 > --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi > +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi > @@ -3545,6 +3545,63 @@ q6routing: routing { > }; > }; > }; > + > + fastrpc { > + compatible = "qcom,fastrpc"; > + qcom,smd-channels = "fastrpcsmd-apps-dsp"; > + label = "adsp"; > + qcom,non-secure-domain; > + #address-cells = <1>; > + #size-cells = <0>; > + > + cb@8 { > + compatible = "qcom,fastrpc-compute-cb"; > + reg = <8>; > + iommus = <&lpass_q6_smmu 8>; > + }; > + > + cb@9 { > + compatible = "qcom,fastrpc-compute-cb"; > + reg = <9>; > + iommus = <&lpass_q6_smmu 9>; > + }; > + > + cb@10 { > + compatible = "qcom,fastrpc-compute-cb"; > + reg = <10>; > + iommus = <&lpass_q6_smmu 10>; > + }; > + > + cb@11 { > + compatible = "qcom,fastrpc-compute-cb"; > + reg = <11>; > + iommus = <&lpass_q6_smmu 11>; > + }; > + > + cb@12 { > + compatible = "qcom,fastrpc-compute-cb"; > + reg = <12>; > + iommus = <&lpass_q6_smmu 12>; > + }; > + > + cb@5 { > + compatible = "qcom,fastrpc-compute-cb"; > + reg = <5>; No need to copy downstream's creative alphabetical-but-not-numerical sorting.. The entries look OK though.. although, any reason we have such a weird binding including faux child nodes and not just an array of iommus? Is the only way to discover the fastrpc nodes' properties such as qcom,non-secure-domain or vmid belonging through hardcoding? Konrad Konrad