linux/arch/ia64/kernel
Jens Axboe f5f4fc4649 ia64: don't call handle_signal() unless there's actually a signal queued
Sergei and John both reported that ia64 failed to boot in 5.11, and it
was related to signals. Turns out the ia64 signal handling is a bit odd,
it doesn't check the return value of get_signal() for whether there's a
signal to deliver or not. With the introduction of TIF_NOTIFY_SIGNAL,
then task_work could trigger it.

Fix it by only calling handle_signal() if we actually have a real signal
to deliver. This brings it in line with all other archs, too.

Fixes: b269c229b0 ("ia64: add support for TIF_NOTIFY_SIGNAL")
Reported-by: Sergei Trofimovich <slyich@gmail.com>
Reported-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Tested-by: Sergei Trofimovich <slyich@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-03-02 17:22:11 -07:00
..
syscalls Kbuild updates for v5.12 2021-02-25 10:17:31 -08:00
.gitignore
Makefile
Makefile.gate
acpi-ext.c
acpi.c
asm-offsets.c
audit.c
brl_emu.c
crash.c Kbuild updates for v5.12 2021-02-25 10:17:31 -08:00
crash_dump.c
cyclone.c
dma-mapping.c
efi.c Kbuild updates for v5.12 2021-02-25 10:17:31 -08:00
efi_stub.S
elfcore.c
entry.S
entry.h
err_inject.c
esi.c
esi_stub.S
fsys.S
fsyscall_gtod_data.h
ftrace.c
gate-data.S
gate.S
gate.lds.S
head.S
ia64_ksyms.c
iosapic.c
irq.c
irq.h
irq_ia64.c
irq_lsapic.c
ivt.S
kprobes.c
machine_kexec.c
mca.c Kbuild updates for v5.12 2021-02-25 10:17:31 -08:00
mca_asm.S
mca_drv.c
mca_drv.h
mca_drv_asm.S
minstate.h
module.c
msi_ia64.c
numa.c
pal.S
palinfo.c
patch.c
pci-dma.c
perfmon_itanium.h
process.c arch: setup PF_IO_WORKER threads like PF_KTHREAD 2021-02-21 17:25:22 -07:00
ptrace.c
relocate_kernel.S
sal.c
salinfo.c
setup.c
sigframe.h
signal.c ia64: don't call handle_signal() unless there's actually a signal queued 2021-03-02 17:22:11 -07:00
smp.c
smpboot.c
stacktrace.c
sys_ia64.c
time.c
topology.c
traps.c
unaligned.c
uncached.c
unwind.c
unwind_decoder.c
unwind_i.h
vmlinux.lds.S