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 2/7] alpha: machine check handler for tsunami
Date: Mon, 24 Mar 2025 23:21:34 +0100 [thread overview]
Message-ID: <20250324222643.32085-3-linmag7@gmail.com> (raw)
In-Reply-To: <20250324222643.32085-1-linmag7@gmail.com>
Install handlers for processing logout frames from SRM
console on the tsunami platform.
Signed-off-by: Magnus Lindholm <linmag7@gmail.com>
---
arch/alpha/kernel/sys_dp264.c | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/arch/alpha/kernel/sys_dp264.c b/arch/alpha/kernel/sys_dp264.c
index 9fb445d7dca5..bb1f5f05825b 100644
--- a/arch/alpha/kernel/sys_dp264.c
+++ b/arch/alpha/kernel/sys_dp264.c
@@ -34,7 +34,7 @@
#include "irq_impl.h"
#include "pci_impl.h"
#include "machvec_impl.h"
-
+#include "err_impl.h"
/* Note mask bit is true for ENABLED irqs. */
static unsigned long cached_irq_mask;
@@ -282,6 +282,15 @@ dp264_init_irq(void)
init_i8259a_irqs();
init_tsunami_irqs(&dp264_irq_type, 16, 47);
}
+static void __init
+tsunami_late_init(void)
+{
+ tsunami_register_error_handlers();
+ /*
+ * Check if the console left us any error logs.
+ */
+ cdl_check_console_data_log();
+}
static void __init
clipper_init_irq(void)
@@ -521,6 +530,12 @@ monet_init_pci(void)
static void __init
clipper_init_pci(void)
{
+/*
+ * This isn't really the right place, but there's some init
+ * that needs to be done after everything is basically up.
+ */
+ tsunami_late_init();
+
common_init_pci();
locate_and_init_vga(NULL);
}
--
2.45.3
next prev parent 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 [PATCH 0/7] " Magnus Lindholm
2025-03-24 22:21 ` [PATCH 1/7] " Magnus Lindholm
2025-03-24 22:21 ` Magnus Lindholm [this message]
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-3-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
all inboxes | Powered by JetHome®