Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp4008930rdb; Wed, 30 Aug 2023 12:29:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGwIJwfITiphc1oxsGs6s/kVgFz2F5xERrI8zhJ12UKJbb0TgPIfNekgbRs834Nh6OZNHuG X-Received: by 2002:a05:6a00:1490:b0:68c:10c:1c52 with SMTP id v16-20020a056a00149000b0068c010c1c52mr3643853pfu.9.1693423773357; Wed, 30 Aug 2023 12:29:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693423773; cv=none; d=google.com; s=arc-20160816; b=rAxhH9JPsnq5mFlsBCFXewjkTtkkk+W8//18m860rE0DVFw6Tb7G7bJRydngaJu4g6 Tk1qzRCfjC8fVWdLEX49gt152CYRI//9CxsiampjUjL6kewkeofqMUnBL66Irj1w2jdk ZnvfHFF8OnFamY/OK+adBd7haZig+o8rUmgAoGL4Ugt+vg9Ui/aNGIn+VmbNBLQsie6z hl1t3oZG1iLhYmTndEE0N+mBakLKSsbf9+9pQmhgtjcQ8sYl7nz3O93RsAzJDk4+M5zH odOXWI8zs5i7wAEuExiBXmMSiQbzF/sp/o1IJpBYe+xt9caNuAmvzppwQuygeHHD7K6L HrOg== 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=1CvE6koSGTd1RiEbp7shnVFS5Qt29w6wyA92asH1LN0=; fh=p0plLRwI68+vsmr5+TGnTzUJDyLAEfjqJCzcH0MSZi4=; b=EB1szy5frWFTMZCN722tGy9Wzs3gRWPsUUpRrhY0I/+CRGwcMEVOvfbUxx3OEnvxuf E2tzNPI+5CStd6nctbFjYDaipeUJucqhkfoZK7lFlYRDsS2Fe7DeWoxDExKHor0dVAOx hIBhcPLtLN2ZtzVNwlfviGbHYtWdAY7doc0orcuyNEZ7ZUKor8YoZ9gncKbtBN5iYHh2 Hl2Yj6kgOuEUc7iF2sKKmoq85yZ/BGuPJYVs0ZiPJAymxwu+0W/Mgg0E7eKOe+b9cZ5K W9Ng6+Nxhvvq6dv+134hWmGJ69v92U05BQeHfN9dUoGwbdfRwibqa7QctGo6FxUKtgoA fkkw== 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 cl8-20020a056a0032c800b0068a140568b4si2660525pfb.348.2023.08.30.12.29.17; Wed, 30 Aug 2023 12:29:33 -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 S242985AbjH3TUr (ORCPT + 99 others); Wed, 30 Aug 2023 15:20:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242670AbjH3JOi (ORCPT ); Wed, 30 Aug 2023 05:14:38 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0212FD2; Wed, 30 Aug 2023 02:14:36 -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 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,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 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