[PATCH 10/13] accel/habanalabs/hwmon: rate limit errors user can generate

2024-02-20 Thread Oded Gabbay
From: Ofir Bitton Fetching sensor data can fail due to various reasons. In order not to pollute the kernel log, those error prints must be rate limited. Signed-off-by: Ofir Bitton Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers/accel/habanalabs/common/hwmon.c | 29 +++

Re: [PATCH 10/13] accel/habanalabs/hwmon: rate limit errors user can generate

2024-02-23 Thread Carl Vanderlip
On 2/20/2024 8:01 AM, Oded Gabbay wrote: From: Ofir Bitton Fetching sensor data can fail due to various reasons. In order not to pollute the kernel log, those error prints must be rate limited. Signed-off-by: Ofir Bitton Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay Reviewed-by: Car