Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6877426imu; Thu, 31 Jan 2019 00:55:34 -0800 (PST) X-Google-Smtp-Source: ALg8bN4HRnyA3AtJPpBt6r62GpjbKl+WjQIY3Y14so3znod09jUFQeX+tov6uDkCgC5S4b60QsrB X-Received: by 2002:a62:931a:: with SMTP id b26mr35489754pfe.65.1548924934873; Thu, 31 Jan 2019 00:55:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548924934; cv=none; d=google.com; s=arc-20160816; b=qnE80Be5n0DYyoUdJlUkW3j4kqA7HQYmK6QUPauPovAcTBKXBu1HGA4jSHJbS8wXZL sPf05ZvxfjOi5LTnjR+c7VZQvOQMN2zg18vM1kTBDpd779RAhRvC2dpkUBejTe3OO0az 6WVPgv0iT0zFpfRftbZCoHMNQbW8sLilQVsl2cVPLJvKUz5v3gaAlTSKsRl0JGj3+GQQ F14QZlRTtAxFC4T5f3osSXFmIT2V3647tV4I3/hip4Jg4ETXQxNEF4VMG2gHydnEcmr4 UYl57OclfVIbg3G91P94K6JjA2RSdxM4eS9HzUFfxM9KTtE/YU9kDJmggWCjizQQUtrI eQzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:references:in-reply-to:date :subject:cc:to:from; bh=GYcAuMhffkZ27uRlCpcolp8QgbEfL7Kc/ugcO9nufuw=; b=m+3cre5jmgi0FwNAqAd3MpyOcD6SyKWJ3JXL6gCpReMlZ4I7F2w9ztBsepaJ/Bbyo2 F/+58J2xvWD8YbcSImcj1tU7oGQCz/qKz+w9YHg27Ty2OoB59pimxvQRQDSBJrq5Iehx Wn/bQdsjIaBm6Y2r3nRkCM0YBqD490fDOxTnni1NLIW9AAjE+SrYBtY6/xb1GCXWoyX8 5IC6in5W9XaVMBaz33gHj/revIgtrJuxAaeJbV/PC9GwmuT9yraNeCJpyfhdH4qxCkf9 o73XrOmYi17cRZQa8Ob/lvfaMbZG+uxB/pukcu9y6d93cSNI3DEyFxZvFmhEk5+W4NjG Y71w== 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 r17si4010406pls.380.2019.01.31.00.55.19; Thu, 31 Jan 2019 00:55: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 S1731715AbfAaIxk (ORCPT + 99 others); Thu, 31 Jan 2019 03:53:40 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:34548 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731521AbfAaIxh (ORCPT ); Thu, 31 Jan 2019 03:53:37 -0500 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x0V8hrAc025771 for ; Thu, 31 Jan 2019 03:53:37 -0500 Received: from e06smtp01.uk.ibm.com (e06smtp01.uk.ibm.com [195.75.94.97]) by mx0a-001b2d01.pphosted.com with ESMTP id 2qbwr58ccp-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 31 Jan 2019 03:53:36 -0500 Received: from localhost by e06smtp01.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 31 Jan 2019 08:53:34 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp01.uk.ibm.com (192.168.101.131) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 31 Jan 2019 08:53:32 -0000 Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x0V8rVhN61014150 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 31 Jan 2019 08:53:31 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E565C42042; Thu, 31 Jan 2019 08:53:30 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7A06A42041; Thu, 31 Jan 2019 08:53:30 +0000 (GMT) Received: from s38lp84.lnxne.boe (unknown [9.152.108.100]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 31 Jan 2019 08:53:30 +0000 (GMT) From: Michael Mueller To: KVM Mailing List Cc: Linux-S390 Mailing List , linux-kernel@vger.kernel.org, Martin Schwidefsky , Heiko Carstens , Christian Borntraeger , Janosch Frank , David Hildenbrand , Cornelia Huck , Halil Pasic , Pierre Morel , Michael Mueller Subject: [PATCH v7 14/15] KVM: s390: start using the GIB Date: Thu, 31 Jan 2019 09:52:45 +0100 X-Mailer: git-send-email 2.13.4 In-Reply-To: <20190131085247.13826-1-mimu@linux.ibm.com> References: <20190131085247.13826-1-mimu@linux.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 19013108-4275-0000-0000-000003083923 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19013108-4276-0000-0000-0000381641B6 Message-Id: <20190131085247.13826-15-mimu@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-01-31_04:,, 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=974 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901310070 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org By initializing the GIB, it will be used by the kvm host. Signed-off-by: Michael Mueller Reviewed-by: Pierre Morel Reviewed-by: Halil Pasic --- arch/s390/kvm/kvm-s390.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c index 0e6ba4d17207..dcf6d62b4e80 100644 --- a/arch/s390/kvm/kvm-s390.c +++ b/arch/s390/kvm/kvm-s390.c @@ -435,8 +435,15 @@ int kvm_arch_init(void *opaque) pr_err("Failed to register FLIC rc=%d\n", rc); goto out_debug_unreg; } + + rc = kvm_s390_gib_init(GAL_ISC); + if (rc) + goto out_gib_destroy; + return 0; +out_gib_destroy: + kvm_s390_gib_destroy(); out_debug_unreg: debug_unregister(kvm_s390_dbf); return rc; -- 2.13.4