From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 23 Feb 2026 12:52:34 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vuUUL-004owT-0S for lore@lore.pengutronix.de; Mon, 23 Feb 2026 12:52:34 +0100 Received: from bombadil.infradead.org ([2607:7c80:54:3::133]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1vuUUL-000218-6t for lore@pengutronix.de; Mon, 23 Feb 2026 12:52:33 +0100 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-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=pHPSiGyzW6fcfBqblIeLU26dcDkBXlujgE76DERhqqI=; b=XRNZGIDJyAF+EZ9BuiyzCoq/4/ wouVkAcewTXGVqmluuBWjg0IX7JlrYsObLFIb1t5y/VicRSS41g2hU0R+aoeuACz9vQ5xTuY6sjcI lbPJP+7v9MSQMZqjGfgIb08ELwQjHXAHU2RdVU78QMD6m37Lxc8LjncSgI0Bbe4dy9MsS47r3E68S AjObXm4RJcu9CozKygRdTCCJEbveZXKkEPuRdDFZZL4TDq4X9K/OKdDafPHZvfLfrM+q0BHplEg79 uKqNNCAUoIq9W4lGiFtjDicpKYkJDQngeXXnn3gz/dTXE+1Y7KGrOShAf/4ef6ezSnTelHjyUs6xG 0xIVaaOQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vuUU0-00000000Dk7-0WdY; Mon, 23 Feb 2026 11:52:12 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vuUTx-00000000DjF-0Eq7 for barebox@lists.infradead.org; Mon, 23 Feb 2026 11:52:10 +0000 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1vuUTv-0001vC-Af; Mon, 23 Feb 2026 12:52:07 +0100 Received: from pty.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::c5]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vuUTt-002DtG-11; Mon, 23 Feb 2026 12:52:06 +0100 Received: from sha by pty.whiteo.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1vuUTu-000000017tX-2NOs; Mon, 23 Feb 2026 12:52:06 +0100 Date: Mon, 23 Feb 2026 12:52:06 +0100 From: Sascha Hauer To: Ahmad Fatoum Cc: Renaud Barbier , barebox@lists.infradead.org Message-ID: References: <20260203141945.1417902-1-renaud.barbier@ametek.com> <74d9ecd8-7c2d-4090-8ff0-7dd16d8b2be1@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <74d9ecd8-7c2d-4090-8ff0-7dd16d8b2be1@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260223_035209_147659_D3C9FA51 X-CRM114-Status: GOOD ( 26.83 ) X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "barebox" X-SA-Exim-Connect-IP: 2607:7c80:54:3::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-3.7 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: Re: [PATCH 0/1] Initial ARMv7-A LPAE support X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.whiteo.stw.pengutronix.de) On Mon, Feb 23, 2026 at 12:44:23PM +0100, Ahmad Fatoum wrote: > Hello Sascha, > > On 2/23/26 12:40 PM, Sascha Hauer wrote: > > Hi Renaud, > > > > On Tue, Feb 03, 2026 at 02:19:44PM +0000, Renaud Barbier wrote: > >> The LPAE support allows to map physical address above the 32-bit space in > >> the ARMv7-A processor to a 32-bit virtual address. > >> > >> This patch set was tested on a LS1021A-IOT. Later, a patch to the PCIe > >> designware driver will be provided to prove the remapping of 40-bit PA to > >> 32-bit VA. > >> > >> This patch does not include an update of the mmuinfo command. > >> > >> Renaud Barbier (1): > >> arm: mmu: initial LPAE support > >> > >> arch/arm/Kconfig | 9 + > >> arch/arm/configs/layerscape_v7_defconfig | 1 + > >> arch/arm/cpu/Makefile | 4 + > >> arch/arm/cpu/mmu_lpae.c | 650 ++++++++++++++++++++ > >> arch/arm/cpu/mmu_lpae.h | 101 +++ > > > > The patch duplicates most of the existing MMU support. Can we do better? > > I had asked for it in this form, so I can get a look at how much > duplication there is and how to go from there. > > I haven't come around yet to review it though, but I will try to find > the time soon. Ah, ok. Makes sense. Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |