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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 1F516C6FA8F for ; Wed, 30 Aug 2023 09:15:21 +0000 (UTC) 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=y2W2LQOQqT9t/7pFRmIpsab1sLJUp17t1ZCFtFhoqAU=; b=zhmnv/bmFG4LnG c0AOzXgczlS/vWQt3ofWuJ9Zs+5b+G/3R1CnoMUspmi6bvN+BQIgW7i5hL7PkSBfCDnYbyes/lAEc 0v31a/kPuCCCB9g24XyXgcZ8ywbEn/KusYt+jKcufDlSd/oBWWxF2iFrOyYrwzGtwMJUH872f09Hd KX/iJ3FoiHBgP2W0F8P01q4bT4FjNaT2oEWpbJVOz+zp+xZXLuyqYXeoOHEWnoEkvjQQ+DITOi86B 4sNZclsH0zmQPAX3RQKBmxHdUhbGsnOhr7QOvzCExJHNbyYiV258ZnaWXUSnsgDOmswLTiFS9sYay qmQeJ3oEApTxvMcv95xQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qbHHe-00D8Ag-2G; Wed, 30 Aug 2023 09:14:42 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qbHHb-00D89k-19 for linux-arm-kernel@lists.infradead.org; Wed, 30 Aug 2023 09:14:41 +0000 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 303B92F4; Wed, 30 Aug 2023 02:15:15 -0700 (PDT) Received: from bogus (unknown [10.57.36.157]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 689003F64C; Wed, 30 Aug 2023 02:14:34 -0700 (PDT) Date: Wed, 30 Aug 2023 10:13:37 +0100 From: Sudeep Holla To: Pawandeep Oza Cc: "Pawandeep Oza (QUIC)" , "rafael@kernel.org" , Sudeep Holla , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-acpi@vger.kernel.org" Subject: Re: ACPI binding with SCMI Message-ID: <20230830091337.4rsik2tza6hqa22r@bogus> References: <20230807154834.888328-1-quic_poza@quicinc.com> <20230818091931.iqh6bxiifk4wyc32@bogus> <20230829091912.xefuenspdbazvqlh@bogus> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230830_021439_463333_203C35E3 X-CRM114-Status: GOOD ( 10.74 ) 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 On Tue, Aug 29, 2023 at 03:10:34PM +0000, Pawandeep Oza wrote: > I am looking for scmi binding to ACPI. Basically, SCMI based perf control. > We have ACPI based system, so I am looking for where I can describe (some > way to describe doorbell and share memory in ACPI), and then scmi perf can > bind to it via some sort of transport (perhaps fastchannels ? ) OK, the Section 5.2 ACPI-based Transport in the SCMI spec can be more clearer IMO. It does state: " SCMI FastChannels can be represented as ACPI System Memory and used in the Continuous Performance Control (CPC) object when using ACPI Collaborative Processor Performance Control (CPPC)." It doesn't cover the fact that CPPC is compatible only with SCMI fastchannels without doorbells. Just a plain MMIO register to set the perf. The normal PCC mailbox works fine if the CPPC Desired Perf Register is a PCC address space based GAS. However the command is not 1:1 compatible with SCMI perf. This is one of the reason why the protocols 0x0-0xF was reserved in SCMI to be compatible with the ACPI CPPC way of using PCC for perf. Hope this helps and I didn't make it more complicated for you. -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel