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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 A8485C433EF for ; Wed, 25 May 2022 04:56:48 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 15454112A19; Wed, 25 May 2022 04:56:48 +0000 (UTC) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7AA4E112A19 for ; Wed, 25 May 2022 04:56:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653454606; x=1684990606; h=date:message-id:from:to:cc:subject:in-reply-to: references:mime-version; bh=BocpHQWZWkneI6WhXjUnX0LlM4VLnadfYhsBHFiP0mg=; b=brWPKO7iPzwROhA5JGc8DE0lmZvtEwyhFoECLs+EtgPyiQEB1HRYJIc+ lozB35jYTf2pzzV2JZmSrtUGHZgiuvqV9SinUUraQInkJBKG6iGKKFxi0 /MMM9i/L8n5Lus7JsqBDmypBeAG7/nC52/QIeA2iy3gXj+B+XsSCWf553 NIgZq1Wc+xNFHp0dWKl+rkTvEYbZjVkKY++v/1SVSNdItf6xKZ8ziUGP+ NO6Cmk575Mxoyl2qxnJWKd6R93XKEDAKp9koyBEZwu3GdlVDvpedezr1h cMs5B5ytlHbsgfw70LiCQiERLm7n8N5wPS3QetAm0wwyziW3uQzP2bTpK Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10357"; a="271291761" X-IronPort-AV: E=Sophos;i="5.91,250,1647327600"; d="scan'208";a="271291761" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 May 2022 21:56:46 -0700 X-IronPort-AV: E=Sophos;i="5.91,250,1647327600"; d="scan'208";a="559410259" Received: from adixit-mobl1.amr.corp.intel.com (HELO adixit-arch.intel.com) ([10.209.88.118]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 May 2022 21:56:45 -0700 Date: Tue, 24 May 2022 21:56:42 -0700 Message-ID: <87tu9etdkl.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" To: Badal Nilawar In-Reply-To: <20220523110841.1151431-3-badal.nilawar@intel.com> References: <20220523110841.1151431-1-badal.nilawar@intel.com> <20220523110841.1151431-3-badal.nilawar@intel.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Subject: Re: [Intel-gfx] [PATCH 2/3] drm/i915/hwmon: Add HWMON energy support X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: intel-gfx@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Mon, 23 May 2022 04:08:40 -0700, Badal Nilawar wrote: > > From: Dale B Stimson > > As part of the System Managemenent Interface (SMI), use the HWMON > subsystem to display energy utilization Energy seems to be hardly ever exposed in the kernel. Searching for 'hwmon_energy' shows only a single hit in drivers/hwmon/scmi-hwmon.c. We should see if there are real consumers for this and the reason for exposing this.