projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b829e01
)
habanalabs/gaudi2: classify power/thermal events as info
author
Ofir Bitton
<obitton@habana.ai>
Sun, 6 Nov 2022 10:07:03 +0000
(12:07 +0200)
committer
Oded Gabbay
<ogabbay@kernel.org>
Wed, 23 Nov 2022 14:13:46 +0000
(16:13 +0200)
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>
drivers/misc/habanalabs/gaudi2/gaudi2.c
patch
|
blob
|
history
diff --git
a/drivers/misc/habanalabs/gaudi2/gaudi2.c
b/drivers/misc/habanalabs/gaudi2/gaudi2.c
index
59940c8
..
61960fa
100644
(file)
--- a/
drivers/misc/habanalabs/gaudi2/gaudi2.c
+++ b/
drivers/misc/habanalabs/gaudi2/gaudi2.c
@@
-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;