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 DE120C2BD09 for ; Wed, 3 Jul 2024 13:35:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References: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=mfZjrBnjQAc2g3737Msklio3dXfCX7+a7lHHtBciKYY=; b=WL3UBSESl7r5b2oU15No4HdNoc HB5oTqx8kMAEV06M9UEtlNWZ6vcyYtdPCeQhtzGWHQzXbjUYLC3LtvPO5/PcnLVoeDoFEjiyAuAz0 3Wb08dzMdLJyPEyNMZd60N2vzq+aAcZLI+7GeLYyrmdZlezTcZhGiuO4F+D1sdZoSStzHPsFRyKxZ R4d0jIZc3bRt/oFXk3E5+DYDv0EkkFuwhoqIW35+4gKFwovpSTibFiSTzSJFaucnuWIqjDz4kyyBa Ot8Gi4vuK6uafa0ek7wZC16qEK+9TCtdAdbVn9hTgMdvGo4TBEHmVC1Adxmwijr9589aAPCTGzE0U igo1JBNw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sP08T-0000000AJmZ-1wNX; Wed, 03 Jul 2024 13:35:01 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sP08J-0000000AJlg-0WvN for linux-arm-kernel@bombadil.infradead.org; Wed, 03 Jul 2024 13:34:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=mfZjrBnjQAc2g3737Msklio3dXfCX7+a7lHHtBciKYY=; b=nf+uNJTU73XZPg2ZNlmTjpKTjz UxQ0mcpM9D1u/SgHNJ/4SWEoVjN4Xi4Grf5XUHABsBGOk+N9gxQdljzx25RszkXANwIFlTaHTAcM8 cz7/2s+/iIMZ5XhiQAq0ddLJ8IuTiwMO4+dMRF+cLSkf2JxSHfAcn750Q2tp8NkryAr8+dgd45Gp5 6zA4en7PDKL5xJv3IyVoGexPF200s5WBj8LDEKfCAQYUM1Is0SDh00GfEm06/ZtvPFXp6Wm6ODIkD 80SQ5fy3F7Ug/d8+8Ho5UL52xhZWb5sfQJeYMFb8/WKPGksGpOY8UF5Y5kkuCKjGYsWORE88UpNCF 0H1ONtCg==; Received: from out-180.mta0.migadu.com ([2001:41d0:1004:224b::b4]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sP08F-0000000A0l6-0IfR for linux-arm-kernel@lists.infradead.org; Wed, 03 Jul 2024 13:34:49 +0000 X-Envelope-To: yuzenghui@huawei.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1720013672; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mfZjrBnjQAc2g3737Msklio3dXfCX7+a7lHHtBciKYY=; b=kXOm1Kdck0wb6gfJ1SjCEZ99lovuT69IkQG6pCczWL/ENrNSQ21LTZhSou5Uq+5XxmqCPY haa/1oM3ox334IEZe67f7Azug9Bg9i0pEFqIxcTIdplzTrl800C/p9bZrI7EOTNS+KgFCj +YokTjQm0wIG/0vkpcSzuZ6llQwIg64= X-Envelope-To: alex.bennee@linaro.org X-Envelope-To: pbonzini@redhat.com X-Envelope-To: drjones@redhat.com X-Envelope-To: thuth@redhat.com X-Envelope-To: kvm@vger.kernel.org X-Envelope-To: qemu-arm@nongnu.org X-Envelope-To: linux-arm-kernel@lists.infradead.org X-Envelope-To: christoffer.dall@arm.com X-Envelope-To: maz@kernel.org X-Envelope-To: anders.roxell@linaro.org X-Envelope-To: alexandru.elisei@arm.com X-Envelope-To: eric.auger@redhat.com X-Envelope-To: kvmarm@lists.linux.dev Date: Wed, 3 Jul 2024 08:34:27 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Andrew Jones To: Zenghui Yu Cc: Alex =?utf-8?Q?Benn=C3=A9e?= , pbonzini@redhat.com, drjones@redhat.com, thuth@redhat.com, kvm@vger.kernel.org, qemu-arm@nongnu.org, linux-arm-kernel@lists.infradead.org, christoffer.dall@arm.com, maz@kernel.org, Anders Roxell , Alexandru Elisei , Eric Auger , "open list:ARM" Subject: Re: [kvm-unit-tests PATCH v1 2/2] arm/mmu: widen the page size check to account for LPA2 Message-ID: <20240703-09f98f39f0aa78a0beb48696@orel> References: <20240702163515.1964784-1-alex.bennee@linaro.org> <20240702163515.1964784-3-alex.bennee@linaro.org> <28936f0c-5745-14b3-1ecf-ae1e01c5b28f@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <28936f0c-5745-14b3-1ecf-ae1e01c5b28f@huawei.com> X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240703_143447_470511_E1AB19E5 X-CRM114-Status: GOOD ( 15.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jul 03, 2024 at 11:52:05AM GMT, Zenghui Yu wrote: > Hi Alex, > > [ Please don't send patches to the old kvmarm@lists.cs.columbia.edu as > it had been dropped since early 2023. [1] ] > > On 2024/7/3 0:35, Alex Bennée wrote: > > If FEAT_LPA2 is enabled there are different valid TGran values > > possible to indicate the granule is supported for 52 bit addressing. > > This will cause most tests to abort on QEMU's -cpu max with the error: > > > > lib/arm/mmu.c:216: assert failed: system_supports_granule(PAGE_SIZE): Unsupported translation granule 4096 > > > > Expand the test to tale this into account. > > > > Signed-off-by: Alex Bennée > > Cc: Anders Roxell > > There's a similar patch on the list [2], haven't been merged in master > though. Drat, I queued that, and several other patches, and then, for whatever reason, I delayed the merge (I was probably just waiting for the gitlab pipeline to finish...) and then forgot to actually merge... I've merged now. Please don't hesitate to ping me on patches that linger too long. I sometimes need that interrupt to trigger my context switch! Thanks, drew > > [1] https://git.kernel.org/torvalds/c/960c3028a1d5 > [2] > https://lore.kernel.org/all/20240402132739.201939-6-andrew.jones@linux.dev