diff options
| author | Ramin Moussavi <ramin.moussavi@yacoub.de> | 2026-08-21 17:18:05 +0200 |
|---|---|---|
| committer | Michal Simek <michal.simek@amd.com> | 2026-09-01 13:50:37 +0200 |
| commit | 730e01d932496f7bd536fc185d3aab6646dea0f4 (patch) | |
| tree | 0b4e81aa177a1e796ad88a74de1b164325a27262 /tools/perf/scripts/python/flamegraph.py | |
| parent | e44c5ef7a05c5cfc996be1aafedfdee3edd96c4c (diff) | |
microblaze: wire up sigaltstack
sigaltstack is wired to sys_ni_syscall - microblaze is the only
architecture without it - although the microblaze signal delivery code
fully supports the alternate signal stack: get_sigframe() picks the
stack via sigsp(), setup_rt_frame() saves it with __save_altstack() and
sys_rt_sigreturn() calls restore_altstack().
Wire it up to sys_sigaltstack.
Tested on qemu petalogix-s3adsp1800 (microblazeel) with the uClibc-ng
test suite: the five sigaltstack-dependent NPTL tests (tst-cancel20/21,
tst-cancelx20/21, tst-signal6) pass; before this change sigaltstack()
returned ENOSYS.
Assisted-by: Claude:claude-opus-5
Signed-off-by: Ramin Moussavi <ramin.moussavi@yacoub.de>
Tested-by: Waldemar Brodkorb <wbx@openadk.org>
Link: https://patch.msgid.link/20260821151809.1233057-2-ramin.moussavi@yacoub.de
Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
