Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp4736016rwb; Tue, 8 Aug 2023 13:01:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHV/0GDTjmna/F2+6BKMoJuM9+3WFee8B4JYWx8SiSmya9zywH5wxMW6L4Mo+bc61vr4P/A X-Received: by 2002:a17:902:dacb:b0:1bb:9506:d47c with SMTP id q11-20020a170902dacb00b001bb9506d47cmr906886plx.19.1691524913114; Tue, 08 Aug 2023 13:01:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691524913; cv=none; d=google.com; s=arc-20160816; b=M+VJy8cPhIOa3NGcroPoif2xMptMA9OKez8YrlKsoJ9m0ve/+j1sk8WYk82sgiqeIy gJQAbh0XKYCfWpU9VUAG55UueyOCEzNNF8cVQdxLO+voGO8YfIOiaKiyadiWrMAOT0eF uDF9EL3IFcG5jJSmMDcqwefBqxiN8lyd6j4dQQ/sJR0dq6QRoqhr9miDqAGydx/co8Mn IwuGUJBjIlb9wVwL6x6o8dTFJgYGSlNBMa2GVm87CbDXDiYRiNzlWE198QM5EyT+GQZw 5yOmHwctFTI5UUt5YYMpIK73rnckCPsIHoEiMDVdRU4RdfB+SlM9tQ+gT9eoauTVFvDY K7kw== 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=Vsp33dBf7UhgamzOkYxOzQdC3CHLd9zXwnmRE8U0OWI=; fh=SspxGTyfzjti66W6XCA4Ex4dNh9X/ke30eKMkuDrOzU=; b=JXVmQsQmQrnA2ieurulQGXSvfBAMtJfQGclbVq6otvaq1D9eaPfgrtlWw4O/hzRy66 w6tkj+ypIo4TMDEKPk2Y0jAva3iZqS9Gx8+op79hZgJlyUHldVi8ER9gLiqBb+gn69KM ltBtAPBKrY1Jdk5j01dYBozL0JkqzyYamhd1MwewX6JIbrHbN3vraZjXpjA1b9kgEUY/ 6WZoc+saVGiJKfcNYxhhpISTUwxh+z8JO9R/VrP0M7KDuP2iuCt0OP8EriSHpy7Id70q IGisZLFQVx2QhB3leDCJ38jE4y6pfqjripbk0KWbVRvbez8QZq7sGAN2XiPZjWmMD9kL x7tQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BLh7lEZE; 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 g17-20020a170902c99100b001bbaa666bffsi7575849plc.131.2023.08.08.13.01.40; Tue, 08 Aug 2023 13:01:53 -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=BLh7lEZE; 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 S234123AbjHHRTA (ORCPT + 99 others); Tue, 8 Aug 2023 13:19:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233929AbjHHRSc (ORCPT ); Tue, 8 Aug 2023 13:18:32 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5D251E324 for ; Tue, 8 Aug 2023 09:07:33 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-4fe0d5f719dso9667715e87.2 for ; Tue, 08 Aug 2023 09:07:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691510846; x=1692115646; 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:message-id:reply-to; bh=Vsp33dBf7UhgamzOkYxOzQdC3CHLd9zXwnmRE8U0OWI=; b=BLh7lEZEWXDgnTC3aiMQjivhLA7hRBL1fFgDETled3wHSjm6Uy95V9IBLIlpoXdZf0 kdQ5UzbfgeYOhG0Dpqt1/pOIcz3MtnVpgvAO9Ch3MnrHg94V9q16H024NtGnfTBrUswo 6FgYwj3IvRWBLskujW5zEaPNHdINOe8/JSBeSi0fdHRXRgH71ceyRT9541xyKc7aZEl+ VQ3SIcS68jjGYFDaljVvla3EAtTS/snK/3ety8i/5pzsG9Zu7CtmuGFXPOe7mq8cbQ8C QbPZ1OV6k+992cFmAcd4TdP0Slj0lydmz0IFcggcVxDeanLu7SWQbGTO1uC9bdLnQbop mZ9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691510846; x=1692115646; 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:message-id:reply-to; bh=Vsp33dBf7UhgamzOkYxOzQdC3CHLd9zXwnmRE8U0OWI=; b=L1LxSURAd+raXrYfsG3EM2eYd/H0CyudJ4d4T0Mq1dUfAt0omDqkYoqR06309Qpk42 2OaEeYwuHsS6u3pUe7FSHrMRpsG177k7SF680DSd6GQ9X9m5gkRl2UXLTfrVKrHA5HPv r9JRKsBVAEvd4+f36Y+WYm7ID5hwYtiZVtagHoUOqbizfSOEdXYP+IFLLYvQU0Weock7 R+iFXQBvY1x1R94a8UpJ7gwwWhpKyczjWA+BsnYLhlTXcKsP2EM5zMVCjTF2/Ulsb+gY xdzFkukKGl90uQ1oDjng/Z9pddi+9Q1VBiduRRS0c4EVcPvUbsf7aYWfTUFlJ56dMPBD AzSw== X-Gm-Message-State: AOJu0YyZqf2Qb3urmOM0WGS78GygdSfTanNaA3+Z+Hu0sYTBB5xLNu+j FspIESrvmROX5oxlmZIdWUW7z6kl/78HSrwemTw= X-Received: by 2002:a2e:7e0b:0:b0:2b6:ed80:15d1 with SMTP id z11-20020a2e7e0b000000b002b6ed8015d1mr8862529ljc.24.1691506333010; Tue, 08 Aug 2023 07:52:13 -0700 (PDT) Received: from [192.168.1.20] ([178.197.222.113]) by smtp.gmail.com with ESMTPSA id v8-20020a170906180800b009934855d8f1sm6817973eje.34.2023.08.08.07.52.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 08 Aug 2023 07:52:12 -0700 (PDT) Message-ID: <65a57225-43d5-fdfa-c12d-3f33f8e535be@linaro.org> Date: Tue, 8 Aug 2023 16:52:10 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [EXT] Re: [PATCH v4 4/7] arm64: dts: imx93-11x11-evk: added nxp secure enclave fw Content-Language: en-US To: Pankaj Gupta , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "clin@suse.com" , "conor+dt@kernel.org" , "pierre.gondois@arm.com" , Jacky Bai , Clark Wang , Wei Fang , Peng Fan , Bough Chen , "festevam@gmail.com" , dl-linux-imx , "davem@davemloft.net" , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Gaurav Jain , "alexander.stein@ew.tq-group.com" , Sahil Malhotra , Aisheng Dong , Varun Sethi References: <20230712121219.2654234-1-pankaj.gupta@nxp.com> <20230712121219.2654234-5-pankaj.gupta@nxp.com> <29cb4426-a15e-7186-1713-427f749bc187@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.9 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,URIBL_BLOCKED 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 08/08/2023 13:49, Pankaj Gupta wrote: > > >> -----Original Message----- >> From: Pankaj Gupta >> Sent: Tuesday, August 8, 2023 5:04 PM >> To: Krzysztof Kozlowski ; >> shawnguo@kernel.org; s.hauer@pengutronix.de; kernel@pengutronix.de; >> clin@suse.com; conor+dt@kernel.org; pierre.gondois@arm.com; Jacky Bai >> ; Clark Wang ; Wei Fang >> ; Peng Fan ; Bough Chen >> ; festevam@gmail.com; dl-linux-imx > imx@nxp.com>; davem@davemloft.net; robh+dt@kernel.org; >> krzysztof.kozlowski+dt@linaro.org; linux-arm-kernel@lists.infradead.org; >> devicetree@vger.kernel.org; linux-kernel@vger.kernel.org; Gaurav Jain >> ; alexander.stein@ew.tq-group.com; Sahil Malhotra >> ; Aisheng Dong ; Varun >> Sethi >> Subject: RE: [EXT] Re: [PATCH v4 4/7] arm64: dts: imx93-11x11-evk: added >> nxp secure enclave fw >> >> >> >>> -----Original Message----- >>> From: Krzysztof Kozlowski >>> Sent: Thursday, July 13, 2023 12:38 AM >>> To: Pankaj Gupta ; shawnguo@kernel.org; >>> s.hauer@pengutronix.de; kernel@pengutronix.de; clin@suse.com; >>> conor+dt@kernel.org; pierre.gondois@arm.com; Jacky Bai >>> ; Clark Wang ; Wei Fang >>> ; Peng Fan ; Bough Chen >>> ; festevam@gmail.com; dl-linux-imx >> imx@nxp.com>; davem@davemloft.net; robh+dt@kernel.org; >>> krzysztof.kozlowski+dt@linaro.org; >>> linux-arm-kernel@lists.infradead.org; >>> devicetree@vger.kernel.org; linux-kernel@vger.kernel.org; Gaurav Jain >>> ; alexander.stein@ew.tq-group.com; Sahil Malhotra >>> ; Aisheng Dong ; >> Varun >>> Sethi >>> Subject: [EXT] Re: [PATCH v4 4/7] arm64: dts: imx93-11x11-evk: added >>> nxp secure enclave fw >>> >>> Caution: This is an external email. Please take care when clicking >>> links or opening attachments. When in doubt, report the message using >>> the 'Report this email' button >>> >>> >>> On 12/07/2023 14:12, Pankaj Gupta wrote: >>>> Added support for NXP secure enclave called EdgeLock Enclave >>>> firmware >>>> (se-fw) for imx93-11x11-evk. >>>> >>>> Signed-off-by: Pankaj Gupta >>>> --- >>>> arch/arm64/boot/dts/freescale/imx93.dtsi | 11 ++++++++++- >>>> 1 file changed, 10 insertions(+), 1 deletion(-) >>>> >>>> diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi >>>> b/arch/arm64/boot/dts/freescale/imx93.dtsi >>>> index 8643612ace8c..2b0f901d2709 100644 >>>> --- a/arch/arm64/boot/dts/freescale/imx93.dtsi >>>> +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi >>>> @@ -1,6 +1,6 @@ >>>> // SPDX-License-Identifier: (GPL-2.0+ OR MIT) >>>> /* >>>> - * Copyright 2022 NXP >>>> + * Copyright 2022-2023 NXP >>>> */ >>>> >>>> #include @@ -863,5 +863,14 @@ >>>> ddr-pmu@4e300dc0 { >>>> reg = <0x4e300dc0 0x200>; >>>> interrupts = ; >>>> }; >>>> + >>>> + ele_fw: se-fw { >>>> + compatible = "fsl,imx93-ele"; >>>> + mboxes = <&s4muap 0 0 &s4muap 1 0>; >>> >>> This should be two entries. >>> >>>> + mbox-names = "tx", "rx"; >>>> + fsl,mu-did = <3>; >>>> + fsl,mu-id = <2>; >>> >>> Drop both. Since you put it into the DTSI, it means it is compatible specific. >> [Pankaj] Removed the above three entries. > > > [Pankaj] Correction: > I missed to note that in our up-coming SoC(s), there will be multiple MU(s): > Those can only be identified using mu_id. Hence, following two only, will be removed: > + mbox-names = "tx", "rx"; > + fsl,mu-did = <3>; Which SoC? How the bindings are going to look like for that SoC? What is mu-did in such case and how does it relate to different mailboxes? Why it cannot be inferred from compatible? BTW, responding three weeks after my review does not help your case. I totally loose the context. Of course you can reply even after 1 year, it's your right, but it does not help the discussion. Best regards, Krzysztof