From: Matt Turner <mattst88@gmail.com>
To: Magnus Lindholm <linmag7@gmail.com>
Cc: richard.henderson@linaro.org, linux-kernel@vger.kernel.org,
linux-alpha@vger.kernel.org
Subject: Re: [PATCH 00/14] alpha: fix entry bugs and consolidate generic helpers
Date: Wed, 4 Nov 2026 14:35:10 -0500 [thread overview]
Message-ID: <CAEdQ38EHu74R-AouOXAwD2LJEUZgx5S3CurNGE9x4zJsTxp5OA@mail.gmail.com> (raw)
In-Reply-To: <20261103214120.1099893-1-linmag7@gmail.com>
On Tue, Nov 3, 2026 at 4:43 PM Magnus Lindholm <linmag7@gmail.com> wrote:
> With GENERIC_ENTRY upstream for Alpha, this series moves syscall dispatch
> and ordinary interrupt/exception entry and exit into C using generic
> helpers, and removes redundant fork, core-dump, audit and ptrace code.
Each patch builds, and the whole series boots and runs fine on my ES47
(EV7) with both CPUs enabled and lockdep on. seccomp_bpf passes 142/142
as both a normal user and root, and the ptrace syscall_info and
peeksiginfo selftests pass. No lockdep reports or warnings in dmesg.
I also wrote a small test that reads 512 bytes from /dev/zero in a loop
while a 1ms itimer fires SIGALRM. Without the series, 188 of 200000 reads
came back wrong; with it, none did. So patch 4 fixes a real problem.
Two small things, neither worth a respin on its own:
Patch 2: the comment in regs_return_value() says a3 is an error flag
only at syscall exit, but the code negates r0 for any user-mode regs
with r19 set. That's the same as MIPS, and nothing on alpha calls it
outside syscall exit today (we have no uprobes), so the code is fine.
The comment just reads as though there's a check that isn't there.
Patches 3/5/6: the ALPHA_SYSCALL_META_* bits come in as 0x10, 0x20,
then 0x8, and the RESULT define has an extra tab. Cosmetic.
For the series:
Tested-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
prev parent reply other threads:[~2026-11-04 19:35 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-03 21:35 Magnus Lindholm
2026-11-03 21:35 ` [PATCH 01/14] alpha: fix saved registers in page-fault oops dumps Magnus Lindholm
2026-11-03 21:35 ` [PATCH 02/14] alpha: report syscall errors correctly to audit Magnus Lindholm
2026-11-03 21:35 ` [PATCH 03/14] alpha: preserve rolled-back registers for SIGSYS Magnus Lindholm
2026-11-03 21:35 ` [PATCH 04/14] alpha: fix syscall restart eligibility Magnus Lindholm
2026-11-03 21:35 ` [PATCH 05/14] alpha: distinguish skipped syscalls from invalid numbers Magnus Lindholm
2026-11-03 21:35 ` [PATCH 06/14] alpha: dispatch system calls from C Magnus Lindholm
2026-11-03 21:35 ` [PATCH 07/14] alpha: use generic entry helpers for interrupts and exceptions Magnus Lindholm
2026-11-03 21:35 ` [PATCH 08/14] alpha: use generic syscall exit for new tasks Magnus Lindholm
2026-11-03 21:35 ` [PATCH 09/14] alpha: remove obsolete core dump register hooks Magnus Lindholm
2026-11-03 21:35 ` [PATCH 10/14] alpha: use generic syscall audit classification Magnus Lindholm
2026-11-03 21:35 ` [PATCH 11/14] alpha: use generic ptrace memory writes Magnus Lindholm
2026-11-03 21:35 ` [PATCH 12/14] alpha: use memparse for memory size options Magnus Lindholm
2026-11-03 21:35 ` [PATCH 13/14] alpha: use generic getrusage for OSF resource accounting Magnus Lindholm
2026-11-03 21:35 ` [PATCH 14/14] alpha: use generic CPU device registration Magnus Lindholm
2026-11-04 19:35 ` Matt Turner [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=CAEdQ38EHu74R-AouOXAwD2LJEUZgx5S3CurNGE9x4zJsTxp5OA@mail.gmail.com \
--to=mattst88@gmail.com \
--cc=linmag7@gmail.com \
--cc=linux-alpha@vger.kernel.org \
--cc=linux-kernel@vger.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®