[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[qemu-s390x] [PATCH for-4.0 0/2] target/s390x: Implement STCK et al for
From: |
Richard Henderson |
Subject: |
[qemu-s390x] [PATCH for-4.0 0/2] target/s390x: Implement STCK et al for CONFIG_USER_ONLY |
Date: |
Fri, 30 Nov 2018 11:22:14 -0800 |
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
- [qemu-s390x] [PATCH for-4.0 0/2] target/s390x: Implement STCK et al for CONFIG_USER_ONLY,
Richard Henderson <=