Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp4254819pxb; Mon, 21 Feb 2022 16:06:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJx1wGZK18nRPTjt0/YJ7qmIIbIR7CLo0wzaurmAejA+tDASCSzWbVdg6TL7gFKA5aRl1YlU X-Received: by 2002:a50:d781:0:b0:410:816a:1d7f with SMTP id w1-20020a50d781000000b00410816a1d7fmr23469800edi.42.1645488403414; Mon, 21 Feb 2022 16:06:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645488403; cv=none; d=google.com; s=arc-20160816; b=SPT8vV1Exbg+V1pRY0Th5wsjaFq5JHdaTvm9O4qCH+UC+Xge6SrC+yUdUlnmctEazy oi5IPqJ1wUYy3OHI5RK6aKKaBL8GqsoubXJv8cb4aKL577HqrJOjlRN/mIaubFedz5Oa 94AYeZbzPC4kqWX39QHcBZ+pSMswgh9LGeJkTozkg3870yd47Gm8XeE2VsMQYtbeL/pY o/BUhY66AJkS8xYDS1O84KDRMONaRxU5qr89v5RpUIC0mmyTA1lJjJUW0Esaz2HdHmKD QgEZfqJ6EjlYBHmSzr+zybII2LEJhlHoxra/kucgSJUBLasU1TilK9wMkzMU7V3sv196 7VoA== 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; bh=2974eKi5BdNp35gKs82/fhm6RumNbC6dF3NV48ttMrc=; b=eQO17Cd8mZI8cPuusdVLsFo9J8XQ4ZRcMjXxTfQJQi/mgWLVfrTbtrc0D6zD8YNjPS z2sC6Xwyr0PMsu0EWjCv9mMhlNde1RVyLc1os4GDPPER0xDfmK9eBQpzpO70UIs3czmB h6mleH6w9ujBkHkME6LLl3bCRe2GiTQCiqP/t+zVm3GC3wkH0mN9qpjTM32ReezpbNwU gCUx8Ee4oOZ2Ozijt6hAzui2m2OQRGczeinTBXUzXEh2cNcQdm2OW1iVsu+y8Qex48zK f1P8e2JghQV0VlJki0s7BmUkt98QsHxANGRwRTsbk0VPFTuwYIZHxElqpbyR/K16mOgT I8rw== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i12si11955184edv.361.2022.02.21.16.05.51; Mon, 21 Feb 2022 16:06:43 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234127AbiBUVCM (ORCPT + 99 others); Mon, 21 Feb 2022 16:02:12 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:35546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232555AbiBUVCL (ORCPT ); Mon, 21 Feb 2022 16:02:11 -0500 Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26A2DDA5; Mon, 21 Feb 2022 13:01:47 -0800 (PST) Received: by mail-ej1-f48.google.com with SMTP id qk11so36386581ejb.2; Mon, 21 Feb 2022 13:01:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=2974eKi5BdNp35gKs82/fhm6RumNbC6dF3NV48ttMrc=; b=1eqzCAudxjM9+/gdX6Jkrrb47saHKR/G8cMmnpDSSGRsltcbboNsnFGFNubNEHqI9x SyC902PaTUis3Vg2RQ0b7JKkYKoyiG/HL4WJwcon8g/P51E6immNKDB24ieBC3D7vo99 BWbW3oFOmwKG/G1AX/qYNCgbZViQ2gX0J3H4ImiwoVfXhIbY2jEK3kRBcZI7QLmk0xt0 87sPrgC/Bo69ztbKoSRvou4672H2gopBSXnkELT2AJPA/MpCZ6Z/fwL/9hNpkHch+sj/ 0pl++ZaPy/eZI/F0cAZ38/pGzsCehVNO2fHL38+d0ow8rCX14rbta75v5cFreS2fl69o a4wQ== X-Gm-Message-State: AOAM531JrT61ywkzyNBn085gjyS6fq/lPJt4/S+Mz4PLIMK8Jk1bJN5H 4x9N231HhYvrDthBHxdeBHsl3KIqrf4= X-Received: by 2002:a17:906:3588:b0:6a7:7ac1:cac8 with SMTP id o8-20020a170906358800b006a77ac1cac8mr16443120ejb.342.1645477305493; Mon, 21 Feb 2022 13:01:45 -0800 (PST) Received: from [192.168.0.122] (xdsl-188-155-181-108.adslplus.ch. [188.155.181.108]) by smtp.googlemail.com with ESMTPSA id m7sm4115951eds.104.2022.02.21.13.01.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Feb 2022 13:01:44 -0800 (PST) Message-ID: <2546477f-4190-e838-3095-f47b31802445@kernel.org> Date: Mon, 21 Feb 2022 22:01:43 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [RFC PATCH 0/1] dt-bindings: arm: Add scmi_devid paramter for Content-Language: en-US To: Oleksii Moisieiev , "robh+dt@kernel.org" Cc: "devicetree@vger.kernel.org" , Sudeep Holla , Cristian Marussi , Stefano Stabellini , "linux-kernel@vger.kernel.org" References: From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 21/02/2022 18:26, Oleksii Moisieiev wrote: > Introducing new parameter called scmi_devid to the device-tree bindings. > This parameter should be set for the device nodes, which has > clocks/power-domains/resets working through SCMI. > Given parameter should set the device_id, needed to set device > permissions in the Firmware. This feature will be extremely useful for > the virtualized systems, which has more that one Guests running on the > system at the same time or for the syestems, which require several > agents with different permissions. Trusted agent will use scmi_devid to > set the Device permissions for the Firmware (See Section 4.2.2.10 [0] > for details). > Agents concept is described in Section 4.2.1 [0]. > > scmi_devid in Device-tree node example: > usb@e6590000 > { > scmi_devid = <19>; > clocks = <&scmi_clock 3>, <&scmi_clock 2>; > resets = <&scmi_reset 10>, <&scmi_reset 9>; > power-domains = <&scmi_power 0>; > }; And how do you prevent DT overlay adding such devid to any other node thus allowing any other device to send requests with given devid? Plus few technicalities: 1. Hyphen, not underscore in property name, so scmi-devid. 2. Your schema does is not selected by anything. How is it intended to be used? Nothing is including it, either... Best regards, Krzysztof