Message ID | 20220706064024.16573-7-frankja@linux.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <kvm-owner@kernel.org> 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 24D15C43334 for <kvm@archiver.kernel.org>; Wed, 6 Jul 2022 06:41:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230266AbiGFGla (ORCPT <rfc822;kvm@archiver.kernel.org>); Wed, 6 Jul 2022 02:41:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230177AbiGFGlY (ORCPT <rfc822;kvm@vger.kernel.org>); Wed, 6 Jul 2022 02:41:24 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EDD9186F8; Tue, 5 Jul 2022 23:41:24 -0700 (PDT) Received: from pps.filterd (m0127361.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 2665o5pg006547; Wed, 6 Jul 2022 06:41:23 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=CwD5v8xuVf94Vb2f9MDdOd12UjSK2nkD9iVlQyvMht4=; b=fW4K5EO5I1Jf5VyNB/zp2LPBeAF3Ejj2gl09Ru3GbCZ6yaA3iCd7Fy5r0pp1yYvn8E+C SrAVwKq/a8WHmH9hipUwXz1/3vTqz+bgNApmWp1ZnzipGwpmB+Vg4KnbHGMyA0siyXju Jga/PDQbWpA7Y3KnbcBhM0bXmRVyCm7R9iJt/gF6SXszLxwHMuC/mjPUkl0Z7CjvpfyZ /pEFOP7o/UA9axHk7pGF4cnITw6Sqy9uw4cDJh39Hlp77pBnQWzUuqYWGvlFITvjq8RZ rvKt1aYnqkrqBeFG8X5/KWj3XxD8bPjuku9ixGYZCcRfnVkw8bfdd/6IOiN01c4bcyxz Og== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3h54kj92sw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 06 Jul 2022 06:41:23 +0000 Received: from m0127361.ppops.net (m0127361.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 2666QN6C039317; Wed, 6 Jul 2022 06:41:22 GMT Received: from ppma01fra.de.ibm.com (46.49.7a9f.ip4.static.sl-reverse.com [159.122.73.70]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3h54kj92s8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 06 Jul 2022 06:41:22 +0000 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 2666KXgR029799; Wed, 6 Jul 2022 06:41:20 GMT Received: from b06avi18878370.portsmouth.uk.ibm.com (b06avi18878370.portsmouth.uk.ibm.com [9.149.26.194]) by ppma01fra.de.ibm.com with ESMTP id 3h4ukw0ds0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 06 Jul 2022 06:41:20 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06avi18878370.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 2666fQ2t31261168 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 6 Jul 2022 06:41:26 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9172E4C04A; Wed, 6 Jul 2022 06:41:17 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A4FCB4C040; Wed, 6 Jul 2022 06:41:16 +0000 (GMT) Received: from linux6.. (unknown [9.114.12.104]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 6 Jul 2022 06:41:16 +0000 (GMT) From: Janosch Frank <frankja@linux.ibm.com> To: kvm390 mailing list <kvm390-list@tuxmaker.boeblingen.de.ibm.com> Cc: kvm@vger.kernel.org, linux-s390@vger.kernel.org, imbrenda@linux.ibm.com, thuth@redhat.com, seiden@linux.ibm.com, nrb@linux.ibm.com, scgl@linux.ibm.com Subject: [kvm-unit-tests PATCH v2 6/8] s390x: uv-host: Remove duplicated + Date: Wed, 6 Jul 2022 06:40:22 +0000 Message-Id: <20220706064024.16573-7-frankja@linux.ibm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220706064024.16573-1-frankja@linux.ibm.com> References: <20220706064024.16573-1-frankja@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: QWjahWOzuftD0np7zQvqEP-0Hq6XvBxV X-Proofpoint-ORIG-GUID: S_NLFgYNJn-lHNZrrXcZ0jRO3FxxY757 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-07-06_03,2022-06-28_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 adultscore=0 phishscore=0 priorityscore=1501 mlxlogscore=999 clxscore=1015 malwarescore=0 bulkscore=0 mlxscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2206140000 definitions=main-2207060022 Precedence: bulk List-ID: <kvm.vger.kernel.org> X-Mailing-List: kvm@vger.kernel.org |
Series |
s390x: uv-host: Access check extensions and improvements
|
expand
|
diff --git a/s390x/uv-host.c b/s390x/uv-host.c index 0044e8b9..af3122a8 100644 --- a/s390x/uv-host.c +++ b/s390x/uv-host.c @@ -443,7 +443,7 @@ static void test_config_create(void) uvcb_cgc.guest_sca = tmp; tmp = uvcb_cgc.guest_sca; - uvcb_cgc.guest_sca = get_max_ram_size() + + PAGE_SIZE * 4; + uvcb_cgc.guest_sca = get_max_ram_size() + PAGE_SIZE * 4; rc = uv_call(0, (uint64_t)&uvcb_cgc); report(uvcb_cgc.header.rc == 0x10d && rc == 1, "sca inaccessible");