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 60871C48BC4 for ; Fri, 23 Feb 2024 06:16:17 +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=Y9CA5E8EfvrJoGj0et/Zl3XI2wlzceh+Y4JDP7iD0EA=; b=SAuAvBiSDsL0Z3 gj6bI8XznmpGaXZhf5I/QHQsV5EP38Qfxpmtsm28pdRiOqRkAKtqi9jVw/W6HrzIjpTRsjXlIaJYX m4GUNAdga6XEwTnEz7/z966GGksrbiWFUCaWQfbk7VBclbTVESKWAmS6J6uHOo7QkAnrL8Jdh1yyT FpIhsOJqQaMB7kUaqLBcnKxXL1/YCqrqyQ1/62dpkmZvOYaiMjFC2pEzF0ufCG5lVr0DBADwtBeJW VCj1opnUAsk0KjjyyDiOqK395hgKrOcFbPdyqFd5oqrKDPqzHAA2V9N0kRYmkOokFg8EI3+6VLPmZ pzwUZyocwHzz6w73Ldtg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdOqR-000000086yC-39T3; Fri, 23 Feb 2024 06:15:39 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdOqK-000000086x2-1D37 for linux-arm-kernel@lists.infradead.org; Fri, 23 Feb 2024 06:15:34 +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 6524C15DB; Thu, 22 Feb 2024 22:16:08 -0800 (PST) Received: from bogus (unknown [10.57.93.205]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D9E763F73F; Thu, 22 Feb 2024 22:15:27 -0800 (PST) Date: Fri, 23 Feb 2024 06:15:22 +0000 From: Sudeep Holla To: Florian Fainelli Cc: "linux-arm-kernel@lists.infradead.org" , Sudeep Holla , Cristian Marussi , Jim Quinlan Subject: Re: SCMI support for sensors shared memory? Message-ID: <20240223061522.lmhmwobub34mbfgd@bogus> References: <4ed10434-0620-4fd3-b595-61f2c6080722@broadcom.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4ed10434-0620-4fd3-b595-61f2c6080722@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240222_221533_021052_FB4F9FE1 X-CRM114-Status: GOOD ( 18.57 ) 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 Thu, Feb 22, 2024 at 11:35:21AM -0800, Florian Fainelli wrote: > Hi Sudeep, Christian, > > AFAICT there is no support within scmi-hwmon.c for a sensors shared memory, > even though the SCMI specification describes how to use it. > Correct, in fact lots of other features which includes statistic information that use additional shared memory like this one is not supported in the kernel driver. Though there was request to have such a feature when the specification was initially developed, it was soon realised that most of the platforms can't afford to have large amounts of shared memory needed for this purpose. Yes even 512 or 1kB can be considered large on some platforms that use dedicated SRAM for this SCMI communication as the co-processor incharge of providing SCMI platform may not have access to DRAM and hence DRAM curv eout is not an option. So AFAIU, there was no known platform requiring this feature until now, hence we never added it to the kernel as we can't test the same. > Is this something that you are working on by any chance, or should we > contribute it once we have it ready? > We are not working on it. So feel free to contribute, happy to review and get that merged if required/supported on certain platforms. -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel