From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 95D3FC61DBD for ; Fri, 28 Aug 2026 17:59:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=g4qfXl7xj9ea1eRrvQp1A8Lyhf3D7yXrLlHDd5IEK5I=; b=MYMUb65z+xL3DK 0y7IdBA/Afx4ZgqXMjjm85Z3+tiEReyCBZ80+wTnduDWGmcVYy93RpBVyUkflwcqLAFQeSe2vZK/N /v1urCSnp+7yddXC4dPU+BA8gRWRmNbm11uzAbLirhfQiBglHfXHIq8sEOv4uNiLnNjX5hucWbuTX brA13EhfsTGB2/ZjwqMCrHN44AvU3TtLvrXA1AH+zpOElIdTYU7xaq0EZZTJBnjtLaPjmzTx/YgSh Jfk7gsmU2DNw6du6Bw4HLtQJMpLhw4wYHIaq4oqFnC8HrJI/2hHXrz0z9XkO/0VdXU55owpCW6TeM /LCwKJ16sa8aQ77s8lIg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x00rB-00000006Hht-1xsQ; Fri, 28 Aug 2026 17:59:13 +0000 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x00r8-00000006Hgw-3na7; Fri, 28 Aug 2026 17:59:12 +0000 Received: from pps.filterd (m0353729.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SGVluO721927; Fri, 28 Aug 2026 17:58:56 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pp1; bh=AZFBZK lZxOOnh7LYWP8T1WR9V2U7Ewlnl/05R2xnW1w=; b=pFEzQ2Wrc0RQAapmmBD6W2 GKyaFb0C3hjy2/vyaTApogAFCjrZ/timR10B8bIJckCxkX5I3dz7BnaOfraFk3tO tkBnbLAepDkYENxlTFqQLPAJqQfDFHTmSmzVtQIU8M76oTzE7YRFqIdjtjOPAhd7 vD5k6zT1FQKzUArFLbkkhNT3QC5OUNb4hjCfAcWPFI9dqasPHHP7X6u3XmVxEuEZ QkHDi07Lb0S6Jkdu9+icPYAyIv7lbI0Pbj4qXkflPyllXE6NCrXXc76fQA2uipPD LKj6Wrqs4w6IdnFXw7mbU7WB5JdEyRgQ4vrXikpcGexzZo/Ka2q9VLI5PTVb5IWw == Received: from ppma11.dal12v.mail.ibm.com (db.9e.1632.ip4.static.sl-reverse.com [50.22.158.219]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4g73ere7uh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 28 Aug 2026 17:58:55 +0000 (GMT) Received: from pps.filterd (ppma11.dal12v.mail.ibm.com [127.0.0.1]) by ppma11.dal12v.mail.ibm.com (8.18.1.7/8.18.1.7) with ESMTP id 67SHuWfi008298; Fri, 28 Aug 2026 17:58:54 GMT Received: from smtprelay01.fra02v.mail.ibm.com ([9.218.2.227]) by ppma11.dal12v.mail.ibm.com (PPS) with ESMTPS id 4g7rsyqqjb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 28 Aug 2026 17:58:54 +0000 (GMT) Received: from smtpav05.fra02v.mail.ibm.com (smtpav05.fra02v.mail.ibm.com [10.20.54.104]) by smtprelay01.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 67SHwo5W38338878 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 28 Aug 2026 17:58:50 GMT Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 831A020040; Fri, 28 Aug 2026 17:58:50 +0000 (GMT) Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 20D1E20043; Fri, 28 Aug 2026 17:58:50 +0000 (GMT) Received: from p-imbrenda (unknown [9.224.75.30]) by smtpav05.fra02v.mail.ibm.com (Postfix) with SMTP; Fri, 28 Aug 2026 17:58:50 +0000 (GMT) Date: Fri, 28 Aug 2026 19:58:48 +0200 From: Claudio Imbrenda To: Sean Christopherson Cc: Marc Zyngier , Oliver Upton , Paolo Bonzini , Tianrui Zhao , Bibo Mao , Huacai Chen , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Christian Borntraeger , Janosch Frank , Fuad Tabba , Joey Gouly , Steffen Eiden , Suzuki K Poulose , Zenghui Yu , Atish Patra , Alexandre Ghiti , David Hildenbrand , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, kvm@vger.kernel.org, loongarch@lists.linux.dev, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Nicholas Piggin , Ritesh Harjani Subject: Re: [PATCH 02/20] KVM: selftests: Bump the minimum GPA for page tables to 0x200000 Message-ID: <20260828195848.2d14e9aa@p-imbrenda> In-Reply-To: <20260826230511.972824-3-seanjc@google.com> References: <20260826230511.972824-1-seanjc@google.com> <20260826230511.972824-3-seanjc@google.com> Organization: IBM X-Mailer: Claws Mail 4.4.0 (GTK 3.24.52; x86_64-redhat-linux-gnu) MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-Reinject: loops=2 maxloops=12 X-Proofpoint-GUID: 6HLzcE55zTkKQP62ckFMr43JzrkoC_oe X-Proofpoint-ORIG-GUID: _S2ZlVd_KKoZRw557abXl1I420nQqrgM X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDE1MyBTYWx0ZWRfX0qLLxglo25xX c0LNE8XwpN3clTQ27kM5obCN/mEKCM9T/V2UrYDQGoDeLX/sVrfZOyt/r6/j4m6ZL9tZwwdloCX 4ypWX+xcPPxfyFFj9CzHJ+H1Jy+Nesr9gJfeq0vFd2dplKnzTWJssOegw+X8u4WcEZkJzQEUZze fMhRqtdMmDyXsI5MbPZ0klTINPE7IkclPa0O3GRO+hXLWMcECgv1UVnO0USv3G3nQs2z/fAyFHt gNF+rh3+M4hf2TlE3OLLpCOZzZ0quhk9kQX7DNKwRaTTPu9yI5FGeBiu38rACVpkLaS76RTvvwk ELUm+pM5KW56fI0RwGoW8Y541MsPZt4YlDLI0plXmqCecpK+KMoc14R0xuC6t5Q+da6p9BTxg9I Z2MJP0donTGv3lcaG4UoyVdwmTdFs+WvA2dxyIbg21fJJAVArBBYfJ7ZgKbehjiHOWklyrh9NP/ jx1EDxOnKwX5OS/aUiA== X-Authority-Analysis: v=2.4 cv=QsRuG1yd c=1 sm=1 tr=0 ts=6a91cc60 cx=c_pps a=aDMHemPKRhS1OARIsFnwRA==:117 a=aDMHemPKRhS1OARIsFnwRA==:17 a=kj9zAlcOel0A:10 a=Sv0fKeRqtYgA:10 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22 a=uAbxVGIbfxUO_5tXvNgY:22 a=1XWaLZrsAAAA:8 a=Rex0ZKQa4XsKW5WIoWMA:9 a=CjuIK1q_8ugA:10 X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDE1MyBTYWx0ZWRfX/pS+uSLiiIVc dz0zFaQHlHiFiK9bsIl+xi1GR3ZuN8ixPgN9QIrOdnh1lnLipbWGJZ07LBCw2zrVE6icQuqM30v TB/vJ8xy+UMB1HVhNbAWSTx71V1+vCs= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_05,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 adultscore=0 suspectscore=0 priorityscore=1501 impostorscore=0 spamscore=0 lowpriorityscore=0 clxscore=1011 bulkscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280153 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260828_105910_971605_19F3738B X-CRM114-Status: GOOD ( 17.75 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Wed, 26 Aug 2026 16:04:53 -0700 Sean Christopherson wrote: > Bump selftests completely arbitrary minimum GPA for page tables from > 0x180000 to 0x200000 (LoongArch's minimum), so that LoongArch can use > vm_alloc_page_table() instead of open coding a rough equivalent. > > Signed-off-by: Sean Christopherson > --- > tools/testing/selftests/kvm/include/kvm_util.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/testing/selftests/kvm/include/kvm_util.h b/tools/testing/selftests/kvm/include/kvm_util.h > index 5a7a455b5387..70906a0d1003 100644 > --- a/tools/testing/selftests/kvm/include/kvm_util.h > +++ b/tools/testing/selftests/kvm/include/kvm_util.h > @@ -175,7 +175,7 @@ static inline struct userspace_mem_region *vm_get_mem_region(struct kvm_vm *vm, > > /* Minimum allocated guest virtual and physical addresses */ > #define KVM_UTIL_MIN_VADDR 0x2000 > -#define KVM_GUEST_PAGE_TABLE_MIN_PADDR 0x180000 > +#define KVM_GUEST_PAGE_TABLE_MIN_PADDR 0x200000 > > #define DEFAULT_GUEST_STACK_VADDR_MIN 0xab6000 > #define DEFAULT_STACK_PGS 5 this breaks s390/cmma_test I tried a quick fix, but nope... I will need to actually invest some time (i.e. next week) to understand why the quick fix is not enough, and come up with a proper fix the good news is: it seems like cmma_test is the only test that is negatively affected by this series. _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv