WSL2-Linux-Kernel/arch/mips/math-emu
David Daney 515b029d00 MIPS: Send proper signal and siginfo on FP emulator faults.
We were unconditionally sending SIGBUS with an empty siginfo on FP
emulator faults.  This differs from what happens when real floating
point hardware would get a fault.

For most faults we need to send SIGSEGV with the faulting address
filled in in the struct siginfo.

Reported-by: Camm Maguire <camm@maguirefamily.org>
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Cc: Camm Maguire <camm@maguirefamily.org>
Patchwork: https://patchwork.linux-mips.org/patch/1727/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2010-12-16 18:10:57 +00:00
..
Makefile MIPS: Add -Werror to arch/mips/Kbuild 2010-08-05 13:25:44 +01:00
cp1emu.c MIPS: Send proper signal and siginfo on FP emulator faults. 2010-12-16 18:10:57 +00:00
dp_add.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_cmp.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_div.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_fint.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_flong.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_frexp.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_fsp.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_logb.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_modf.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_mul.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_scalb.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_simple.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_sqrt.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_sub.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_tint.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_tlong.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dsemul.c MIPS: Collect FPU emulator statistics per-CPU. 2009-12-17 01:57:08 +00:00
ieee754.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
ieee754.h Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
ieee754d.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
ieee754dp.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
ieee754dp.h Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
ieee754int.h Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
ieee754m.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
ieee754sp.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
ieee754sp.h Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
ieee754xcpt.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
kernel_linkage.c [MIPS] Fix missing prototypes in asm/fpu.h 2008-07-20 14:38:17 +01:00
sp_add.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_cmp.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_div.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_fdp.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_fint.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_flong.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_frexp.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_logb.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_modf.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_mul.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_scalb.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_simple.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_sqrt.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_sub.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_tint.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_tlong.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00