On Mon, Aug 07, 2023 at 11:05:05AM -0700, Saeed Mahameed wrote: > From: Saeed Mahameed <saeedm@xxxxxxxxxx> > > 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 <horms@xxxxxxxxxx>