[kvm-unit-tests PATCH 0/2] s390x: Improve architectural compliance for diag308

Janosch Frank
2019-11-05T16:29:03Z

When testing diag308 subcodes 0/1 on lpar with virtual mem set up, I
experienced spec PGMs and addressing PGMs due to the tests not setting
short psw bit 12 and leaving the DAT bit on.

The problem was not found under KVM/QEMU, because Qemu just ignores
all cpu mask bits... I'm working on a fix for that too.

Janosch Frank (2):
s390x: Add CR save area
s390x: Remove DAT and add short indication psw bits on diag308 reset

lib/s390x/asm-offsets.c | 3 ++-
lib/s390x/asm/arch_def.h | 5 +++--
lib/s390x/interrupt.c | 4 ++--
lib/s390x/smp.c | 2 +-
s390x/cstart64.S | 29 ++++++++++++++++++++---------
5 files changed, 28 insertions(+), 15 deletions(-)

--
2.20.1