|
| From: | Richard Henderson |
| Subject: | Re: [PATCH v2] mips: fix abort on integer overflow |
| Date: | Tue, 3 Oct 2023 13:28:45 -0700 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 |
On 9/28/23 12:55, Mikulas Patocka wrote:
On Thu, 28 Sep 2023, Richard Henderson wrote:Just call force_sig_fault directly. r~OK. Here I'm resending it. Mikulas From: Mikulas Patocka <mpatocka@redhat.com> Qemu mips userspace emulation crashes with "qemu: unhandled CPU exception 0x15 - aborting" when one of the integer arithmetic instructions detects an overflow. This patch fixes it so that it delivers SIGFPE with FPE_INTOVF instead. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Cc: qemu-stable@nongnu.org
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> and queued to linux-user-next. r~
| [Prev in Thread] | Current Thread | [Next in Thread] |