[PATCH v2 0/2] target/s390x/tcg: Set STCK/STCKF condition code after the store

Ilya Leoshkevich posted 2 patches 4 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260714203206.363028-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/insn-data.h.inc |  4 +--
target/s390x/tcg/translate.c     |  2 ++
tests/tcg/s390x/Makefile.target  |  1 +
tests/tcg/s390x/stckf.c          | 44 ++++++++++++++++++++++++++++++++
4 files changed, 49 insertions(+), 2 deletions(-)
create mode 100644 tests/tcg/s390x/stckf.c
[PATCH v2 0/2] target/s390x/tcg: Set STCK/STCKF condition code after the store
Posted by Ilya Leoshkevich 4 weeks ago
Hi,

Ido reported an assertion failure after failing STCKF and provided a
small assembly snippet that causes it.

This series fixes the issue and adds a test based on that snippet.

Best regards,
Ilya

Ilya Leoshkevich (2):
  target/s390x/tcg: Set STCK/STCKF condition code after the store
  tests/tcg/s390x: Test STCKF condition code on a faulting store

 target/s390x/tcg/insn-data.h.inc |  4 +--
 target/s390x/tcg/translate.c     |  2 ++
 tests/tcg/s390x/Makefile.target  |  1 +
 tests/tcg/s390x/stckf.c          | 44 ++++++++++++++++++++++++++++++++
 4 files changed, 49 insertions(+), 2 deletions(-)
 create mode 100644 tests/tcg/s390x/stckf.c

-- 
2.55.0
Re: [PATCH v2 0/2] target/s390x/tcg: Set STCK/STCKF condition code after the store
Posted by Eric Farman 1 week, 4 days ago

On 7/14/26 4:29 PM, Ilya Leoshkevich wrote:
> Hi,
> 
> Ido reported an assertion failure after failing STCKF and provided a
> small assembly snippet that causes it.
> 
> This series fixes the issue and adds a test based on that snippet.
> 
> Best regards,
> Ilya
> 
> Ilya Leoshkevich (2):
>    target/s390x/tcg: Set STCK/STCKF condition code after the store
>    tests/tcg/s390x: Test STCKF condition code on a faulting store

Thanks! Applied for 11.2

> 
>   target/s390x/tcg/insn-data.h.inc |  4 +--
>   target/s390x/tcg/translate.c     |  2 ++
>   tests/tcg/s390x/Makefile.target  |  1 +
>   tests/tcg/s390x/stckf.c          | 44 ++++++++++++++++++++++++++++++++
>   4 files changed, 49 insertions(+), 2 deletions(-)
>   create mode 100644 tests/tcg/s390x/stckf.c
>
Re: [PATCH v2 0/2] target/s390x/tcg: Set STCK/STCKF condition code after the store
Posted by Eric Farman 2 weeks ago

On 7/14/26 4:29 PM, Ilya Leoshkevich wrote:
> Hi,
> 
> Ido reported an assertion failure after failing STCKF and provided a
> small assembly snippet that causes it.
> 
> This series fixes the issue and adds a test based on that snippet.
> 
> Best regards,
> Ilya
> 
> Ilya Leoshkevich (2):
>    target/s390x/tcg: Set STCK/STCKF condition code after the store
>    tests/tcg/s390x: Test STCKF condition code on a faulting store

Reviewed-by: Eric Farman <farman@linux.ibm.com>

> 
>   target/s390x/tcg/insn-data.h.inc |  4 +--
>   target/s390x/tcg/translate.c     |  2 ++
>   tests/tcg/s390x/Makefile.target  |  1 +
>   tests/tcg/s390x/stckf.c          | 44 ++++++++++++++++++++++++++++++++
>   4 files changed, 49 insertions(+), 2 deletions(-)
>   create mode 100644 tests/tcg/s390x/stckf.c
>