Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp1226801rwi; Thu, 3 Nov 2022 02:44:55 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4p0IL5/A/aKpF7a1hMChZ/+PbmMuRi2S4FfTtsMBY4n3+bk+s1AIcJQk/jvUjs+5dQfKt+ X-Received: by 2002:a17:907:1b1f:b0:72f:56db:cce9 with SMTP id mp31-20020a1709071b1f00b0072f56dbcce9mr27071243ejc.605.1667468695680; Thu, 03 Nov 2022 02:44:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667468695; cv=none; d=google.com; s=arc-20160816; b=CSsIxMR/JZA5It+krdEGbkeSP6SSdafXejfsm9JQG98kNl4VChZDYD2wnOQkJzvRlW asHf49rmPrBGaB0+EYoqpqBtqlbI2Yv8OfI/ATf8OgyMfLVe+uP1KXmsLewgUKY51gUF KvpqRx/Qqhxqb9MEDZ+tC/fH/KjAiq4TfYugQOFk+d8thsKd6PSGCymSDHwUADrpUSLO vTU6i2KO8kUYfCFjnO2oU4j7KyhW142mhD+ncv8ekiHWHxvO1ODYE6rAJ9LpNc8cssH/ Ib2Fpz7O36vbqmMSFQgW/AX6r8/hmeisrrciuQPoU7T9E3a7BRtDT1wk5D8vlNKwDAzb +CyQ== 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; bh=uYqNjknHZqzzX3ZJVeWaGUiq3VTiQz/VcS8aYbF+yJE=; b=M8pajVqwl7bGkT5+FcnbasV2lfEjJusCL7THbwa8kXQD7lMUWnMtcQKDac0V1ZNhoD I8E8EUugEhHYfpvS73N4lhHth0cqFiPzIx7sw2D8fyNlUvYMjsk1h1Dlc4xsleLL1QLF sprjgxVxLBf7316Xlp/X2YDAOVA3PhTiPtAMi3hc8sGySvoDCL5s9dKgM5bNJYpogeeM QRza8hjOFYf1FvVXCkxF5HkXTqcegJsekQnMupFKEq+T6AbJp2+zCiyH5Ww6E2lbjhpd gW8PMn2X/rY5NOAJEG8xau0R4FaRtmbJAjCmabY59H8Viws3ozQt8DunQOkTvSvNfUlm E17g== 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qk17-20020a1709077f9100b0078fcfc5d24esi803598ejc.618.2022.11.03.02.44.31; Thu, 03 Nov 2022 02:44:55 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230222AbiKCJlm (ORCPT + 97 others); Thu, 3 Nov 2022 05:41:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230394AbiKCJlf (ORCPT ); Thu, 3 Nov 2022 05:41:35 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 19B29E0F7; Thu, 3 Nov 2022 02:41:35 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2A7031FB; Thu, 3 Nov 2022 02:41:41 -0700 (PDT) Received: from e120937-lin (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 398673F5A1; Thu, 3 Nov 2022 02:41:33 -0700 (PDT) Date: Thu, 3 Nov 2022 09:41:21 +0000 From: Cristian Marussi To: Sibi Sankar Cc: andersson@kernel.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, sudeep.holla@arm.com, agross@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, konrad.dybcio@somainline.org, quic_avajid@quicinc.com, souvik.chakravarty@arm.com Subject: Re: [RFC 0/2] Add support for SCMI QTI Memlat Vendor Protocol Message-ID: References: <1667451512-9655-1-git-send-email-quic_sibis@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1667451512-9655-1-git-send-email-quic_sibis@quicinc.com> X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham 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, Nov 03, 2022 at 10:28:30AM +0530, Sibi Sankar wrote: > The patch series documents the bindings and adds support for the > SCMI QTI memlat (memory latency) vendor protocol. The protocol takes > in several tuneables including the IPM ratio (Instructions Per Miss), > bus bandwidth requirements and PMU maps to enable frequency scaling > of various buses (L3/LLCC/DDR). The scaling is performed by the HW > memory latency governor running on the CPUSS Control Processor. > > Depends on CPUCP mailbox driver: > https://patchwork.kernel.org/project/linux-arm-msm/cover/1663135386-26270-1-git-send-email-quic_sibis@quicinc.com/ > [+ CC: souvik.chakravarty@arm.com ] Hi Sibi, Nice to see vendor protocols starting to make their way into upstream ! I only glanced through the series as of now, and I'd have a few questions before going on with the review: - why this protocol is dependent on a specific transport ? Is it to compile it only on platform supoprting it without adding a per-protocol Kconfig ? Protocols are anyway enumerated at SCMI stack probe time so even if it is not there it just won't be activated...I maybe missing something. Thanks, Cristian