From patchwork Thu May 12 09:35:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudio Imbrenda X-Patchwork-Id: 12847456 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B331BC433F5 for ; Thu, 12 May 2022 09:36:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352118AbiELJgY (ORCPT ); Thu, 12 May 2022 05:36:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352044AbiELJfq (ORCPT ); Thu, 12 May 2022 05:35:46 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D209BBE27 for ; Thu, 12 May 2022 02:35:41 -0700 (PDT) Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24C8t3Ls011307 for ; Thu, 12 May 2022 09:35:40 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=90DiMYBnDTMjO3aonwxceUe/pbzCd9buffgC2GEUm2A=; b=jkydCRJEeZ8ZgKm4qsVD+D96p5C/4q1TETFAuVt4A2/DIZxNZgQe4nHVYTjlVge3MFX4 gn1Ua1mGXniLx+tZw6OMMIq6Xg6aIULlky4wXN/pvlTvo9h8diqckpZ8LP3a323a9usr shT+dn7zgeENZMn306/xrSGRN9b2zZF+2pKD1j4Aww/NM1O8okqY4llVRJxVXwyTvySh p3Paz+XjQvwuAf+coQINylmbwlD1IBDYX6n85G4tN/dHObj0h6hWyXOsovnk57lRiAQM zQeLTx+/GY32z9kqGe7USEfgT9igvxSPYaRTeM/+Opf6rlOmMa421a1e2t0K12hFSVCO 3Q== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3g0y538x0g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 12 May 2022 09:35:40 +0000 Received: from m0098413.ppops.net (m0098413.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 24C8utRA023976 for ; Thu, 12 May 2022 09:35:40 GMT Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3g0y538wyv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 May 2022 09:35:39 +0000 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 24C9Wgw9020399; Thu, 12 May 2022 09:35:38 GMT Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by ppma03ams.nl.ibm.com with ESMTP id 3fwgd8xs9b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 May 2022 09:35:37 +0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 24C9ZY6Z42205534 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 12 May 2022 09:35:34 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6434811C052; Thu, 12 May 2022 09:35:34 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 13DB811C054; Thu, 12 May 2022 09:35:34 +0000 (GMT) Received: from localhost.localdomain (unknown [9.145.10.145]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 12 May 2022 09:35:34 +0000 (GMT) From: Claudio Imbrenda To: pbonzini@redhat.com Cc: kvm@vger.kernel.org, thuth@redhat.com, frankja@linux.ibm.com, Nico Boehr Subject: [kvm-unit-tests GIT PULL 15/28] s390x: uv-host: Fix pgm tests Date: Thu, 12 May 2022 11:35:10 +0200 Message-Id: <20220512093523.36132-16-imbrenda@linux.ibm.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220512093523.36132-1-imbrenda@linux.ibm.com> References: <20220512093523.36132-1-imbrenda@linux.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: umKNzYZCQiUxb48rKzORfGEX16Ggz03H X-Proofpoint-ORIG-GUID: JG4voitw3xP_6W-LABk24i_w92IXpLpN X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-05-12_02,2022-05-12_01,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 malwarescore=0 mlxlogscore=999 spamscore=0 lowpriorityscore=0 phishscore=0 suspectscore=0 clxscore=1015 mlxscore=0 adultscore=0 impostorscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2205120044 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org From: Janosch Frank We don't want to re-enter the UV call on a cc > 1 for this test. Signed-off-by: Janosch Frank Reviewed-by: Nico Boehr Signed-off-by: Claudio Imbrenda --- s390x/uv-host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s390x/uv-host.c b/s390x/uv-host.c index d3018e3c..5ac8a32c 100644 --- a/s390x/uv-host.c +++ b/s390x/uv-host.c @@ -76,7 +76,7 @@ static void test_priv(void) uvcb.cmd = cmds[i].cmd; uvcb.len = cmds[i].len; enter_pstate(); - uv_call(0, (uint64_t)&uvcb); + uv_call_once(0, (uint64_t)&uvcb); pgm = clear_pgm_int(); report(pgm == PGM_INT_CODE_PRIVILEGED_OPERATION, "%s", cmds[i].name); }