Home
last modified time | relevance | path

Searched hist:"515 b029d005b5694cf612a0a5ca6f861a7e45362" (Results 1 – 2 of 2) sorted by relevance

/linux/arch/mips/math-emu/
H A Dcp1emu.cdiff 515b029d005b5694cf612a0a5ca6f861a7e45362 Fri Oct 22 01:32:26 CEST 2010 David Daney <ddaney@caviumnetworks.com> 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>
/linux/arch/mips/kernel/
H A Dtraps.cdiff 515b029d005b5694cf612a0a5ca6f861a7e45362 Fri Oct 22 01:32:26 CEST 2010 David Daney <ddaney@caviumnetworks.com> 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>