Hi @davidhildenbrand, I'm on the same team as @nam121 and I've been
looking at this issue as well.
I think this is the same issue as: https://github.com/multiarch/qemu-
user-static/issues/129
I've been running an s390x docker image on a master build (with latest
s390x commit from Apr 23) of user
>From looking at the in_asm logs, it looks like that instruction starting
with 0xebde is executed once with no problem but the second time its
changed to 0x.
... # First Time
IN:
0x40126d6880: ebde f000 ec51 tmy -0x14000(%r15), 0xde
0x40126d6886: e3e0 f008 0024 stg
C code (s390x specific)
that reproduces the issue and can try to add it as a unit test.
Jonathan Albrecht (1):
linux-user/s390x: save/restore condition code state during signal
handling
linux-user/s390x/signal.c | 35 +++
1 file changed, 35 insertions(+)
--
2.31.1
When handling a signal, the signal handler may have clobbered the
condition code set by the interrupted thread.
Signed-off-by: Jonathan Albrecht
Buglink: https://bugs.launchpad.net/qemu/+bug/1886793
Buglink: https://bugs.launchpad.net/qemu/+bug/1893040
---
linux-user/s390x/signal.c | 35
://gitlab.com/qemu-project/qemu/-/issues/319
Signed-off-by: Jonathan Albrecht
---
linux-user/s390x/cpu_loop.c | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/linux-user/s390x/cpu_loop.c b/linux-user/s390x/cpu_loop.c
index 22f2e89c62..6e7dfb290a 100644
--- a/linux-user
/20210705210434.45824-1-...@linux.ibm.com/
Based-on: 20210705210434.45824-1-...@linux.ibm.com
v1 -> v2:
- Update to latest version of '... psw.addr reporting' patch
- Rebase to master and fix conflicts in tests/tcg/s390x/Makefile.target
Jonathan Albrecht (2):
linux-user/s390x: signal with SIGFPE o
Signed-off-by: Jonathan Albrecht
---
tests/tcg/s390x/Makefile.target | 1 +
tests/tcg/s390x/trap.c | 102
2 files changed, 103 insertions(+)
create mode 100644 tests/tcg/s390x/trap.c
diff --git a/tests/tcg/s390x/Makefile.target b/tests/tcg/s390x
Signed-off-by: Jonathan Albrecht
---
tests/tcg/s390x/Makefile.target | 1 +
tests/tcg/s390x/trap.c | 102
2 files changed, 103 insertions(+)
create mode 100644 tests/tcg/s390x/trap.c
diff --git a/tests/tcg/s390x/Makefile.target b/tests/tcg/s390x
: https://gitlab.com/qemu-project/qemu/-/issues/319
Signed-off-by: Jonathan Albrecht
---
linux-user/s390x/cpu_loop.c | 54 +++--
1 file changed, 34 insertions(+), 20 deletions(-)
diff --git a/linux-user/s390x/cpu_loop.c b/linux-user/s390x/cpu_loop.c
index 22f2e89c62
explicitly when
getting si_codes
- Ensure si_code is set in all cases
- Improve comments
Jonathan Albrecht (2):
linux-user/s390x: signal with SIGFPE on compare-and-trap
tests/tcg: Test that compare-and-trap raises SIGFPE
linux-user/s390x/cpu_loop.c | 54 ++---
tests/tcg/s390x
-...@linux.ibm.com/
Based-on: 20210602002210.3144559-1-...@linux.ibm.com
Jonathan Albrecht (2):
linux-user/s390x: signal with SIGFPE on compare-and-trap
tests/tcg: Test that compare-and-trap raises SIGFPE
linux-user/s390x/cpu_loop.c | 19 +++---
tests/tcg/s390x/Makefile.target | 1
Signed-off-by: Jonathan Albrecht
---
tests/tcg/s390x/Makefile.target | 1 +
tests/tcg/s390x/trap.c | 100
2 files changed, 101 insertions(+)
create mode 100644 tests/tcg/s390x/trap.c
diff --git a/tests/tcg/s390x/Makefile.target b/tests/tcg/s390x
://gitlab.com/qemu-project/qemu/-/issues/319
Signed-off-by: Jonathan Albrecht
---
linux-user/s390x/cpu_loop.c | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/linux-user/s390x/cpu_loop.c b/linux-user/s390x/cpu_loop.c
index 72ba9170ed..def5c046f7 100644
--- a/linux
13 matches
Mail list logo