Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp4292016pxt; Wed, 11 Aug 2021 02:33:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTt8MtUgYxVk9EWLn6kHr2QX6mVScPQrzdhtrdzA69D6AlauUDm+LVfjessmvmh4wg8LG6 X-Received: by 2002:aa7:d511:: with SMTP id y17mr10366316edq.341.1628674397817; Wed, 11 Aug 2021 02:33:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628674397; cv=none; d=google.com; s=arc-20160816; b=jiavf5TYmKZkM/c7ffsbm69XstiQ2BVwIHJOOvGbI8xVOC23WbTavj5z5Txm0hqmKX qklQnziC3skuaPtdGSz9oAybVavxBdaf8LjLXnSllO97jgUqncgz4gMt8IuRoLK3A8fL OTRdWWvuDaGBT7cFgB77NhhXRSsMo/q7oxN40BYmgV5uev4PsRLrnNON+iox1okMVNHn RpQ09E+8oh8kHpyIxD2oZLlzLV+AIj5kUnUyYOjG+KZyubGZnz9SLInW0xt/N+7pjxyn 1PQK4kAkrQvu63YK8LDKZ/Pggbp+kqgmv7kgXZJN/93juWepOPMZTvKChjb8dRfkO/kP mUsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=i+238jwSCXHQqmEbgjIzlgckTMFLhUBBmLjyo/HYZD8=; b=AbyfMMMi/7Bx7Iy9jEkXmfbrEmUlFumDHb+ogvfLyN2Ydcfd1Bl9XLpOKidOimUw8S 99yu8rlLFWIyDenLMf9b1hvoJCFtGPI+dPsPvMj2OCTeDgPt/1NaJr3P9rheUcgRo3wF 99t0DVCNaGx4MtRHPdKTAKFapbQYy+SmQZJsdxx4Vj/7l3L7jK3EorCQRyR9WS+S7nKY Z7ZQfMYktK+k8bkOIBpvKDF60iaPUlm/yQYPIpctzIeNmiVGynDodKFT1E0F4GGve/78 QICb1+u3F8/XK27q7SjEf4c2jpC+QAuHE5cKMipEUVQh2jgVSenRAIkmzNaG/+PcFAE4 N3Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=tyEiKPTN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q10si12885136ejz.729.2021.08.11.02.32.54; Wed, 11 Aug 2021 02:33:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=tyEiKPTN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236411AbhHKJcA (ORCPT + 99 others); Wed, 11 Aug 2021 05:32:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234869AbhHKJb7 (ORCPT ); Wed, 11 Aug 2021 05:31:59 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27671C061765 for ; Wed, 11 Aug 2021 02:31:36 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id x12so2082473wrr.11 for ; Wed, 11 Aug 2021 02:31:36 -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=qpdQZPp+oT4WlGbUYb3AanBEqM0WM3LEhoHgAdIYOs5YbDzFPZXZdg2vjVGYahM7om wMtFvUVpz4Ak2FT2uZ73j9yzhZUukGD53FE4XanUll0tjyUeCutz5hzSqYJWJ4QR+JOZ DyICrPbVuiNHnr8I2VGevoQPjW0dueHmUXQF5G6R0u03Q5lWVFnaN01iFQLcdqIpF2J0 S5cAdhQQu6CI9Yh1M59dCcWQTpjqbT/CCFVkp6STc1ZXDvzgesDmww5O1tRfVs2fx8em BN9LKp8m2O05xl98dNo3ykq0CzBReFhHEMKnFq1Q2DrVoS7nGM+7irH582VwV5B1D0co tRpA== X-Gm-Message-State: AOAM530PMb88nKBujn6MNWvJcuRT2NvnFwzBGpRvg+a3exYZDxTxqDUW Ygnwh66mLQT9WjBCuTCzovjv/9JMWWpEc6KN 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210712141833.6628-1-cristian.marussi@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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