Alpha arch development list
 help / color / mirror / Atom feed
* [PATCH v5 0/1] alpha: enable GENERIC_ENTRY
@ 2026-09-02 18:38 Magnus Lindholm
  2026-09-02 18:38 ` [PATCH 1/1] " Magnus Lindholm
  0 siblings, 1 reply; 2+ messages in thread
From: Magnus Lindholm @ 2026-09-02 18:38 UTC (permalink / raw)
  To: richard.henderson, mattst88, linux-kernel, linux-alpha
  Cc: glaubitz, mcree, Magnus Lindholm

Hi,

This is v5 of the Alpha generic-entry series. The five preparatory
patches from the previous posting have now been merged, so this posting
contains only the remaining GENERIC_ENTRY conversion.

The patch moves Alpha's syscall entry, syscall exit, and return-to-user
handling to the generic entry infrastructure. Alpha-specific syscall
dispatch and the r0/r19 return-value encoding remain architecture code,
as do the low-level PALcode return paths.

This version is rebased onto v7.3-rc1 and adapted to Thomas Gleixner's
syscall-entry API changes. It uses
syscall_enter_from_user_mode_randomize_stack() and the new Boolean
syscall-permission result while preserving Alpha's ptrace, seccomp,
restart, and invalid-syscall handling.

This is tested on an UP2000+ SMP. Normal workload, FPU work,
strace testsuit and seccomp kernel testsuit.

Changes since v4:

  - Dropped the five preparatory patches that have been merged.
  - Rebased the remaining GENERIC_ENTRY patch onto v7.3-rc1.
  - Adapted syscall entry to the new Boolean permission API.
  - Use the combined syscall-entry and kernel-stack randomization helper.

The previous posting is available here:

Link: https://lore.kernel.org/linux-alpha/20260706170019.2941459-1-linmag7@gmail.com/

Thanks,
Magnus


Magnus Lindholm (1):
  alpha: enable GENERIC_ENTRY

 arch/alpha/Kconfig                    |   2 +
 arch/alpha/include/asm/entry-common.h |  14 ++
 arch/alpha/include/asm/ptrace.h       |  14 +-
 arch/alpha/include/asm/stacktrace.h   |  20 ++
 arch/alpha/include/asm/syscall.h      |  11 +-
 arch/alpha/include/asm/thread_info.h  |  30 +--
 arch/alpha/kernel/asm-offsets.c       |   5 +
 arch/alpha/kernel/entry.S             | 322 +++++++-------------------
 arch/alpha/kernel/irq_alpha.c         |  14 +-
 arch/alpha/kernel/proto.h             |   9 +-
 arch/alpha/kernel/ptrace.c            | 130 +++++------
 arch/alpha/kernel/signal.c            | 164 ++++++++++---
 12 files changed, 370 insertions(+), 365 deletions(-)
 create mode 100644 arch/alpha/include/asm/entry-common.h
 create mode 100644 arch/alpha/include/asm/stacktrace.h

-- 
2.53.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-02 18:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-02 18:38 [PATCH v5 0/1] alpha: enable GENERIC_ENTRY Magnus Lindholm
2026-09-02 18:38 ` [PATCH 1/1] " Magnus Lindholm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox