Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp823183pxb; Thu, 17 Feb 2022 15:50:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJz1AIxwm/OjJpLSS1zgqJTo7ZJ1btd1Y+epecqg/CSp/4GMUQUmeHq1/ElznY/jPE3/LHeg X-Received: by 2002:a17:902:d4c6:b0:14c:e978:f516 with SMTP id o6-20020a170902d4c600b0014ce978f516mr5003142plg.3.1645141840296; Thu, 17 Feb 2022 15:50:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645141840; cv=none; d=google.com; s=arc-20160816; b=mELh0whvHj46bfN1uB3ccglNJxZDYCeiNr1avhN62yCsGm4fEkEyEVdUWiUPhB7fzB qmXRqnLBJl9RTqd90/O8im7ju69PjvT+2RR7Aqtj/EbZJ/37n/zN+2cErwMCrtGoIz7j ZsC8LZ6xO4ZeFPPemlBt5/A4i7GHVtJkUUyJEzQqMNuUMqsNtgA/GAq/vv49BldKFxnk n4A8jwE1ap6ZG4B0mEt3d/AG8jvNAW5MXtcfgIvCw1UAdwRPQ3kvqZ+Xh1IKekPyyIeO IMX3Q9XgLZOEwu8PlwiRupM+xxgbnUXabkAVK8xA6PXTqyPt0v8Jg7nDlwOhXjKEjwLk iPqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=JI6JzL3MXrvAPRm009HRwgrB72peBdVZHpeVrL0zzQw=; b=TJ3ncvsnxF5YEHV0z4OG0RJAUJXychN2Ny8BSjptGj0WV4hol1hOBb6h1tcM+REzMm Vm5b9cjKGo2p7gTeEaITdoXrSJqigVv+OawhoAQtl76y86eFI5ucSg0cecXnWzaCMvLv faII2dmz28bNLK0ss0oGOzUiJsz8AFPep8fdkt2Ja/04hNE2e+pkCzH8uyPoVFMhjqht aYV1HYUhXNUPGiIZOoeXn0B9ETYp3vdjpTdQjhAXjka852/EVzoqN0c7H7T4U7Ame906 7pc1SNx+qKi+O3x7Mq0afJM01uS+CIIdbPDUob71XvpPiFJeezqbZQtDl7tYjEwxbHaP TCEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="H2/fEdiI"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x24si9158784pgc.506.2022.02.17.15.50.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 15:50:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="H2/fEdiI"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 13D2C4C426; Thu, 17 Feb 2022 15:23:20 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245581AbiBQVfQ (ORCPT + 99 others); Thu, 17 Feb 2022 16:35:16 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:58624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234005AbiBQVfP (ORCPT ); Thu, 17 Feb 2022 16:35:15 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03BB914CDBD; Thu, 17 Feb 2022 13:35:00 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A65B9B82522; Thu, 17 Feb 2022 21:34:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4ECF9C340F6; Thu, 17 Feb 2022 21:34:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645133697; bh=9ZKFzvuxqGDuxePE3PZ3oKNhPCfiECwJr72AD11sbFY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=H2/fEdiI7Xhi3piBuQ1VTw64c6U5/tW4+8NghSs8QoRfCd32mX+hMXVnGH7+m7miF UBIW3S3nGRbCJpw6eDMS7Y49iT/GBxXVwUoyXTK+WwBgxCfI9yDTc+5aTXj37mha/z ZXrUYJ1esod7SXOHSit3YqX+2XV9T9nishJomHWbpRWWyA55Vkv+Q5zU9YUzOvoZ6A NIzghDpjVjdp0QOnqpIGVcw+y8u5x2vqEp9OiP8B55Bor+DQliSFrSnDg/dLCxMWwF hBjrJhKSlTFWjO1nG0lCEt/KtxfdCuq59nR91V3MN7onnRvRHVq9o/TzXRu+5uPy/U tjP8H0nCwuauA== Received: by mail-ed1-f49.google.com with SMTP id q17so12051957edd.4; Thu, 17 Feb 2022 13:34:57 -0800 (PST) X-Gm-Message-State: AOAM532LT3Nj3p7epuhwd33IOmnBaS7jjgfLWa5xTdFNicRSAw3WDcFG 4D6bL63cPwNohqZ/5adKHZOc46p2k4Pyew2PAQ== X-Received: by 2002:a05:6402:278b:b0:412:80a5:6cb3 with SMTP id b11-20020a056402278b00b0041280a56cb3mr4864452ede.157.1645133695579; Thu, 17 Feb 2022 13:34:55 -0800 (PST) MIME-Version: 1.0 References: <20220217131234.50328-1-cristian.marussi@arm.com> <20220217131234.50328-5-cristian.marussi@arm.com> In-Reply-To: <20220217131234.50328-5-cristian.marussi@arm.com> From: Rob Herring Date: Thu, 17 Feb 2022 15:34:44 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 4/8] dt-bindings: firmware: arm,scmi: Add atomic-threshold-us optional property To: Cristian Marussi Cc: "linux-kernel@vger.kernel.org" , linux-arm-kernel , Sudeep Holla , Jim Quinlan , Jonathan Cameron , Florian Fainelli , Etienne Carriere , Vincent Guittot , souvik.chakravarty@arm.com, Peter Hilber , Igor Skalkin , devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE 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 Thu, Feb 17, 2022 at 7:13 AM Cristian Marussi wrote: > > SCMI protocols in the platform can optionally signal to the OSPM agent > the expected execution latency for a specific resource/operation pair. > > Introduce an SCMI system wide optional property to describe a global time > threshold which can be configured on a per-platform base to determine the > opportunity, or not, for an SCMI command advertised to have a higher > latency than the threshold, to be considered for atomic operations: > high-latency SCMI synchronous commands should be preferably issued in the > usual non-atomic mode. > > Cc: Rob Herring > Cc: devicetree@vger.kernel.org > Signed-off-by: Cristian Marussi > --- > v4 --> v5: > - fixed example and removed dtschema warnings/errors : > arm,scmi.yaml: properties:atomic-threshold-us: > '$ref' should not be valid under {'const': '$ref'} Seems an old version got picked up for linux-next: /builds/robherring/linux-dt/Documentation/devicetree/bindings/firmware/arm,scmi.yaml: properties:atomic-threshold-us: '$ref' should not be valid under {'const': '$ref'} hint: Standard unit suffix properties don't need a type $ref from schema $id: http://devicetree.org/meta-schemas/core.yaml# /builds/robherring/linux-dt/Documentation/devicetree/bindings/firmware/arm,scmi.yaml: ignoring, error in schema: properties: atomic-threshold-us > - added default: 0 clause > v3 --> v4 > - renamed property to atomic-threshold-us > v1 --> v2 > - rephrased the property description > --- > .../devicetree/bindings/firmware/arm,scmi.yaml | 10 ++++++++++ > 1 file changed, 10 insertions(+) For this version: Reviewed-by: Rob Herring