Skip to contentSkip to conversation

alpha updates for v7.3

GIT PULL Merged Magnus Lindholm 2 participants 2 messages Aug 18 – Aug 19 Alpha port

lore
Share & tools
lore

Magnus Lindholm

author maintainer
#0 lore raw

Hi Linus,

This pull request contains two fixes for Alpha floating-point exception handling, two clang-related fixes, the preparatory changes from the generic-entry series, an interrupt-entry lockdep fix, two Marvel/EV7 IRQ fixes, an RTC fix, and one header cleanup.

The generic-entry preparation adds regset-based ptrace and core dumps, ARCH_STACKWALK and lockdep hardirq-state tracking. These changes are useful independently and enable previously missing debugging facilities on Alpha.

The final patch switching Alpha to GENERIC_ENTRY is intentionally not included in this pull request. I am deferring that change to allow further testing and to reduce the risk of conflicts with ongoing entry-path work elsewhere in the kernel.

The following changes since commit dc59e4fea9d83f03bad6bddf3fa2e52491777482:

Linux 7.2-rc1 (2026-06-28 12:01:31 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/lindholm/alpha.git tags/alpha-for-v7.3-tag

for you to fetch changes up to b39c748d9db0c6f3ada5e7cef7f56415827d5f81:

alpha: read $gp and $sp explicitly for clang (2026-08-16 16:00:00 +0200)

----------------------------------------------------------------
alpha updates for v7.3

- alpha: read $gp and $sp explicitly for clang
- alpha: pass -Wa,-mev6 only when using GNU as
- alpha: annotate hardirqs-off on IPL 7 interrupt entry
- alpha: run the remote RTC access in a worker, not an IPI callback
- alpha: don't leak hardware-fabricated FP exception bits to user space
- alpha: fix ieee_swcr_to_fpcr setting FPCR_DNOD unconditionally
- alpha: enable lockdep hardirq state tracking
- alpha: use raw spinlocks for low-level platform locks
- alpha: provide ftrace return address support for lockdep
- alpha: make irqflags helpers operate on IPL state
- alpha: add ARCH_STACKWALK-based stacktrace support
- alpha: enable regset-based ptrace and core dumps
- alpha: marvel: Fix lock ordering in init_io7_irqs()
- alpha: marvel: Fix irq_set_status_flags to use correct IRQ number
- alpha: remove unnecessary architecture-specific <asm/device.h>

----------------------------------------------------------------
Ethan Nelson-Moore (1):
alpha: remove unnecessary architecture-specific <asm/device.h>

Magnus Lindholm (6):
alpha: enable regset-based ptrace and core dumps
alpha: add ARCH_STACKWALK-based stacktrace support
alpha: make irqflags helpers operate on IPL state
alpha: provide ftrace return address support for lockdep
alpha: use raw spinlocks for low-level platform locks
alpha: enable lockdep hardirq state tracking

Matt Turner (8):
alpha: marvel: Fix irq_set_status_flags to use correct IRQ number
alpha: marvel: Fix lock ordering in init_io7_irqs()
alpha: fix ieee_swcr_to_fpcr setting FPCR_DNOD unconditionally
alpha: don't leak hardware-fabricated FP exception bits to user space
alpha: run the remote RTC access in a worker, not an IPI callback
alpha: annotate hardirqs-off on IPL 7 interrupt entry
alpha: pass -Wa,-mev6 only when using GNU as
alpha: read $gp and $sp explicitly for clang

 .../features/core/tracehook/arch-support.txt       |   2 +-
 .../features/locking/lockdep/arch-support.txt      |   2 +-
 arch/alpha/Kconfig                                 |  10 +
 arch/alpha/Makefile                                |   8 +-
 arch/alpha/include/asm/device.h                    |   6 -
 arch/alpha/include/asm/elf.h                       |   1 +
 arch/alpha/include/asm/ftrace.h                    |  30 +-
 arch/alpha/include/asm/irqflags.h                  |   6 +-
 arch/alpha/include/asm/ptrace.h                    |   7 +
 arch/alpha/include/asm/syscall.h                   |   7 +
 arch/alpha/include/asm/thread_info.h               |   7 +-
 arch/alpha/include/uapi/asm/fpu.h                  |   8 +-
 arch/alpha/include/uapi/asm/ptrace.h               |   2 +-
 arch/alpha/kernel/Makefile                         |   3 +-
 arch/alpha/kernel/asm-offsets.c                    |   1 +
 arch/alpha/kernel/entry.S                          |  32 ++-
 arch/alpha/kernel/irq_alpha.c                      |  87 ++++--
 arch/alpha/kernel/irq_i8259.c                      |  19 +-
 arch/alpha/kernel/proto.h                          |   4 +
 arch/alpha/kernel/ptrace.c                         | 320 +++++++++++++++++----
 arch/alpha/kernel/rtc.c                            |  37 +--
 arch/alpha/kernel/signal.c                         |   9 +
 arch/alpha/kernel/stacktrace.c                     |  61 ++++
 arch/alpha/kernel/sys_dp264.c                      |  38 ++-
 arch/alpha/kernel/sys_marvel.c                     |  25 +-
 arch/alpha/kernel/sys_rawhide.c                    |  17 +-
 arch/alpha/kernel/traps.c                          |  18 +-
 arch/alpha/kernel/vmlinux.lds.S                    |   2 +
 arch/alpha/math-emu/math.c                         |  88 +++++-
 arch/alpha/mm/init.c                               |   3 +-
 30 files changed, 684 insertions(+), 176 deletions(-)
 delete mode 100644 arch/alpha/include/asm/device.h
 create mode 100644 arch/alpha/kernel/stacktrace.c
merge bot Merged
#1 lore raw
The pull request you sent on Tue, 18 Aug 2026 20:29:22 +0200:

The pull request you sent on Tue, 18 Aug 2026 20:29:22 +0200:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/lindholm/alpha.git tags/alpha-for-v7.3-tag

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/ca58a3dde621067333f481547db4afc587d7708a

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html