[PATCH v4 2/7] alpha: marvel: report environmental events without VERBOSE_MCHECK
From: Matt Turner
Date: Wed Nov 18 2026 - 19:10:05 EST
The service processors report temperature, fan, voltage and power supply
alarms as system event (0x680) logout frames. The frame is already
classified as reportable, but without CONFIG_VERBOSE_MCHECK only the
header line reaches the log, which does not say which sensor or what
happened. Print the subpackets unconditionally.
Signed-off-by: Matt Turner <mattst88@xxxxxxxxx>
Reviewed-by: Magnus Lindholm <linmag7@xxxxxxxxx>
---
arch/alpha/kernel/err_marvel.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/alpha/kernel/err_marvel.c b/arch/alpha/kernel/err_marvel.c
index 9304ae74877d..46c521cea9a0 100644
--- a/arch/alpha/kernel/err_marvel.c
+++ b/arch/alpha/kernel/err_marvel.c
@@ -21,7 +21,6 @@
#include "err_impl.h"
#include "proto.h"
-#ifdef CONFIG_VERBOSE_MCHECK
static const char *
marvel_env_state(u16 state)
{
@@ -34,12 +33,10 @@ marvel_env_state(u16 state)
default: return "unrecognized";
}
}
-#endif /* CONFIG_VERBOSE_MCHECK */
static void
marvel_print_680_frame(struct ev7_lf_subpackets *lf_subpackets)
{
-#ifdef CONFIG_VERBOSE_MCHECK
struct ev7_pal_environmental_subpacket *env;
struct { int type; char *name; } ev_packets[] = {
{ EL_TYPE__PAL__ENV__AMBIENT_TEMPERATURE,
@@ -70,7 +67,6 @@ marvel_print_680_frame(struct ev7_lf_subpackets *lf_subpackets)
marvel_env_state(env->state), env->cabinet,
env->drawer, env->pe, env->sensor, env->state);
}
-#endif /* CONFIG_VERBOSE_MCHECK */
}
static int
--
2.56.1