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

Richard Henderson posted 2 patches 5 years, 2 months ago
Test docker-mingw@fedora passed
Test asan passed
Test checkpatch passed
Test docker-clang@ubuntu passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190209063152.9490-1-richard.henderson@linaro.org
Maintainers: Halil Pasic <pasic@linux.ibm.com>, David Hildenbrand <david@redhat.com>, Richard Henderson <rth@twiddle.net>, Cornelia Huck <cohuck@redhat.com>, Christian Borntraeger <borntraeger@de.ibm.com>
There is a newer version of this series
include/hw/s390x/tod.h     | 16 +---------------
target/s390x/helper.h      |  2 +-
target/s390x/s390-tod.h    | 29 +++++++++++++++++++++++++++++
target/s390x/misc_helper.c | 34 ++++++++++++++++++++++------------
target/s390x/translate.c   |  2 ++
target/s390x/insn-data.def | 11 ++++++-----
6 files changed, 61 insertions(+), 33 deletions(-)
create mode 100644 target/s390x/s390-tod.h
[Qemu-devel] [PATCH v2 0/2] target/s390x: Implement STCK et al for CONFIG_USER_ONLY
Posted by Richard Henderson 5 years, 2 months ago
Changes since v1:
  * Move more of hw/s390x/tod.h to a new header.
  * Use time2tod.


r~


Richard Henderson (2):
  target/s390x: Split out s390-tod.h
  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.

 include/hw/s390x/tod.h     | 16 +---------------
 target/s390x/helper.h      |  2 +-
 target/s390x/s390-tod.h    | 29 +++++++++++++++++++++++++++++
 target/s390x/misc_helper.c | 34 ++++++++++++++++++++++------------
 target/s390x/translate.c   |  2 ++
 target/s390x/insn-data.def | 11 ++++++-----
 6 files changed, 61 insertions(+), 33 deletions(-)
 create mode 100644 target/s390x/s390-tod.h

-- 
2.17.2