Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp4931371pxb; Sun, 6 Feb 2022 08:01:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJyAYpotthBTaOAy8aMJMQV3tWX16uUlRggaLzfC+HeT+QsLDLxMxl1/aSRqlPwX2YRUYmdK X-Received: by 2002:a05:6402:1bcb:: with SMTP id ch11mr9400649edb.252.1644163261180; Sun, 06 Feb 2022 08:01:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644163261; cv=none; d=google.com; s=arc-20160816; b=qBvwhVkma4JJGnSVDDkGb1Qb/pQZS7hqMVaqNg7ALDVKK4ESDqpj30Q4Vo8DHDuNUG wiMxrrhkL0U8ElQzYQ4vblkxuX25Jr+xcvoX20mP1WEeFzeonAgeNGucJcGoyDvE57cY zcpNC4qZQwwQoS6mJnWG5q31ooGPYVtGncTXt+WI13IEXFJmjUEISlLva/Bu/BpPbnPK AQB9b4Fpi9kiwokKY80qMbM5mqfS611ophEWTwzgukiA88fNmeFr8Wf3bMfpN+oTHxY7 /lFmdeQoprgl/OHTHjeVopYCwOqQheelq/vJIwx0oJcvB8eXo7F3zO/8tgByJ7eDSk/T 5QYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OShdjVsFdq8pPbyHlzBZuQcciLXc3V5VtNf4P65ZqMQ=; b=l9KbXNYF2QBfkrQ7OX2xhwUYShTJQzEVwjD8j4HE72o0CSclvl1TDjuwK7zlM32Hfn zMcR1WUPtWVo2K1aPSZiGrrdqNT31MayU6CzNODkPZnt90TM3pA1hTtEzS94+tyPIMcS vp12RKdabV1qZr1KjMKQfaCKn6PSuytrLhHTfv2DrTdboln6w3KpMZn9bRfVB9KllaL1 SHgme8HLe4smOEQStyBtAbGW+6qNurMR69m5S57Y9Ujx4Ap4bt2ZSMkoNzPxNzF56H/A UicVTGqyc1WVyfiiFKag1ixNyQvWnk/a+iPCFFwrhFZLDkb2nEw+NO8VK1nPIyFfMuhx 4+ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=IAv4rTNS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sb26si1459035ejc.475.2022.02.06.08.00.34; Sun, 06 Feb 2022 08:01:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=IAv4rTNS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241318AbiBDVP6 (ORCPT + 99 others); Fri, 4 Feb 2022 16:15:58 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:18540 "EHLO mx0b-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240981AbiBDVPv (ORCPT ); Fri, 4 Feb 2022 16:15:51 -0500 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 214JbI6m017318; Fri, 4 Feb 2022 21:15:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=OShdjVsFdq8pPbyHlzBZuQcciLXc3V5VtNf4P65ZqMQ=; b=IAv4rTNSqUTyLNA7lCjqAznmWcxnrs4C9yCxjFFSiTVMpaEUVixposKJxCdvWhp6hcar EbCproS8qPqI40+vh7X+3/GOu9pSUEZANnS1iP9tHJ09E+2PVzkKP5JSCHP1buDaE3k+ jjcJaKpXm/wY5kYi5LxOh6ZRmV6WnAnvseqBJ02QNrT0rF/+mHw+S5q675DJszU5qctU 1iUCapq9Jv6AlRgLVkfw4BfrZQiSraEc75cITUZZ5IftvsPye05P7t7v0W9nMCx5XeGn S92Wlq7ul4F257J4JcRfZeJeuEEcnF+LMD7jYLvGT4GD6zPZ39haFc4nv5k7KJj3P8Pv +Q== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 3e0qx9evpg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 04 Feb 2022 21:15:50 +0000 Received: from m0098417.ppops.net (m0098417.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 214L3orA018555; Fri, 4 Feb 2022 21:15:49 GMT Received: from ppma04wdc.us.ibm.com (1a.90.2fa9.ip4.static.sl-reverse.com [169.47.144.26]) by mx0a-001b2d01.pphosted.com with ESMTP id 3e0qx9evp8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 04 Feb 2022 21:15:49 +0000 Received: from pps.filterd (ppma04wdc.us.ibm.com [127.0.0.1]) by ppma04wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 214LDGcs029628; Fri, 4 Feb 2022 21:15:49 GMT Received: from b03cxnp08027.gho.boulder.ibm.com (b03cxnp08027.gho.boulder.ibm.com [9.17.130.19]) by ppma04wdc.us.ibm.com with ESMTP id 3e0r0vaunn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 04 Feb 2022 21:15:49 +0000 Received: from b03ledav002.gho.boulder.ibm.com (b03ledav002.gho.boulder.ibm.com [9.17.130.233]) by b03cxnp08027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 214LFlWk12059080 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 4 Feb 2022 21:15:47 GMT Received: from b03ledav002.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 462E813605D; Fri, 4 Feb 2022 21:15:47 +0000 (GMT) Received: from b03ledav002.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4C3E1136051; Fri, 4 Feb 2022 21:15:45 +0000 (GMT) Received: from li-c92d2ccc-254b-11b2-a85c-a700b5bfb098.ibm.com.com (unknown [9.211.82.52]) by b03ledav002.gho.boulder.ibm.com (Postfix) with ESMTP; Fri, 4 Feb 2022 21:15:45 +0000 (GMT) From: Matthew Rosato To: linux-s390@vger.kernel.org Cc: alex.williamson@redhat.com, cohuck@redhat.com, schnelle@linux.ibm.com, farman@linux.ibm.com, pmorel@linux.ibm.com, borntraeger@linux.ibm.com, hca@linux.ibm.com, gor@linux.ibm.com, gerald.schaefer@linux.ibm.com, agordeev@linux.ibm.com, frankja@linux.ibm.com, david@redhat.com, imbrenda@linux.ibm.com, vneethv@linux.ibm.com, oberpar@linux.ibm.com, freude@linux.ibm.com, thuth@redhat.com, pasic@linux.ibm.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Christian Borntraeger Subject: [PATCH v3 02/30] s390/sclp: detect the AISII facility Date: Fri, 4 Feb 2022 16:15:08 -0500 Message-Id: <20220204211536.321475-3-mjrosato@linux.ibm.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220204211536.321475-1-mjrosato@linux.ibm.com> References: <20220204211536.321475-1-mjrosato@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: U96u-8TWyCWCmzx0oHT5lwXdW8j3VHuA X-Proofpoint-ORIG-GUID: El_EZEMk01pzoaCntE925DPXW_tkcHhh X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-02-04_07,2022-02-03_01,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 suspectscore=0 lowpriorityscore=0 mlxscore=0 adultscore=0 phishscore=0 malwarescore=0 impostorscore=0 spamscore=0 priorityscore=1501 bulkscore=0 mlxlogscore=881 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202040117 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Detect the Adapter Interruption Source ID Interpretation facility. Reviewed-by: Eric Farman Reviewed-by: Christian Borntraeger Reviewed-by: Claudio Imbrenda Signed-off-by: Matthew Rosato --- arch/s390/include/asm/sclp.h | 1 + drivers/s390/char/sclp_early.c | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/s390/include/asm/sclp.h b/arch/s390/include/asm/sclp.h index 58a4d3d354b7..8b56ac5ae496 100644 --- a/arch/s390/include/asm/sclp.h +++ b/arch/s390/include/asm/sclp.h @@ -89,6 +89,7 @@ struct sclp_info { unsigned char has_sipl : 1; unsigned char has_dirq : 1; unsigned char has_zpci_lsi : 1; + unsigned char has_aisii : 1; unsigned int ibc; unsigned int mtid; unsigned int mtid_cp; diff --git a/drivers/s390/char/sclp_early.c b/drivers/s390/char/sclp_early.c index b88dd0da1231..29fee179e197 100644 --- a/drivers/s390/char/sclp_early.c +++ b/drivers/s390/char/sclp_early.c @@ -45,6 +45,7 @@ static void __init sclp_early_facilities_detect(void) sclp.has_gisaf = !!(sccb->fac118 & 0x08); sclp.has_hvs = !!(sccb->fac119 & 0x80); sclp.has_kss = !!(sccb->fac98 & 0x01); + sclp.has_aisii = !!(sccb->fac118 & 0x40); sclp.has_zpci_lsi = !!(sccb->fac118 & 0x01); if (sccb->fac85 & 0x02) S390_lowcore.machine_flags |= MACHINE_FLAG_ESOP; -- 2.27.0