Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp321567pxt; Wed, 4 Aug 2021 12:03:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0UQOj/NoGrlasnfiyutGvHA9svQyQssCv8rPR6Pbvb2QT8yfNgFTaRa76+YghL1lk03Iu X-Received: by 2002:a17:906:f9d2:: with SMTP id lj18mr618890ejb.303.1628103780778; Wed, 04 Aug 2021 12:03:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628103780; cv=none; d=google.com; s=arc-20160816; b=csPCBpYh18mkTRvnsZVnlvEWmkiRgZxQFXLB4MmRbmF6fC8oZMUkU8N33lwQRJ5PTM MSG2u5J9QDDxViIHSdoSYGX2xb1g55IBUw2I652J+fecEmLVCuHrb41F2A9FvkDQ4mj2 mqVX4N9Qj0ZVbUjAVMWzFToVK3/eN/Sp3Syb5Uc52JhNJ35RTKD9Bo6W2Hzw9LihoFwU TfhBRB3uc1EYO6EHz9Y4ZyPJpkA1hliNnBz+h493iycCcc8UBtGaXgaT2uw9PmZgTQmB xLxu0R03wNsvBMOkrqf4ryWEVtqaffDAfjGhJIOp+hW6uqvDA3rWEg8zf4aGr6cUHFUY gj/g== 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=KxuAhQnaf3+SBfcwpIIsvEjzBr+R5gvOvm6/w+YZZZE=; b=a1RLxrOToi0MsDBWCOF/TeLEuGfqpTOKFScuGZxce0Spw1CZJY87ibwk6/sjvtoPgB fhrF2FPktnJ8LxUicK8wx7DZAAexZaX58dGEI5FwChwTKxbMquWYyg79cyuWQVwQXMnL 8v8c1U9k6JkYyI+T4kPpqQpcebvsJIQ4MqP0wejRrYKz9HGNu4fFwkywaGlljGCMzCbh GOtASrGh4VmK10ZtyYr35QInDWYJgmYR5ROJH4AQ2F97giwXRaDfdPMNfCC8o1EqAFut hJiq+cl2CHD2mvndfUk4G9bVrws1QznJfIQc4QWPekRnAeQ0VgP4yJv5zJJNBxlcGzS2 058A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=qH0USb7J; 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 k25si3056868edr.107.2021.08.04.12.02.37; Wed, 04 Aug 2021 12:03:00 -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=qH0USb7J; 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 S234217AbhHDPlO (ORCPT + 99 others); Wed, 4 Aug 2021 11:41:14 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:50180 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231349AbhHDPlO (ORCPT ); Wed, 4 Aug 2021 11:41:14 -0400 Received: from pps.filterd (m0187473.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 174FYgMt185678; Wed, 4 Aug 2021 11:41:01 -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=KxuAhQnaf3+SBfcwpIIsvEjzBr+R5gvOvm6/w+YZZZE=; b=qH0USb7JQqFqa4duqRGRadKPYyN0ynzedBdI3K7s5GtOB+xUkraEBnBA3VQBe301pnWb kalKGiTNwzN0Vla6QrSeAbFnDwl5czliTM7SwEbbJu07Y1g5Hi1NaqiHsJAzhe5nlkmU AKFUOQ9f93pMLwm6yyobNugNwOE+XtMUQ6u4Az3w1peYytqyAV5F0ZhpdKoYPg1pDF0e 4KNjbN+bOQqZL/Nv3sf5L689aUAHba0CL5OrMK1fPvUFUdAOhY3Z2TiUc25eTMR2YNdp GQJ8SeRNMXIfKLw6FYqG+5EEvwB+dbjAh4P6VDCvi+CIh51prpHwqYGLJlaRLbiCEQjd FQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 3a7342vr9y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 Aug 2021 11:41:01 -0400 Received: from m0187473.ppops.net (m0187473.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 174FYkbq186113; Wed, 4 Aug 2021 11:41:00 -0400 Received: from ppma05fra.de.ibm.com (6c.4a.5195.ip4.static.sl-reverse.com [149.81.74.108]) by mx0a-001b2d01.pphosted.com with ESMTP id 3a7342vr91-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 Aug 2021 11:41:00 -0400 Received: from pps.filterd (ppma05fra.de.ibm.com [127.0.0.1]) by ppma05fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 174FZa8b027694; Wed, 4 Aug 2021 15:40:58 GMT Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by ppma05fra.de.ibm.com with ESMTP id 3a4x58gjb2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 Aug 2021 15:40:58 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 174Fesrg57344414 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 4 Aug 2021 15:40:54 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E09C44C066; Wed, 4 Aug 2021 15:40:53 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 726814C075; Wed, 4 Aug 2021 15:40:53 +0000 (GMT) Received: from localhost.localdomain (unknown [9.145.2.150]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 4 Aug 2021 15:40:53 +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 v3 01/14] KVM: s390: pv: add macros for UVC CC values Date: Wed, 4 Aug 2021 17:40:33 +0200 Message-Id: <20210804154046.88552-2-imbrenda@linux.ibm.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210804154046.88552-1-imbrenda@linux.ibm.com> References: <20210804154046.88552-1-imbrenda@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: NujSUj4cYHS569KKhXOyGaFYWL5Fiqk1 X-Proofpoint-GUID: 8TK295M63Ad5oCT3g60_4SuQZaekYagF X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-08-04_03:2021-08-04,2021-08-04 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 malwarescore=0 adultscore=0 spamscore=0 lowpriorityscore=0 bulkscore=0 priorityscore=1501 impostorscore=0 phishscore=0 suspectscore=0 clxscore=1015 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2107140000 definitions=main-2108040089 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 --- 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