Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp525054imu; Wed, 2 Jan 2019 11:08:34 -0800 (PST) X-Google-Smtp-Source: ALg8bN4edb73FkIinT+EmlHrVj5lGJ3AKjsTYwDYui1jakfTVlqQmv1VtfXtOqx/NG3kauVv/YIJ X-Received: by 2002:a63:ce08:: with SMTP id y8mr14356938pgf.388.1546456114805; Wed, 02 Jan 2019 11:08:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546456114; cv=none; d=google.com; s=arc-20160816; b=GezB8zNCkTXXefKigNnRpF8AGQYS8UTly+IXXYZFaYjYQfEz8ozESSzuIbxpdCI4Hw JGBTlqQXclbeSDMpglvt9X5go6z3FLzHvR6ewU6AS4D03tb5kZ3rZ1Vvq8PTWc0NqKvF P5kC+Ngm3OIhuyUtHZn/Ptbn4S6dxiJMPDlu8YM1wAaj6nW1kggizUIBGMn0vcwPbkHM cwPgS09rETO3xlZsrqaVQwx8cOqzHpieikGeLnfA8WZZobX33U9ceKSWS8ys/GYbINqL zxMeuOBmlmw6BNEqcmAaG6Spv0cYED6iElVSgUSC7xpAt34OdyD429fyKGQEOxTO7d6C mcmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date:from :references:cc:to:subject:reply-to; bh=jfZx2CsZ7Qz+pxX0wyPx4YSvGK8RgRyXm+XOzPUR5OM=; b=SEcfDPyGLukR+k9GQyYejDcVaPMsDAXML4XFcwd3VOkSt/3ZuleEBc6bttUeKWhN1B K89vA5ReqvoCIFqo2m/cFrG/K//yN+3bszs6jt2JeP0dnQCaY3EBP4HnQXOblnfqxbjg sQ2OXzKm528IWMclnSvCT+aSJDaZu8L2p/I4hiXmHGTXqxr/qC+Kvsr/AyUI05cIgwSX GtLIjnGkyQ8SaGoJD8/6ADz/hsu7acFEfcCKGC4PZ44QvCXWPi1Z7Y8Zy/LSOrKoubH2 /sGlx7EbmmmqoZYWIrmk0WQWqU1Pvq9YwG7X2R+agif5zMeX+4G2w9L8F9amvUpin9wt lRkg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 89si460410pfr.242.2019.01.02.11.08.05; Wed, 02 Jan 2019 11:08:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730498AbfABQwa (ORCPT + 99 others); Wed, 2 Jan 2019 11:52:30 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:58792 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728720AbfABQwa (ORCPT ); Wed, 2 Jan 2019 11:52:30 -0500 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id x02GnGWF008826 for ; Wed, 2 Jan 2019 11:52:29 -0500 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0a-001b2d01.pphosted.com with ESMTP id 2prxffymdk-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 02 Jan 2019 11:52:28 -0500 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 2 Jan 2019 16:52:27 -0000 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp05.uk.ibm.com (192.168.101.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 2 Jan 2019 16:52:23 -0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x02GqMCh62128292 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 2 Jan 2019 16:52:22 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0F0D94C058; Wed, 2 Jan 2019 16:52:22 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 645064C044; Wed, 2 Jan 2019 16:52:21 +0000 (GMT) Received: from [9.152.224.140] (unknown [9.152.224.140]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 2 Jan 2019 16:52:21 +0000 (GMT) Reply-To: pmorel@linux.ibm.com Subject: Re: [PATCH v5 04/15] KVM: s390: use pending_irqs_no_gisa() where appropriate To: Michael Mueller , KVM Mailing List Cc: Linux-S390 Mailing List , linux-kernel@vger.kernel.org, kvm390-list@tuxmaker.boeblingen.de.ibm.com, Martin Schwidefsky , Heiko Carstens , Christian Borntraeger , Janosch Frank , David Hildenbrand , Cornelia Huck , Halil Pasic References: <20181219191756.57973-1-mimu@linux.ibm.com> <20181219191756.57973-5-mimu@linux.ibm.com> From: Pierre Morel Date: Wed, 2 Jan 2019 17:52:21 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181219191756.57973-5-mimu@linux.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 19010216-0020-0000-0000-000002FF9FC3 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19010216-0021-0000-0000-0000214FA57A Message-Id: <88988ed9-dd61-90c0-c689-a317dd1ff23a@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-01-02_06:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901020151 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19/12/2018 20:17, Michael Mueller wrote: > Interruption types that are not represented in GISA shall > use pending_irqs_no_gisa() to test pending interruptions. > > Signed-off-by: Michael Mueller > --- > arch/s390/kvm/interrupt.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/s390/kvm/interrupt.c b/arch/s390/kvm/interrupt.c > index c3a8b2fbbcf2..093b568b6356 100644 > --- a/arch/s390/kvm/interrupt.c > +++ b/arch/s390/kvm/interrupt.c > @@ -353,7 +353,7 @@ static void set_intercept_indicators_io(struct kvm_vcpu *vcpu) > > static void set_intercept_indicators_ext(struct kvm_vcpu *vcpu) > { > - if (!(pending_irqs(vcpu) & IRQ_PEND_EXT_MASK)) > + if (!(pending_irqs_no_gisa(vcpu) & IRQ_PEND_EXT_MASK)) > return; > if (psw_extint_disabled(vcpu)) > kvm_s390_set_cpuflags(vcpu, CPUSTAT_EXT_INT); > @@ -363,7 +363,7 @@ static void set_intercept_indicators_ext(struct kvm_vcpu *vcpu) > > static void set_intercept_indicators_mchk(struct kvm_vcpu *vcpu) > { > - if (!(pending_irqs(vcpu) & IRQ_PEND_MCHK_MASK)) > + if (!(pending_irqs_no_gisa(vcpu) & IRQ_PEND_MCHK_MASK)) > return; > if (psw_mchk_disabled(vcpu)) > vcpu->arch.sie_block->ictl |= ICTL_LPSW; > Reviewed-by: Pierre Morel -- Pierre Morel Linux/KVM/QEMU in Böblingen - Germany