From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:6072 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726877AbfKKPgG (ORCPT ); Mon, 11 Nov 2019 10:36:06 -0500 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id xABFYiPm032488 for ; Mon, 11 Nov 2019 10:36:04 -0500 Received: from e06smtp02.uk.ibm.com (e06smtp02.uk.ibm.com [195.75.94.98]) by mx0b-001b2d01.pphosted.com with ESMTP id 2w7acy8102-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 11 Nov 2019 10:35:55 -0500 Received: from localhost by e06smtp02.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 11 Nov 2019 15:33:55 -0000 From: Janosch Frank Subject: [kvm-unit-tests PATCH v2 0/3] s390x: Improve architectural compliance for diag308 Date: Mon, 11 Nov 2019 10:33:42 -0500 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20191111153345.22505-1-frankja@linux.ibm.com> Sender: linux-s390-owner@vger.kernel.org List-ID: To: kvm@vger.kernel.org Cc: linux-s390@vger.kernel.org, david@redhat.com, thuth@redhat.com 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. v1 -> v2: * Fixed comment in extra patch * Now using pre-defined reset psw * Fixed some comments Janosch Frank (3): s390x: Fix initial cr0 load comments s390x: Add CR save area s390x: Load reset psw 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 | 38 ++++++++++++++++++++++++-------------- 5 files changed, 32 insertions(+), 20 deletions(-) -- 2.20.1