Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2216798pxb; Mon, 20 Sep 2021 15:35:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXjWvVQL0o112dnGxgHLD7Y/xk6KHF5HsBU0ec5+i1V3q3My6nfIRWs3uhafUQryNlApWx X-Received: by 2002:a5d:9581:: with SMTP id a1mr16381517ioo.24.1632177345135; Mon, 20 Sep 2021 15:35:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632177345; cv=none; d=google.com; s=arc-20160816; b=f3CEu93aoQi8JRq0e+n6Cb+3nbABEs725IRGCX5REwqc9wxRP42CgK/uKCAG/pKB5t nymPea74Zpqs5ZEXpmdxDyChfn28e61wqokvlOlRRkw1Lf2pkGgnT/TOrfc9kL23C3XR 3BC1WJtywj1ddibRSqAhom3cdGtco983MxZsfnZFUabYtp24oy65luas4X1a01kGQhDo aQ0U+ZeHDerwiKFV2OZfwckq6FUP5j81cAUkHVRHl5MZ4xECaICukp+aR8UzpattrMev 9dTMX7ieZGw2rrapD5jaIor9oBsFzXhr726H1/xGO/grWB4WmmQf6zIT2REydvBBnSP2 74KA== 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=gqNNz5uqs6u4roRX10GEgdMFkRv2YvvK/vX47/5VAzo=; b=lX87mE/VlZdqKVKtsmhTUsc9HnkogSWm9NyvO4fwyJw+Bo7Z9AlXtSImNkmYGuZHet wsBnoOctP8r4+3esfC3tQkj7kJvVG4duiKQeSPP3a3MHmh+nxp7QTFMkXAuOXzLsA6xz nk63cRpSCqTYWdmRWsI8J6d/v8kLDojjhCssKN5LOOh1NoT9dZo9UE0raGb3NNlYTFSw ijYUPWVrZPkYBC/Ys/mR4Pg1bHQAZfizWPeikXcJsPiDyalV70uK3ypsLrL8XZF6mFxg GficKv6gk26c2fNP/maMIviOJun2FjNTQkTq//J8LAjEK6tRobunOKoaqvAzxk+F1Zsh V6iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="M4cj3/fo"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n2si17218869jaj.42.2021.09.20.15.35.33; Mon, 20 Sep 2021 15:35:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="M4cj3/fo"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S239397AbhITN0k (ORCPT + 99 others); Mon, 20 Sep 2021 09:26:40 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:41466 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239328AbhITN0i (ORCPT ); Mon, 20 Sep 2021 09:26:38 -0400 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 18KDJw4o010126; Mon, 20 Sep 2021 09:25:11 -0400 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=gqNNz5uqs6u4roRX10GEgdMFkRv2YvvK/vX47/5VAzo=; b=M4cj3/fo4zGoUkKbDH18cqNTPGMpOAf9ZelZguvQWCENpL/jDLC1x30cOsZr612Etgah iEfE0gxQiPay3Qx+kujR4B5urhSgyD6fxu+PDAVcDqJcuBf7YJk7tT08TIIvn6/suPDs eEjpiZMqcS15rIOsh+VMV4LtjErXHvnWZil/QkoloyB4PisPjMV1zncyoNrLxeFgiOg8 1Jexx056aEEPMqXi2yrJRlePsl7R9QrnIIjMmulfJ8TEqU38WB3OQ9Uz7G/03xrv67UX 3Qht3m+cONzKPoFlKIlSgDuuvrfD3QagzWRnj/g3BoIZDef3FMd1T1Yf0pZKkvr8yWYc RQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 3b5w4dj378-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 Sep 2021 09:25:11 -0400 Received: from m0098394.ppops.net (m0098394.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 18KDJwok010093; Mon, 20 Sep 2021 09:25:10 -0400 Received: from ppma01fra.de.ibm.com (46.49.7a9f.ip4.static.sl-reverse.com [159.122.73.70]) by mx0a-001b2d01.pphosted.com with ESMTP id 3b5w4dj35p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 Sep 2021 09:25:10 -0400 Received: from pps.filterd (ppma01fra.de.ibm.com [127.0.0.1]) by ppma01fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 18KDD6ti018952; Mon, 20 Sep 2021 13:25:08 GMT Received: from b06avi18626390.portsmouth.uk.ibm.com (b06avi18626390.portsmouth.uk.ibm.com [9.149.26.192]) by ppma01fra.de.ibm.com with ESMTP id 3b57r8r54c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 Sep 2021 13:25:07 +0000 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06avi18626390.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 18KDKLh861341958 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 20 Sep 2021 13:20:21 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 89348A4053; Mon, 20 Sep 2021 13:25:03 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1735FA406E; Mon, 20 Sep 2021 13:25:03 +0000 (GMT) Received: from p-imbrenda.ibmuc.com (unknown [9.145.9.241]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP; Mon, 20 Sep 2021 13:25:03 +0000 (GMT) From: Claudio Imbrenda To: kvm@vger.kernel.org Cc: cohuck@redhat.com, borntraeger@de.ibm.com, frankja@linux.ibm.com, thuth@redhat.com, pasic@linux.ibm.com, david@redhat.com, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, Ulrich.Weigand@de.ibm.com Subject: [PATCH v5 01/14] KVM: s390: pv: add macros for UVC CC values Date: Mon, 20 Sep 2021 15:24:49 +0200 Message-Id: <20210920132502.36111-2-imbrenda@linux.ibm.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210920132502.36111-1-imbrenda@linux.ibm.com> References: <20210920132502.36111-1-imbrenda@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: ebvmeEXW8_iXCFaRXZB82ykG-hsKU13y X-Proofpoint-ORIG-GUID: eM5DKybKHDiKxv5DJh6A3E2P12WV7gje X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-09-20_07,2021-09-20_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 priorityscore=1501 malwarescore=0 mlxlogscore=931 suspectscore=0 spamscore=0 lowpriorityscore=0 impostorscore=0 bulkscore=0 mlxscore=0 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109030001 definitions=main-2109200079 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add macros to describe the 4 possible CC values returned by the UVC instruction. Signed-off-by: Claudio Imbrenda Reviewed-by: Christian Borntraeger --- arch/s390/include/asm/uv.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/s390/include/asm/uv.h b/arch/s390/include/asm/uv.h index 12c5f006c136..b35add51b967 100644 --- a/arch/s390/include/asm/uv.h +++ b/arch/s390/include/asm/uv.h @@ -18,6 +18,11 @@ #include #include +#define UVC_CC_OK 0 +#define UVC_CC_ERROR 1 +#define UVC_CC_BUSY 2 +#define UVC_CC_PARTIAL 3 + #define UVC_RC_EXECUTED 0x0001 #define UVC_RC_INV_CMD 0x0002 #define UVC_RC_INV_STATE 0x0003 -- 2.31.1