)]}'
{
  "commit": "0e6be1d34ae92e2b0dbc1b7410d422b22464389a",
  "tree": "6b43dc7d9b004ebeb9f7d0795f49e0b4612a69c2",
  "parents": [
    "2474cc93d9deef7866fab971a7824a3a4761e6e0"
  ],
  "author": {
    "name": "Magnus Lindholm",
    "email": "linmag7@gmail.com",
    "time": "Mon Jul 06 18:56:48 2026 +0200"
  },
  "committer": {
    "name": "Magnus Lindholm",
    "email": "linmag7@gmail.com",
    "time": "Mon Jul 06 22:20:41 2026 +0200"
  },
  "message": "alpha: enable GENERIC_ENTRY\n\nWire Alpha into the generic entry code for syscall entry/exit and\nreturn-to-user handling, while keeping the low-level PALcode return paths\nAlpha-specific.\n\nMove most of the syscall entry/exit logic out of entSys and into C helpers\nbuilt around the generic entry API. Syscall entry now uses\nsyscall_enter_from_user_mode(), records Alpha-local syscall metadata in\nthread_info, handles the ptrace/seccomp skip decision, and selects the\nsyscall table target in C.  The final target call remains in entry.S so\nAlpha can preserve its existing syscall ABI and assembly syscall-table\nwrappers.\n\nOn return from syscalls, finish Alpha\u0027s r0/r19 result encoding and\nskipped-syscall restart handling in C before calling\nsyscall_exit_to_user_mode(). Non-syscall returns to user mode use a\nseparate alpha_exit_to_user_mode() helper, which disables interrupts,\nruns irqentry_exit_to_user_mode_prepare(), and then enters the common\nexit_to_user_mode() path.\n\nKeep the remaining PALcode restore handling in assembly. In particular,\nkernel-mode returns still need Alpha-specific lockdep IRQ-state annotation\nbased on the saved processor status, while user-mode returns are handed to\nthe generic exit-to-user code.\n\nAdd the generic-entry support bits needed by common code, including\nthread_info.syscall_work, syscall trace support, ptrace sysemu request\nnumbers, and arch_syscall_is_vdso_sigreturn().\n\nThis has been tested by booting Alpha with GENERIC_ENTRY enabled, checking\nlockdep IRQ-state accounting, running fork/clone-heavy package builds, and\nrunning the seccomp as well as strace test suites.\n\nReviewed-by: Matt Turner \u003cmattst88@gmail.com\u003e\nSigned-off-by: Magnus Lindholm \u003clinmag7@gmail.com\u003e\nLink: https://lore.kernel.org/r/20260706170019.2941459-8-linmag7@gmail.com\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e53ef2d88463600667eea3e756cea96c3b4802df",
      "old_mode": 33188,
      "old_path": "arch/alpha/Kconfig",
      "new_id": "51a7391869dd65f96079a5202ad3091af5cabfeb",
      "new_mode": 33188,
      "new_path": "arch/alpha/Kconfig"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a811c73454d28dbc166b83b6f5cd550da339b5fb",
      "new_mode": 33188,
      "new_path": "arch/alpha/include/asm/entry-common.h"
    },
    {
      "type": "modify",
      "old_id": "8e0a589e2d15b45afcab55e6175388df9c3eadac",
      "old_mode": 33188,
      "old_path": "arch/alpha/include/asm/ptrace.h",
      "new_id": "430e8dc27ff7712e4090c6e5a0607a6da105d21a",
      "new_mode": 33188,
      "new_path": "arch/alpha/include/asm/ptrace.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "f006d6f00fd09cf20463a36304e0e86259423955",
      "new_mode": 33188,
      "new_path": "arch/alpha/include/asm/stacktrace.h"
    },
    {
      "type": "modify",
      "old_id": "1e78cbd46fafcd298d722cdd062b853ae0ea8a42",
      "old_mode": 33188,
      "old_path": "arch/alpha/include/asm/syscall.h",
      "new_id": "c1394910f584f9ca42367ffc33b1c0ac46cfe112",
      "new_mode": 33188,
      "new_path": "arch/alpha/include/asm/syscall.h"
    },
    {
      "type": "modify",
      "old_id": "1552ecca852073e6e72dc092ea6337185a2d11f4",
      "old_mode": 33188,
      "old_path": "arch/alpha/include/asm/thread_info.h",
      "new_id": "d781ac79106dd1178b9cb0e094333139db531bed",
      "new_mode": 33188,
      "new_path": "arch/alpha/include/asm/thread_info.h"
    },
    {
      "type": "modify",
      "old_id": "1d3bfca319ae8879dbab71db2715b5ee0a1e393a",
      "old_mode": 33188,
      "old_path": "arch/alpha/kernel/asm-offsets.c",
      "new_id": "c89792c8604417ed1a58463b09cf92bdb261ffc1",
      "new_mode": 33188,
      "new_path": "arch/alpha/kernel/asm-offsets.c"
    },
    {
      "type": "modify",
      "old_id": "9f2608de254468718ce7fa564f6483c73655de47",
      "old_mode": 33188,
      "old_path": "arch/alpha/kernel/entry.S",
      "new_id": "bfa116d455fba5fdc6d0daf9076d245da786fbc7",
      "new_mode": 33188,
      "new_path": "arch/alpha/kernel/entry.S"
    },
    {
      "type": "modify",
      "old_id": "736294d3dd512f455131aecd910a1e1ea112f2df",
      "old_mode": 33188,
      "old_path": "arch/alpha/kernel/irq_alpha.c",
      "new_id": "ac941172ae66baa3350a04d9215d455bb5e95704",
      "new_mode": 33188,
      "new_path": "arch/alpha/kernel/irq_alpha.c"
    },
    {
      "type": "modify",
      "old_id": "9b262ef09a3a4f7eeb47a71175d6e3d420460c81",
      "old_mode": 33188,
      "old_path": "arch/alpha/kernel/proto.h",
      "new_id": "f138bd494628a3ee90eae96b32aa0ce438435d32",
      "new_mode": 33188,
      "new_path": "arch/alpha/kernel/proto.h"
    },
    {
      "type": "modify",
      "old_id": "69eb337347df891d9dd3b8a97e9cdee55917b849",
      "old_mode": 33188,
      "old_path": "arch/alpha/kernel/ptrace.c",
      "new_id": "e1d8c2f696881859695302da3138a7ad29d7c7ae",
      "new_mode": 33188,
      "new_path": "arch/alpha/kernel/ptrace.c"
    },
    {
      "type": "modify",
      "old_id": "ce40a49b8496df767840cb2eda17d05a17ddbf1c",
      "old_mode": 33188,
      "old_path": "arch/alpha/kernel/signal.c",
      "new_id": "eede4203a20d94b4efe5aaf9fc9aad80fc24de33",
      "new_mode": 33188,
      "new_path": "arch/alpha/kernel/signal.c"
    }
  ]
}
