From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FSL_HELO_FAKE, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 78630C4338F for ; Wed, 11 Aug 2021 09:49:34 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2F92160E9B for ; Wed, 11 Aug 2021 09:49:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2F92160E9B Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Rv/MB1+iVGfZs0dqXPpbZ2N0WRU3FzYUcZk7FIN5rHs=; b=bRjpCHMfgvYu2Q bJzek+3/I4WyvppiWcWmB6JOT+ilnlaSyOVZXEleXOziUh8jt9HE2H1L0RmJxvsP62S5JhK+wqts8 Mx9qWv8wVmqK3E+kzzyT+/rqyYq+I9nsMM3KH3gDRxlOQj17Q9TM2U1WeOHh7Xnx659wBOZ4kphg8 e6QxJP/W3sVqQ++Lxn55dfH23Yc3Nc7UP3bbXm61TP2442SgilnqreD73CHZlv3IyiRGKnH9OaZ0C oEnsXPJtkvohKJf8CZJ3QSs7V9EnBvuB7caiIf1KnYSEW2A1DN6f8uIYQEKsJwRbUSkUEyOTrVqn6 8O31cqHnbUhdbm/w53iw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mDkoh-006PBg-E8; Wed, 11 Aug 2021 09:46:32 +0000 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mDkaM-006JaP-Ax for linux-arm-kernel@lists.infradead.org; Wed, 11 Aug 2021 09:31:44 +0000 Received: by mail-wr1-x431.google.com with SMTP id x12so2082478wrr.11 for ; Wed, 11 Aug 2021 02:31:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=i+238jwSCXHQqmEbgjIzlgckTMFLhUBBmLjyo/HYZD8=; b=tyEiKPTNfEinjX3TbBEjAgu5sAivydzdzdr5SzkY+/rNqmO+7BZ/ObQQW3CsYxnAYp 7PziXML11kCwjs9Sk3T6bsQ6mI2j4amE0w+4I8ynL8g+DA66bnsCOLlSMcdio4nT+J7t +GSEUMgwxKfgX0K5ERuofrsfEYp788xjzTWIhcr+wRcEK5cY9brXq1OW0fAPIIuhvb2o blW0sk9DGlVgfPxNSWhnUJg9VxPmg8PbsthHS2Rw2d3tNsGE0A/9pJosPpKt+icn+lOI 01g7/XI+XrYYP+tS/gq+YXbaUk2dg+E88ftqm2IXPJncsw7BsmApA6Wd8LJz/mcp+/TT 6I8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=i+238jwSCXHQqmEbgjIzlgckTMFLhUBBmLjyo/HYZD8=; b=NAndbhBRddXl1OJJS0A0KTwl+xCuMmI66NLvfIxA8x7uaABK4+VNQ/MTCGTimW4FGE BN8eaEJXYF/vVtjQKKhXLxo5djN1llvyHCoM0+D1tltef0NPqLY9vTjWb007TCUALWZV +2FeIfw0tLLWaghlk1R8q0gu6ujdEFasgYoudQzjKr2IM+J32Id4eXkMuRb/0JUWCRVL lpUZz5vwirh7PFYczO2KlIV19b8YiK0UhzrEOznL5o0dT3yn8YosIwW+Pn5LrVfxOIZR V9et6U2e1UhHIuA73CO7Y1hy9+vzSm4AyUbVATcrjOxsue4wbBP/zaDxt4s7Ere+czzS wmxg== X-Gm-Message-State: AOAM530Vbe/BtlrNRP8UFHleST59u1ETz3/teiqJfgxRiLqJEDese3n6 t1mUYeh3jWf9TsVTxFdZneQ3sA== X-Google-Smtp-Source: ABdhPJz9X1dryGzeIrrmIlHKjUuFly3XEDHvEoOtsQrchrSq7e1rd66PhETWLAhrRqwbm+lzrkaUSg== X-Received: by 2002:adf:90b1:: with SMTP id i46mr22281975wri.159.1628674294586; Wed, 11 Aug 2021 02:31:34 -0700 (PDT) Received: from google.com (44.232.78.34.bc.googleusercontent.com. [34.78.232.44]) by smtp.gmail.com with ESMTPSA id a18sm5335628wmg.43.2021.08.11.02.31.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Aug 2021 02:31:34 -0700 (PDT) Date: Wed, 11 Aug 2021 09:31:21 +0000 From: Floris Westermann To: Cristian Marussi Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, virtualization@lists.linux-foundation.org, virtio-dev@lists.oasis-open.org, sudeep.holla@arm.com, james.quinlan@broadcom.com, Jonathan.Cameron@huawei.com, f.fainelli@gmail.com, etienne.carriere@linaro.org, vincent.guittot@linaro.org, souvik.chakravarty@arm.com, igor.skalkin@opensynergy.com, peter.hilber@opensynergy.com, alex.bennee@linaro.org, jean-philippe@linaro.org, mikhail.golubev@opensynergy.com, anton.yakovlev@opensynergy.com, Vasyl.Vavrychuk@opensynergy.com, Andriy.Tryshnivskyy@opensynergy.com Subject: Re: [PATCH v6 00/17] Introduce SCMI transport based on VirtIO Message-ID: References: <20210712141833.6628-1-cristian.marussi@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210712141833.6628-1-cristian.marussi@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210811_023142_482016_212DB0BD X-CRM114-Status: GOOD ( 16.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Cristian, I am currently working on an interface for VMs to communicate their performance requirements to the hosts by passing through cpu frequency adjustments. Your patch looks very interesting but I have some questions: On Mon, Jul 12, 2021 at 03:18:16PM +0100, Cristian Marussi wrote: > > The series has been tested using an emulated fake SCMI device and also a > proper SCP-fw stack running through QEMU vhost-users, with the SCMI stack > compiled, in both cases, as builtin and as a loadable module, running tests > against mocked SCMI Sensors using HWMON and IIO interfaces to check the > functionality of notifications and sync/async commands. > > Virtio-scmi support has been exercised in the following testing scenario > on a JUNO board: > > - normal sync/async command transfers > - notifications > - concurrent delivery of correlated response and delayed responses > - out-of-order delivery of delayed responses before related responses > - unexpected delayed response delivery for sync commands > - late delivery of timed-out responses and delayed responses > > Some basic regression testing against mailbox transport has been performed > for commands and notifications too. > > No sensible overhead in total handling time of commands and notifications > has been observed, even though this series do indeed add a considerable > amount of code to execute on TX path. > More test and measurements could be needed in these regards. > Can you share any data and benchmarks using you fake SCMI device. Also, could you provide the emulated device code so that the results can be reproduced. Cheers, Floris _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel