mbox series

[v2,0/2] target/s390x: Implement STCK et al for CONFIG_USER_ONLY

Message ID 20190209063152.9490-1-richard.henderson@linaro.org
Headers show
Series target/s390x: Implement STCK et al for CONFIG_USER_ONLY | expand

Message

Richard Henderson Feb. 9, 2019, 6:31 a.m. UTC
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