Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4397237imu; Mon, 7 Jan 2019 22:42:11 -0800 (PST) X-Google-Smtp-Source: ALg8bN7zl0ZbNoaJJLGkgER8BYGpy1QUqdDyrLKVbeIv7Jx7w2Dbq6NcE6kHbT+30zBzAFY5ITFu X-Received: by 2002:a63:ac46:: with SMTP id z6mr495381pgn.162.1546929731133; Mon, 07 Jan 2019 22:42:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546929731; cv=none; d=google.com; s=arc-20160816; b=0CC63ofIJ1OffBiZsLP2P+phWs6jmYX/mTjjnd6he+6NbOcGrlP8YovZpNCZDJzCbe e25S/RLw6gL+1/xU1BJc5l5AWpy0lvxRWd4t0p4HG9EknTinVBPGj2dRqSucbH1nIH6r ARlg6W1c9nO2S2O7My+NurTWObUuLJ1hHoHoZyzApIK33tw1ewA1AUJJkQFBYR+dnTKY cfSL8MVxC5UiP3lfacAfqlJ6AEpiu8u02RH524wU/Y1ODilw/dKDbtv7l1hkxSLEC+Vw 2sqlDydQC6MsU4SsoAglBfHcsdH7bjPjW4h5ctVuAdd9oJRoG7qZdWce9CXTcSkRfuoI MqFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:message-id:in-reply-to:mime-version :references:subject:cc:to:from:date; bh=aCoC3pFlVPdAGwwxDHs2qfKWVhnOqMMD67yydPS8Pw4=; b=DDOsEVEvQI9iSctZz5dFOa2TOL8UNN8gRWj6Rp3i9AFIQ0QJm5xsm0P7OSRsZLxTo6 JyMaj0gEQhSMR2VcXC+nq8Whf/UdSla4xzmBR07DS52ZNRsR/OobKxdG+GAaU57I5AhF 3+Ci6f6gjd2zPnR9z/ZUNM90mjINhIWDmx6L6gWFex5YBTn3InJcrPq0vw/7rdqBQcfa AWTH/1nXKWzl7JPNaA3wigz7pRx58NqbwQORjydUlsifbopKNvpJeyaVUfFWl+l+wDGA QZc3KeM/UFprspuozxs8QGwfqUs7W1wJW5LQG7nVu9jM1skFQQQxIPfwXuetAuvtTwcb fiog== 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 w11si45039455pgf.452.2019.01.07.22.41.55; Mon, 07 Jan 2019 22:42:11 -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 S1727925AbfAHGiI (ORCPT + 99 others); Tue, 8 Jan 2019 01:38:08 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:55830 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727706AbfAHGiG (ORCPT ); Tue, 8 Jan 2019 01:38:06 -0500 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id x086Y1fA033223 for ; Tue, 8 Jan 2019 01:38:05 -0500 Received: from e06smtp07.uk.ibm.com (e06smtp07.uk.ibm.com [195.75.94.103]) by mx0a-001b2d01.pphosted.com with ESMTP id 2pvpcmh0qn-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 08 Jan 2019 01:38:05 -0500 Received: from localhost by e06smtp07.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 8 Jan 2019 06:38:03 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp07.uk.ibm.com (192.168.101.137) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Tue, 8 Jan 2019 06:38:00 -0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x086bwf957081972 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 8 Jan 2019 06:37:59 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C0060AE056; Tue, 8 Jan 2019 06:37:58 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 70354AE053; Tue, 8 Jan 2019 06:37:58 +0000 (GMT) Received: from osiris (unknown [9.152.212.95]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Tue, 8 Jan 2019 06:37:58 +0000 (GMT) Date: Tue, 8 Jan 2019 07:37:57 +0100 From: Heiko Carstens To: pmorel@linux.ibm.com Cc: Michael Mueller , KVM Mailing List , Linux-S390 Mailing List , linux-kernel@vger.kernel.org, Martin Schwidefsky , Christian Borntraeger , Janosch Frank , David Hildenbrand , Cornelia Huck , Halil Pasic Subject: Re: [PATCH v5 13/15] KVM: s390: add function process_gib_alert_list() References: <20181219191756.57973-1-mimu@linux.ibm.com> <20181219191756.57973-14-mimu@linux.ibm.com> <645d74cf-7448-f143-c899-bdcf290dac59@linux.ibm.com> MIME-Version: 1.0 In-Reply-To: X-TM-AS-GCONF: 00 x-cbid: 19010806-0028-0000-0000-00000335C09C X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19010806-0029-0000-0000-000023F2CC85 Message-Id: <20190108063757.GA3766@osiris> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Disposition: inline X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-01-08_04:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=3 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=964 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901080052 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 07, 2019 at 08:19:26PM +0100, Michael Mueller wrote: > > On 03.01.19 15:43, Pierre Morel wrote: > >On 19/12/2018 20:17, Michael Mueller wrote: > >>This function processes the Gib Alert List (GAL). It is required > >>to run when either a gib alert interruption has been received or > >>a gisa that is in the alert list is cleared or dropped. > >> > >>The GAL is build up by millicode, when the respective ISC bit is > >>set in the Interruption Alert Mask (IAM) and an interruption of > >>that class is observed. > >> > >>Signed-off-by: Michael Mueller > >>--- > >>? arch/s390/kvm/interrupt.c | 140 > >>++++++++++++++++++++++++++++++++++++++++++++++ > >>? 1 file changed, 140 insertions(+) > >> > >>diff --git a/arch/s390/kvm/interrupt.c b/arch/s390/kvm/interrupt.c > >>index 48a93f5e5333..03e7ba4f215a 100644 > >>--- a/arch/s390/kvm/interrupt.c > >>+++ b/arch/s390/kvm/interrupt.c > >>@@ -2941,6 +2941,146 @@ int kvm_s390_get_irq_state(struct kvm_vcpu > >>*vcpu, __u8 __user *buf, int len) > >>????? return n; > >>? } > >>? +static int __try_airqs_kick(struct kvm *kvm, u8 ipm) > > > >static inline ? Why? In general it is a good idea to leave it up to the compiler to decide if it is worth to inline a function or not, unless you have a good reason to force inlining.