[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250324222643.32085-1-linmag7@gmail.com>
Date: Mon, 24 Mar 2025 23:21:32 +0100
From: Magnus Lindholm <linmag7@...il.com>
To: linux-kernel@...r.kernel.org,
linux-alpha@...r.kernel.org
Cc: richard.henderson@...aro.org,
mattst88@...il.com,
arnd@...db.de,
paulmck@...nel.org,
glaubitz@...sik.fu-berlin.de,
macro@...hat.com,
mcree@...on.net.nz,
ink@...een.parts,
Magnus Lindholm <linmag7@...il.com>
Subject: [PATCH 0/7] alpha: machine check handler for tsunami
This patch is an attempt to implement a machine check handler with detailed
information on error conditions in the event of a machine check exception
on the tsunami platform. This work is inspired by how machine check
exceptions are handled on the titan family. This patch implements
processing of the logout frames that is generated in the event of a
machine check. The logout frame contains platform specific information
and is helpful in pinpointing the source that triggered the exception
or fault. Some faults are recoverable, such as a correctable ECC error,
but others may not be possible to recover from. As Alpha hardware is aging
we may see more errors due to failing hardware and proper machine check
handling can assist in detecting and diagnosing such errors. I hope that
someone finds this useful, any feedback is much appreciated.
arch/alpha/include/asm/core_tsunami.h | 8 +
arch/alpha/kernel/Makefile | 2 +-
arch/alpha/kernel/core_tsunami.c | 37 +-
arch/alpha/kernel/err_impl.h | 8 +
arch/alpha/kernel/err_tsunami.c | 707 ++++++++++++++++++++++++++
arch/alpha/kernel/err_tsunami.h | 199 ++++++++
arch/alpha/kernel/sys_dp264.c | 17 +-
7 files changed, 942 insertions(+), 36 deletions(-)
create mode 100644 arch/alpha/kernel/err_tsunami.c
create mode 100644 arch/alpha/kernel/err_tsunami.h
--
2.45.3
Powered by blists - more mailing lists