Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp460884pxb; Wed, 18 Aug 2021 06:28:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsMHD7DfZCb1KY7FeKyMtjfOuXqLorINryhfXJErbOCHzlPNuFL1RwPlhn5/mnDPAHnl3t X-Received: by 2002:a05:6402:d7:: with SMTP id i23mr10153258edu.291.1629293306884; Wed, 18 Aug 2021 06:28:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629293306; cv=none; d=google.com; s=arc-20160816; b=0jP4CupsSA/V56EMjWRvkb3NRRvPNLo2qbEDEoMxk5WAjRykz3uKEx+rcMjN7LjvHk yXpWYbIApCFx+Qds4QzFc/gDOOtVBvaEW7qgG/nAmqbhxFY2/ITJmt+98xSGo2dNb6pv YE4gHadc9/nyl7/x9nsc4R9RLx5d/EMYnxB5XG6TsZLzpQhBYLqyI6sxXxqeWyrIRv6H gEhU7CrH0hJSzMRlincTT4eAJ6MjNw/k06RDT1SLmOuhnoEzdA0OgYi6pIbqJ3BUXwiH FvaiMU4g525bXhXIhUN9JYbPTg8t4O327c0GhQfWzT/ieR6Td/LpnP5QTEFNKSi/q7yM qSUg== 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=Xz+QRVTtqniXYPEJvuS0WKs4fcIvcsNMSFW9xtzGJiyipZVHuPvfh/7y9fk0c4d7TI btcpy6W3HRjHEsRO/MYRBcOS7hfT7G4IHQMXU2obCo2vVGqL0eMnS9fU8id9o9zUcys8 7er6eA2FcZ7JfYdtzuDWmcfSF3r0viVBjmDaKvhBuRwDUjKixy1UM3HdnbBrZiJvhyQ4 QRTDU3qjHFrN8l8+i0896hCsh1wKrGqUEN5T3b0/6Amxwvy2Qop5wRXEoolQY4eJg2Ku OZXNahIYVK54tXYjkleNMQh2RnEQs/bL/G9qAphnMEdC+TviJQaVi8JgV8Tf9KHhRMLI NrHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=ddWt0JNz; 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 r23si5588011edq.379.2021.08.18.06.28.02; Wed, 18 Aug 2021 06:28:26 -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=ddWt0JNz; 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 S237097AbhHRN1H (ORCPT + 99 others); Wed, 18 Aug 2021 09:27:07 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:44074 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S237034AbhHRN1F (ORCPT ); Wed, 18 Aug 2021 09:27:05 -0400 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 17ID3kEC121417; Wed, 18 Aug 2021 09:26:29 -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=ddWt0JNzAbLVsX4evwgvMzcgZ4AZLV1hXmq03oiaBHwsi424aG0DZzoHhrGcZivLSFzM N8+x/5nPbx2FNDAFyKUHplmAQNGpV64DSr8fB3701q6LIfBu0E44urmEKK9bdR6r16Og Ss12J1il3ZZeUk4bJ+oAKg6+MmaVNgIhCcyfzIXpPB9c1EecoOgPgSMzTRq1K5SRbebp zDUdv8/VBb8yuaEPL/IGZTzIITtbFbly3aK5TZTEu9/lFY6ywVP+lDcjLB4AYPASyrPP 1Wy0h61Y6LAnp7BPzp9Gn7yqoanC6SSxmOASGZ0fckTTMxibYapKm6dXjbLTPFPEfp+P +A== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 3agf0esapk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 18 Aug 2021 09:26:29 -0400 Received: from m0098416.ppops.net (m0098416.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 17ID3mJ0121601; Wed, 18 Aug 2021 09:26:28 -0400 Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0b-001b2d01.pphosted.com with ESMTP id 3agf0esan1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 18 Aug 2021 09:26:28 -0400 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 17IDDgKq022396; Wed, 18 Aug 2021 13:26:26 GMT Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by ppma06ams.nl.ibm.com with ESMTP id 3ae53hxnuv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 18 Aug 2021 13:26:26 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 17IDQLBN52035960 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 18 Aug 2021 13:26:21 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B044B4C072; Wed, 18 Aug 2021 13:26:21 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 22C1F4C059; Wed, 18 Aug 2021 13:26:21 +0000 (GMT) Received: from p-imbrenda.bredband2.com (unknown [9.145.14.177]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 18 Aug 2021 13:26:21 +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 v4 01/14] KVM: s390: pv: add macros for UVC CC values Date: Wed, 18 Aug 2021 15:26:07 +0200 Message-Id: <20210818132620.46770-2-imbrenda@linux.ibm.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210818132620.46770-1-imbrenda@linux.ibm.com> References: <20210818132620.46770-1-imbrenda@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: ulfkBJf6Js4dpYvDbRIbYpmQAAD_7T9h X-Proofpoint-GUID: jabcfhKUPOgBHB_IqwwAiO4Zt7GbTK8w X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-08-18_04:2021-08-17,2021-08-18 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 lowpriorityscore=0 bulkscore=0 mlxlogscore=986 priorityscore=1501 malwarescore=0 mlxscore=0 impostorscore=0 clxscore=1015 suspectscore=0 adultscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2107140000 definitions=main-2108180082 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