Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7543779rwl; Tue, 10 Jan 2023 02:07:33 -0800 (PST) X-Google-Smtp-Source: AMrXdXtbZug63/wz3hf4UmGm3HGTlDsy0VxGdWsTgG3bcIbaQB6t+jzDgYGLiLsJyJzimhM0G2/V X-Received: by 2002:a17:90a:188:b0:227:b49:6233 with SMTP id 8-20020a17090a018800b002270b496233mr7757897pjc.45.1673345252924; Tue, 10 Jan 2023 02:07:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673345252; cv=none; d=google.com; s=arc-20160816; b=pw4W2MRuTKf9Qix2voIJn/JRD4TCYgtqANc/e9kL0KUi/QKxUZuQKoHTP4ky94CKr7 eXzYcliDzePwRBstqDPrKZH3093yUo7WnXF9b+jErXwXrs4sEEmIKImU57AR/xz/p4CC rgaaufDHTW57+CYa5MLm3slGONDHYftOsB2FU5Cv1qB5IvJ+3g5DtXhqBXiD9EGfXSzg ArH5hkkoErvOfNe9FzS4p7jkrM2o+2CMHr+b7uYgLzhWciGYsgbvSeonVtwWikzjFqQ2 yTRm8eJM9VLrLQF33ZHbG3hAr0mb2EUZf7LTFTgrtJUgHzFIOtf8nGmsriSHUjVmk+J3 rE+A== 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=mrQ+JitbOECIDmgf2/u1/1zEEDmDsSRqp9Cq/AzQXQ0=; b=oIsjsHPgXZ3X7Geqhs7Ndd6crMIgH0GhdpiUiGp/GRLjPdT5A9kO6KUbbRqDOMar77 VHdizUiQkc//2oVHrfjahjoIHOpSIfk2JBLRtM7v0Iqps7LB6MegFdBS5vJwatJ24PYg fD7aZPHRtKfmrN+oeXSEfxrr9+D6XliPIJZ4syNlwSwawrTIgXulKQPOmHpmxUDNjTB/ 0ma4ysytlSMgrHILvZgRnNRey/pyy7S3ixdvvgDQ2DkNdlr8d0nj9nDCW5cqYGr1QDaf nidlE49250ri4GGJHjJMCCYRzsjfNhgq73kMvX7vI8F4rzGTO6X6+0fdnC/OMrB9XKmI mXfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=loQjDkRB; 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 a65-20020a639044000000b004b64146f242si216150pge.430.2023.01.10.02.07.26; Tue, 10 Jan 2023 02:07:32 -0800 (PST) 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=loQjDkRB; 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 S231230AbjAJJfp (ORCPT + 53 others); Tue, 10 Jan 2023 04:35:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231609AbjAJJf0 (ORCPT ); Tue, 10 Jan 2023 04:35:26 -0500 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA2D2193E4 for ; Tue, 10 Jan 2023 01:35:24 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id p3-20020a05600c1d8300b003d9ee5f125bso4820135wms.4 for ; Tue, 10 Jan 2023 01:35:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=mrQ+JitbOECIDmgf2/u1/1zEEDmDsSRqp9Cq/AzQXQ0=; b=loQjDkRBkBqAGesdAJKVwXdr1EWle0ogRikYAZFq5P406xMPLYesNPr4Up06ii/Bnt OLKbWAgoQkT/oCGNlKfRLsCyC8TdDClFDct/3+MraZeDWIQl+UD2j0/n9SUHjJ4OwH9A X2G9Q4+xkhzmauIh7+bb9GtdS6iLYGI92uIKTFLPP8Ie94Z+wyyVONQe7bfO9xueJnOF QZGDxsyIMnT6eM/H3WSn9k27afZYsUUFFMye9EFNPjSe0FFo+Pl+GOry5AnXtwNgy4+Q nxAJwP3GIJHpdADZlBglkjcJ4vs0EWrN4pFAxkFSZ+OY9SlmzrVhUcO09I+68bZYbZii oVwg== 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: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=mrQ+JitbOECIDmgf2/u1/1zEEDmDsSRqp9Cq/AzQXQ0=; b=aqiVZjit3yRHoshLVuLxsc5t7v79UzF/ulvTi2nT/OTgWKcjyCOlUrmloFr1Cx7GEm gl/NuW4ulQD0HPp4DKzBwIufg5kbC3WKXIwtMf5MIpjTp1xH1hvx0IUMXbS3Pqe3uYDu 1U5rpf8T89b9/8MvZFHGNdgswd3AGU68N4j2BJlCsbKWY0eOLiQYmTEDWEQSsQ3OCpnA rx7TQEcl2PfVAwq7fwxeB3vz3AJt4yYGgyCNfEyRpmuS1kJuy2mgX7FnxcH6nXbUSCbM bpQxLdj+5x2l6Jcy+gZGa6T+S8eQ7tkfijEW9QqsaqpcjBNnq97yqTqnwwON39Lz0KYX DgFg== X-Gm-Message-State: AFqh2koxmQr4N2UiJruOH6VBfde/FDS1SeTRNzrhi4YoX8c3ppi423U4 2HkGGmTDaDREVPiMTcN5yE08+w== X-Received: by 2002:a05:600c:3490:b0:3d9:ed39:8999 with SMTP id a16-20020a05600c349000b003d9ed398999mr6191599wmq.35.1673343323420; Tue, 10 Jan 2023 01:35:23 -0800 (PST) Received: from [192.168.1.109] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id y15-20020adffa4f000000b002bbec19c8acsm5383940wrr.64.2023.01.10.01.35.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 Jan 2023 01:35:22 -0800 (PST) Message-ID: <92955e76-807f-3a8f-8cbd-3fafdd8f2054@linaro.org> Date: Tue, 10 Jan 2023 10:35:13 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH V2 02/11] dt-bindings: remoteproc: qcom,msm8996-mss-pil: Update memory region Content-Language: en-US To: Sibi Sankar , andersson@kernel.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, manivannan.sadhasivam@linaro.org, robin.murphy@arm.com Cc: agross@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, konrad.dybcio@somainline.org, amit.pundir@linaro.org, regressions@leemhuis.info, sumit.semwal@linaro.org, will@kernel.org, catalin.marinas@arm.com References: <20230109034843.23759-1-quic_sibis@quicinc.com> <20230109034843.23759-3-quic_sibis@quicinc.com> From: Krzysztof Kozlowski In-Reply-To: <20230109034843.23759-3-quic_sibis@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=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 09/01/2023 04:48, Sibi Sankar wrote: > The dynamic memory region used for metadata authentication would still > be a part of the kernel mapping and any access to this region by the Just one space before "by" > application processor after assigning it to the remote Q6 will result > in a XPU violation. This is fixed by using a no-map carveout instead. > Update the bindings to reflect the addition of the new modem metadata > carveout on MSM8996 (and similar) SoCs. > > Signed-off-by: Sibi Sankar > --- > .../bindings/remoteproc/qcom,msm8996-mss-pil.yaml | 14 +++++++++++++- > 1 file changed, 13 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml > index d3d3fb2fe91d..ad1a51c23949 100644 > --- a/Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml > +++ b/Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml > @@ -123,6 +123,7 @@ properties: > items: > - description: MBA reserved region > - description: Modem reserved region > + - description: Metadata reserved region > > firmware-name: > $ref: /schemas/types.yaml#/definitions/string-array > @@ -165,6 +166,16 @@ properties: > - memory-region > deprecated: true > > + metadata: > + type: object addutionalProperties: false > + description: > + Metadata reserved region Blank line > + properties: > + memory-region: true Blank line > + required: > + - memory-region > + deprecated: true Best regards, Krzysztof