[PATCH 0/2] target/s390x: Fix DR/D INT64_MIN / -1 host crash

Ilya Leoshkevich posted 2 patches 4 weeks, 1 day ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260714190351.337923-1-iii@linux.ibm.com
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Ilya Leoshkevich <iii@linux.ibm.com>, David Hildenbrand <david@kernel.org>, Cornelia Huck <cohuck@redhat.com>, Eric Farman <farman@linux.ibm.com>, Matthew Rosato <mjrosato@linux.ibm.com>
target/s390x/tcg/int_helper.c |  3 ++-
tests/tcg/s390x/div.c         | 37 +++++++++++++++++++++++++++++++++++
2 files changed, 39 insertions(+), 1 deletion(-)
[PATCH 0/2] target/s390x: Fix DR/D INT64_MIN / -1 host crash
Posted by Ilya Leoshkevich 4 weeks, 1 day ago
Hi,

Christian reported that INT64_MIN / -1 crashes the emulator itself
instead of the guest program. This series fixes the issue and adds a
test.

Best regards,
Ilya

Ilya Leoshkevich (2):
  target/s390x: Fix DR/D INT64_MIN / -1 host crash
  tests/tcg/s390x: Test DR overflow (INT64_MIN / -1)

 target/s390x/tcg/int_helper.c |  3 ++-
 tests/tcg/s390x/div.c         | 37 +++++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+), 1 deletion(-)

-- 
2.55.0
Re: [PATCH 0/2] target/s390x: Fix DR/D INT64_MIN / -1 host crash
Posted by Eric Farman 2 weeks, 2 days ago

On 7/14/26 3:02 PM, Ilya Leoshkevich wrote:
> Hi,
> 
> Christian reported that INT64_MIN / -1 crashes the emulator itself
> instead of the guest program. This series fixes the issue and adds a
> test.
> 
> Best regards,
> Ilya
> 
> Ilya Leoshkevich (2):
>    target/s390x: Fix DR/D INT64_MIN / -1 host crash
>    tests/tcg/s390x: Test DR overflow (INT64_MIN / -1)

Thanks! Applied for 11.2

> 
>   target/s390x/tcg/int_helper.c |  3 ++-
>   tests/tcg/s390x/div.c         | 37 +++++++++++++++++++++++++++++++++++
>   2 files changed, 39 insertions(+), 1 deletion(-)
>