alpha: enable GENERIC_ENTRY
Get series with b4
b4 am [email protected]Versions newest first
- v5 Latest1 patch 0 repliesNew
Changes in v5 from the cover letter
- 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.
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | alpha: enable GENERIC_ENTRYarch/ arch/ arch/ +9 more | +370 | 0 replies |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by.
| Patch | Matt Turner |
|---|---|
| 1/1 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/1] alpha: enable GENERIC_ENTRY
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:
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
Signature · 1 line
2.53.0