From: Paul Walmsley <pjw@kernel.org>
To: "\"$(name)\" <$(mail address)>" <qirui.001@bytedance.com>
Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1] riscv: add hardware error trap handler support
Date: Thu, 12 Feb 2026 19:52:18 -0700 (MST) [thread overview]
Message-ID: <ca29aa74-a164-f585-aeb3-4695c6a25464@kernel.org> (raw)
In-Reply-To: <20260202094200.53735-1-qirui.001@bytedance.com>
Hi,
On Mon, 2 Feb 2026, "$(name)" <$(mail address)> wrote:
Looks like your mail user agent is broken - can you fix that, please?
> From: Rui Qi <qirui.001@bytedance.com>
>
> adds support for handling hardware error traps (exception code 19)
> in the RISC-V architecture. The changes include:
>
> - Add do_trap_hardware_error function declaration in asm-prototypes.h
> - Add hardware error trap vector entry in entry.S exception vector table
> - Implement do_trap_hardware_error handler in traps.c that generates
> SIGBUS with BUS_MCEERR_AR for hardware errors
>
> This enables proper handling of hardware error exceptions that may occur
> in RISC-V systems, providing appropriate error reporting and signal
> generation for user space processes.
>
> Signed-off-by: Rui Qi <qirui.001@bytedance.com>
Thanks, queued for v7.1.
- Paul
prev parent reply other threads:[~2026-02-13 2:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-02 9:42 "$(name)" <$(mail address)>
2026-02-13 2:52 ` Paul Walmsley [this message]
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=ca29aa74-a164-f585-aeb3-4695c6a25464@kernel.org \
--to=pjw@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=qirui.001@bytedance.com \
/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®