mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-12 21:44:06 +08:00
habanalabs/gaudi2: classify power/thermal events as info
As power and thermal envelope events are pure informative and not indicating an error, we reduce the print level to info only. Signed-off-by: Ofir Bitton <obitton@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
This commit is contained in:
parent
b829e01025
commit
a63de89bee
@ -6828,6 +6828,7 @@ static inline bool is_info_event(u32 event)
|
||||
{
|
||||
switch (event) {
|
||||
case GAUDI2_EVENT_CPU_CPLD_SHUTDOWN_CAUSE:
|
||||
case GAUDI2_EVENT_CPU_FIX_POWER_ENV_S ... GAUDI2_EVENT_CPU_FIX_THERMAL_ENV_E:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user