Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1323654rwb; Fri, 23 Sep 2022 10:58:17 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5m/zibJW+g0+lMh75XbsK37IQFAPI65u/twUuCvWiRjqUTLb+GEw72WwSvcant/hR+6tyW X-Received: by 2002:a05:6402:5cb:b0:452:e416:2bc4 with SMTP id n11-20020a05640205cb00b00452e4162bc4mr9662499edx.114.1663955896994; Fri, 23 Sep 2022 10:58:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663955896; cv=none; d=google.com; s=arc-20160816; b=UQQFKbKIKYCo1INYAAvrk4byHJka3+V/8BrJwcn0sCrFtVMQFZEk0N5BZnxbWAYrPF 86DAc/ptw8jo7NFpTdZB/QO0BfI1SXQUIIr2r3py4ZhyZNk9F0/4n++evFMDU7ylmdZQ iG6SUe/pT/OhKUinYmCiK4frrD2ENPIz0DbX0J3Jv7y3KUgMc7WUYI2jb3kpdjt1f19e gFr63w3uNkgUPZDU27epSnkxpSHKoWEeVd7pzpL+J1sObK2OlvvGvCp9chIRjs0yNtNs 5ymVaQcQbS4+mCcwjnDWTxrYESaAzHlHzmmTd1C1uMpBnson0Pog+XDL/7z2gnlrgkRI 3RBQ== 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:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=d2aMGH6UHNRKejwJPNEF8etSbQwBB3RTv4C2uFoQ+hQ=; b=rEdE4QJ6iy8mSYsb41EGPS9un0B4dTrwEj4fnwCYShR5iWShG+W+SBNoiCnEV2iQmP 5KUaj2v1NXgyzMT6li74s4JMzdeDY5iRrtOYql5/qrjlggvuffi2FA0PZKhPm8DThyej ZrqqFv243nNOG2v5/iuqfrMXgPIimw/WX6lYZfkP3CJMSiibvomtpu/KecqAcf5EpBNM yQktjfvoE6oDrAQZAfIQXWRVjIYBuO24d0Mwzbzqahv8VhHNMhSjiVjcu76yZpwIyLKj zPokgjOpbz39z9UfheFNPLdxqd9eQcEZkfsow3nmSKI2lNh1Dpsaa7WiJ8lxwKbHT0rD gUwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Rxm2qRqA; 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 q15-20020a056402518f00b0044e9afe62ecsi8076622edd.392.2022.09.23.10.57.50; Fri, 23 Sep 2022 10:58:16 -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=Rxm2qRqA; 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 S231277AbiIWR0m (ORCPT + 99 others); Fri, 23 Sep 2022 13:26:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbiIWR0d (ORCPT ); Fri, 23 Sep 2022 13:26:33 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 312C414F28F for ; Fri, 23 Sep 2022 10:26:32 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id z25so1367984lfr.2 for ; Fri, 23 Sep 2022 10:26:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=d2aMGH6UHNRKejwJPNEF8etSbQwBB3RTv4C2uFoQ+hQ=; b=Rxm2qRqAZnLWxG+kWDcYrS34l/7LustMqorREHAh37L7BpSVEAe75br2Cga0STKUHa mBzvUCgSYj1AXSH8JrCJ/PyICy+z6sDl4alwbLljG5XhYTcUSTYIZz00wGLa9XAAO1MY HX/IEuup1VLNDKZl23dFQFmkzWB3LE0UwMJ3ptrhrJaHjLKRy/1He8PUQt/J6g84y5e8 CCcrlnPmk+Wpuu9YJrqd7aj151JMn1O8BQl1DT9E4j6p+xfFDgfP2OY/PRLYsQXsjxEb X7NcAO75+UgZr0VdTFCL9mXE0fuXMZhP03tWOBXSS/RXDMgIxg3UwfnyuQsEP5QaimcI qbkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=d2aMGH6UHNRKejwJPNEF8etSbQwBB3RTv4C2uFoQ+hQ=; b=Rgz8mQst/MshVNvIvpo5bfTk7Qxz29BCgsScc0ZT4q5VGSKJoy6OD5NCK38NHmo7kT jVVy82DSXCXrtjrWookEzhHHQ57dRnm1+Me1WMj9zEMBnFCykSMAzY617MQEG4JL1c9v 5PNzbTOl0gWVe6C2aHasYJ6lEw1zXH/CN4cvswybeu7MNFEOwh0T5Vsj07bxjnP20yTU +qBKP3qj5pGMeVp6M9xH3Cn3fq47srZWGLN/bt8N8TM8A1MXQ+FDIDE4VMPIzBo0DKc8 f4hbxMnRLfbiKZ2bOd9JdNVRnP6uJKm6Et0RBYyEGseC1/FJedRkaIvuD84InHSnSdfF L00A== X-Gm-Message-State: ACrzQf2xVSrtW7u6Mgc/Yz2JNRV04W3I+SgRI9GmX4JupvVbDumRZT2W hn+BWyBiE89X9bMTHKj7Wfxz0Q== X-Received: by 2002:a19:650f:0:b0:494:827e:5ef5 with SMTP id z15-20020a19650f000000b00494827e5ef5mr3487893lfb.411.1663953990513; Fri, 23 Sep 2022 10:26:30 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id p9-20020a2eba09000000b0026c037747bfsm1481226lja.3.2022.09.23.10.26.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Sep 2022 10:26:30 -0700 (PDT) Message-ID: Date: Fri, 23 Sep 2022 19:26:29 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH v8 7/7] remoteproc: qcom: Add support for memory sandbox Content-Language: en-US To: Srinivasa Rao Mandadapu , linux-remoteproc@vger.kernel.org, agross@kernel.org, andersson@kernel.org, lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, quic_plai@quicinc.com, bgoswami@quicinc.com, perex@perex.cz, tiwai@suse.com, srinivas.kandagatla@linaro.org, quic_rohkumar@quicinc.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, swboyd@chromium.org, judyhsiao@chromium.org, devicetree@vger.kernel.org References: <1663938340-24345-1-git-send-email-quic_srivasam@quicinc.com> <1663938340-24345-8-git-send-email-quic_srivasam@quicinc.com> From: Krzysztof Kozlowski In-Reply-To: <1663938340-24345-8-git-send-email-quic_srivasam@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 23/09/2022 15:05, Srinivasa Rao Mandadapu wrote: > Update pil driver with SMMU mapping for allowing authorised > memory access to ADSP firmware, by carveout reserved adsp memory > region from device tree file. > Thank you for your patch. There is something to discuss/improve. > + if (!rproc->domain) > + return -EINVAL; > + > + ret = of_parse_phandle_with_args(adsp->dev->of_node, "iommus", "#iommu-cells", 0, &args); I think your bindings do not allow iommus property. Best regards, Krzysztof