Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp682850pxj; Fri, 28 May 2021 12:59:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzqb0NjsWTkiFqtZ4PHK4kXYG8TevRRumuE5on6uVegaDM54gxKXsARhhpSSWYV4LLIyL9A X-Received: by 2002:a17:906:51c7:: with SMTP id v7mr10913049ejk.86.1622231973380; Fri, 28 May 2021 12:59:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622231973; cv=none; d=google.com; s=arc-20160816; b=FRFA0KlK3RHSc4woJiIsvAM3mybgVVAOTFyjPiGXFO2+aUDpeDU06A9hkzO1Tqky9a 7JhIAmudDx8sW7tnUeKS9o+SSB/8Sh8tNZbxiJ4AeMkUr4nj1If8eWqG2YYfdgqsEV/Q vfwB5ZRImxfaonup2ITn86aQAUcZgP6zDovvMZmqCTCxxeYkbsynvkl/TVKVvPA2ROAG Nv0/2PTtcV6bmoU5VtiJtfGnWyWaFHdsagicTGSoc8iXNx6cWbNHNH8N3yDl/n9Abxe9 9/HzsLc0Vbsk6/fEZorQhzfLl/6CDrtSvP6yUTJbNYlL7j5tcFBB4540YGgEGlWwULK5 /ZSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:references:cc :to:subject:from:dkim-signature; bh=d7lYFVRu2/DsTt9miAcAAYzp4TfW5m6k0vsj37rIFlc=; b=PVtV8QfWzlL2PQ3NhZ2d7pecUPvAKJyH+a9giTJvsvpHbUtEmobEc+bWsrPydPDgzN pQU+41S//Tu7TOjUYY/uFOlCmke2Svk3xxhDDWXAMivj3belB7GWiq+3MAWN6DNe++fq p89jbosJlmP8Or1nFG+lheUfTmu4el3pnvRZS9GnR1j4JKPGcJrTa+PhkySxsYkHt3eI Ua9r0lQmYH65fy1SV7u1K58LwG3pYrEhnuCidLbSXw5hrE3khKtpbSYYXAf2bqwpMT1T aDroM1cZpCL2C40I5d0HUJXRN/tPfUSLrr9hkb3KxC7mwFOdpfYhj8plGqQVmm5BLCCk S3aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b="XPR8/WA8"; 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=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p18si3712263ejz.187.2021.05.28.12.59.10; Fri, 28 May 2021 12:59:33 -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=@oracle.com header.s=corp-2020-01-29 header.b="XPR8/WA8"; 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=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229543AbhE1Txi (ORCPT + 99 others); Fri, 28 May 2021 15:53:38 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:42360 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229476AbhE1Txg (ORCPT ); Fri, 28 May 2021 15:53:36 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 14SJiAgf134480; Fri, 28 May 2021 19:51:59 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : subject : to : cc : references : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=d7lYFVRu2/DsTt9miAcAAYzp4TfW5m6k0vsj37rIFlc=; b=XPR8/WA8hKa4vhLJponB1HSE+DK9786wj/pZNTnf5iEkMzhFykToTMDWz3xeEipTwtxd HVuuFY9p2uOACZ/lGI1xbzh/OnV+6DR5FZ5CzPZGiMfp7qVi2K/Q+DPbdgBqVHQGUOCu /nMEkvdWqYwCHg7cjQ/CIqqofVDYwHJJgD/0perVCnLNLZPnc85x6Z4GJWA+JoEX9Ykv JZ25G5daGKpWjlX5Py0a2cL5G8jos+kYbc0aeLQnDGWCPNnH/267viMKptgBFJq22+ko H15jVB36Ae6nGU/L1Pxi2hyv/DVzCx2pWi+HmaHFD+YvxDR/SOkbfx1C5z1bAa/xF7UP jg== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2130.oracle.com with ESMTP id 38q3q97gkh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 28 May 2021 19:51:59 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 14SJjglN127300; Fri, 28 May 2021 19:51:58 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3030.oracle.com with ESMTP id 38pq2xsje9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 28 May 2021 19:51:58 +0000 Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 14SJpvtb011909; Fri, 28 May 2021 19:51:57 GMT Received: from [10.175.200.219] (/10.175.200.219) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 28 May 2021 12:51:57 -0700 From: "Maciej S. Szmigiero" Subject: Re: [PATCH] selftests: kvm: fix overlapping addresses in memslot_perf_test To: Paolo Bonzini Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org References: <20210528191134.3740950-1-pbonzini@redhat.com> Message-ID: <285623f6-52e4-7f8d-fab6-0476a00af68b@oracle.com> Date: Fri, 28 May 2021 21:51:48 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <20210528191134.3740950-1-pbonzini@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9998 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 malwarescore=0 spamscore=0 adultscore=0 bulkscore=0 mlxlogscore=999 suspectscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2105280129 X-Proofpoint-GUID: MPS4dkIngEeJ4_2CxoGLaE1zHn5s3WVv X-Proofpoint-ORIG-GUID: MPS4dkIngEeJ4_2CxoGLaE1zHn5s3WVv X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9998 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxscore=0 clxscore=1011 malwarescore=0 bulkscore=0 impostorscore=0 phishscore=0 spamscore=0 adultscore=0 priorityscore=1501 mlxlogscore=999 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2105280129 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 28.05.2021 21:11, Paolo Bonzini wrote: > The memory that is allocated in vm_create is already mapped close to > GPA 0, because test_execute passes the requested memory to > prepare_vm. This causes overlapping memory regions and the > test crashes. For simplicity just move MEM_GPA higher. > > Signed-off-by: Paolo Bonzini I am not sure that I understand the issue correctly, is vm_create_default() already reserving low GPAs (around 0x10000000) on some arches or run environments? Thanks, Maciej