From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5ABB48F69 for ; Tue, 8 Aug 2023 20:07:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B6F19C433C8; Tue, 8 Aug 2023 20:07:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691525276; bh=/60YMHfDkmDehoWNl0MgRb6r4Oi3m5/8X3Irb+EMSDo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QYgjpYS9P962Wqanio6o3FfZfkcYFU1/hFacgckGHM5LxXYAth97+yQAg8jMXSSIk XwWQyRN1/vmVKyEyHdfKj69OUmpDIopUjQ2PWhZjV8pTEVOCvp7/T8pFFQKqhV5aZg O3vw5SWUecUE8VkEbz952SYtIqMnnxW7NwOX9FcICiXs0zNZRI8S35k09xeg+rwcR0 Frc/lbGkyzllhn/bXvZB7R1l7q1uIQIumMgYmT+9A0ZtOMJ9X9fpCXeGFOoHrd0nam E3TxXOCU+IWgh0DgPuL7122Rpi5OxVv49L/+JAvoyV9iyurJRp47ZL3zaB5rTLK8Pr ldfU/B9nNYw1Q== Date: Tue, 8 Aug 2023 22:07:52 +0200 From: Simon Horman To: Saeed Mahameed Cc: "David S. Miller" , Jakub Kicinski , Paolo Abeni , Eric Dumazet , Saeed Mahameed , netdev@vger.kernel.org, Tariq Toukan , linux-hwmon@vger.kernel.org, Jean Delvare , Guenter Roeck Subject: Re: [PATCH net-next V2 0/2] mlx5: Expose NIC temperature via hwmon API Message-ID: References: <20230807180507.22984-1-saeed@kernel.org> Precedence: bulk X-Mailing-List: netdev@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: <20230807180507.22984-1-saeed@kernel.org> On Mon, Aug 07, 2023 at 11:05:05AM -0700, Saeed Mahameed wrote: > From: Saeed Mahameed > > V1->V2: > - Remove internal tracker tags > - Remove sanitized mlx5 sensor names > - add HWMON dependency in the mlx5 Kconfig > > > Expose NIC temperature by implementing hwmon kernel API, which turns > current thermal zone kernel API to redundant. > > For each one of the supported and exposed thermal diode sensors, expose > the following attributes: > 1) Input temperature. > 2) Highest temperature. > 3) Temperature label. > 4) Temperature critical max value: > refers to the high threshold of Warning Event. Will be exposed as > `tempY_crit` hwmon attribute (RO attribute). For example for > ConnectX5 HCA's this temperature value will be 105 Celsius, 10 > degrees lower than the HW shutdown temperature). > 5) Temperature reset history: resets highest temperature. > > > Adham Faris (2): > net/mlx5: Expose port.c/mlx5_query_module_num() function > net/mlx5: Expose NIC temperature via hardware monitoring kernel API For series, Reviewed-by: Simon Horman