linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Magnus Lindholm <linmag7@gmail.com>
To: linux-kernel@vger.kernel.org, linux-alpha@vger.kernel.org
Cc: richard.henderson@linaro.org, mattst88@gmail.com, arnd@arndb.de,
	paulmck@kernel.org, glaubitz@physik.fu-berlin.de,
	macro@redhat.com, mcree@orcon.net.nz, ink@unseen.parts,
	Magnus Lindholm <linmag7@gmail.com>
Subject: [PATCH 0/7] alpha: machine check handler for tsunami
Date: Mon, 24 Mar 2025 23:21:32 +0100	[thread overview]
Message-ID: <20250324222643.32085-1-linmag7@gmail.com> (raw)

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


             reply	other threads:[~2025-03-24 22:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-24 22:21 Magnus Lindholm [this message]
2025-03-24 22:21 ` [PATCH 1/7] alpha: machine check handler for tsunami Magnus Lindholm
2025-03-24 22:21 ` [PATCH 2/7] " Magnus Lindholm
2025-03-24 22:21 ` [PATCH 3/7] " Magnus Lindholm
2025-03-24 22:21 ` [PATCH 4/7] " Magnus Lindholm
2025-03-24 22:21 ` [PATCH 5/7] " Magnus Lindholm
2025-03-24 22:21 ` [PATCH 6/7] " Magnus Lindholm
2025-03-24 22:21 ` [PATCH 7/7] " Magnus Lindholm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250324222643.32085-1-linmag7@gmail.com \
    --to=linmag7@gmail.com \
    --cc=arnd@arndb.de \
    --cc=glaubitz@physik.fu-berlin.de \
    --cc=ink@unseen.parts \
    --cc=linux-alpha@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=macro@redhat.com \
    --cc=mattst88@gmail.com \
    --cc=mcree@orcon.net.nz \
    --cc=paulmck@kernel.org \
    --cc=richard.henderson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).