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