Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp674298rdb; Tue, 23 Jan 2024 11:05:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IHvNTUXNhNWgKdenjc/bNgJTKQqDXMw9UjHDJ4/aGoXJVnGcYOsJBBmsFXsbEShyEANbtsB X-Received: by 2002:a17:906:f847:b0:a2f:c8ee:32d6 with SMTP id ks7-20020a170906f84700b00a2fc8ee32d6mr108985ejb.8.1706036699909; Tue, 23 Jan 2024 11:04:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706036699; cv=pass; d=google.com; s=arc-20160816; b=Zl9M3adVs0wdnKTHFXudWAM/TOmzsoLyvfYaa41re5E2uBIQrYQNF79PzeeqV+fMAD fQlyNSE1Xdtr8Md1GECjT+0A0OnVrR60fFH2LkU132He0DbJ9AKZMiiqW4eAhSgnIOLL z9rMGyiUnmOfKVhWriSxpeH4Aau1dzTKu96V3r1ezHDiKg3NNSITQP0gScKCN9daX7kr 40ggvVPJlDq/XYKpj1O4oz9FZYBYw18iBHfUFj0o0C5eJrz3+CgnxPV8x8yYKDoVW4D9 b4qVCiMmnkrnO+ytdK9vG24ZWd5JRKvLGYUU04G3R5JPM6DMc6frScvRZruXiE0ZnXpT yFNw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=k+IzB3fVoFQiAeiqvvzj+45lFV5AoDVvgT9cdGQyc7U=; fh=8wqha6hNbjg7oUF1TmyjTQK95AwU8tubxerl6AI8i20=; b=V1MPH0lMYswD50dW1xeyV2dxx2GD9shiSBZarYyYl6u2ds0p+hD73fuV1lYMLdn2+R mMF4cuFFALXmgkUxwdN5RgfLlQr4LfF5n3DNztYbzR5zgJCybLxHY+Dfi7eYlu4rdVKz d0pHrT6vooV8H2Bk6ophGmCd5Wl+gHrK7wE54wiGJgAqKWgW4g/ujxnn7t+OZI7RC1Hj 3EnCD4/FoFeFhKJUkMzvpBK7uIpDQF8TPd4qrZkAi0D/ZXVKABv6nuwjV2zdcKJMKcKI 1qck7TW1qn0lnYrf/2SV4P+5st0WrhN1gkNVf9aTuPpzZcq76vwNAAk4RlXcwJpFC//F Ep3Q== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-35947-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35947-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id l5-20020a170906230500b00a26ae03344csi11632207eja.99.2024.01.23.11.04.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 11:04:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-35947-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-35947-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35947-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id A62E31F2D410 for ; Tue, 23 Jan 2024 19:04:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 89218433D1; Tue, 23 Jan 2024 18:59:35 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3685582D9E; Tue, 23 Jan 2024 18:59:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706036375; cv=none; b=tOuHyeQmYojiKLXHU9yA6b2CAt7cdV5uRjaryrAwJ1M7H1XDTngZ7xOz+VrwH813B1GWmmiG/m0hk7W8r6ibwDCzBgOikRuaxslLls9aLysYUtvOntP58P/uRx+ISDeA6Y1UMu1s+Cb1WahoHzeJP2o2Bdj6aOf9W0ZWZbfGsjY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706036375; c=relaxed/simple; bh=bnVw0ffKgVOq+CzE6GW0VBCiI3gY758pcaofpgNUL+E=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=OI2CrDza7zsm6UehKhZeu4pth0a9f14pShvyzBAQE4bsInlsnOzF2upbRXpyJeZiv/HS+WepHrgkX9qZqSFDuCnrgRSTWlm+Ik18zZ1O8Onguxi5/u9peuTFfYndo18a6VusyWwvgdaQQtWSKTIfrOtDrwA5RaODX1cUWN6xSAY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com 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 85FEF1FB; Tue, 23 Jan 2024 11:00:16 -0800 (PST) Received: from bogus (unknown [10.57.78.12]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A908E3F762; Tue, 23 Jan 2024 10:59:29 -0800 (PST) Date: Tue, 23 Jan 2024 18:56:18 +0000 From: Sudeep Holla To: "Peng Fan (OSS)" Cc: cristian.marussi@arm.com, jdelvare@suse.com, linux@roeck-us.net, Sudeep Holla , linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, Peng Fan Subject: Re: [PATCH V2] hwmon: scmi-hwmon: implement change_mode Message-ID: <20240123185618.wt4k7j662sz4gsju@bogus> References: <20240123150526.3615901-1-peng.fan@oss.nxp.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240123150526.3615901-1-peng.fan@oss.nxp.com> On Tue, Jan 23, 2024 at 11:05:26PM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > hwmon: scmi-hwmon: implement change_mode The above subject gives me no clue as what this change wants to achieve. At minimum you need to mention thermal zones as HWMON supports more than just thermal sensors and change mode mentioned in $subject applies to only thermal zones. > The sensor maybe disabled before kernel boot, so add change_mode > to support configuring the sensor to enabled state. > Again above applies to thermal zones only in this patch. It doesn't cover non-thermal sensors, so prefer if you refer it as thermal zones instead of sensors. The change itself looks good. I will ack once you fix the subject and description so that Guenter can pick up the change. -- Regards, Sudeep