[Qemu-devel] [PATCH for-4.0 0/2] target/s390x: Implement STCK et al for CONFIG_USER_ONLY

Richard Henderson posted 2 patches 5 years, 4 months ago
Test asan passed
Test checkpatch passed
Test docker-quick@centos7 passed
Test docker-mingw@fedora passed
Test docker-clang@ubuntu passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20181130192216.26987-1-richard.henderson@linaro.org
There is a newer version of this series
include/hw/s390x/tod.h     |  3 ---
target/s390x/cpu.h         |  3 +++
target/s390x/helper.h      |  2 +-
target/s390x/misc_helper.c | 13 ++++++++++++-
target/s390x/translate.c   |  2 ++
target/s390x/insn-data.def | 11 ++++++-----
6 files changed, 24 insertions(+), 10 deletions(-)
[Qemu-devel] [PATCH for-4.0 0/2] target/s390x: Implement STCK et al for CONFIG_USER_ONLY
Posted by Richard Henderson 5 years, 4 months ago
This is a non-privileged instruction that was only implemented
for system mode.  However, the stck instruction is used by glibc,
so this was causing SIGILL for programs run under debian stretch.


r~


Richard Henderson (2):
  target/s390x: Move TOD_UNIX_EPOCH to cpu.h
  target/s390x: Implement STCK et al for CONFIG_USER_ONLY

 include/hw/s390x/tod.h     |  3 ---
 target/s390x/cpu.h         |  3 +++
 target/s390x/helper.h      |  2 +-
 target/s390x/misc_helper.c | 13 ++++++++++++-
 target/s390x/translate.c   |  2 ++
 target/s390x/insn-data.def | 11 ++++++-----
 6 files changed, 24 insertions(+), 10 deletions(-)

-- 
2.17.2