mbox series

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

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

Message

Richard Henderson Nov. 30, 2018, 7:22 p.m. UTC
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