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 CDB98CAC59A for ; Sat, 20 Sep 2025 00:14:54 +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:Message-ID: In-Reply-To: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=3D9ufMyI6zWU7NwCeGxYsNtyOTptpf1ZEiK6bJSYw8E=; b=pigeheipzvl7BP m53wyV6rueOjl5NCGcw3sx56WmAarxnscL6WNKC5EGbRZ54sY52W/OWXQxLonkeKNaXEIcqDf6ekm TjoZPLORHcHHnMSafMseWC/5eFVa1tuzHaLxxh5XvbqqKz7qKbRfB5J8eEkf/mta3Yjg5X5+mRh5D 9HfuVtppggk6NvedzYZknLi0dx+AuWnvHmnSdM1d2E5mUAF+ntxjlBqVsi6S7sdvXfOxQlT+PXcr3 7wMs+AGmzuwvLQzrb9Bc/5y/J+UbMaOC+QZ8c+MRhcg/szONbl7XhCvvs9Nn2SLzYJOZBvKmBfUOA 6r3eU5FPFsprz92o6v6Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uzlFT-00000004OLc-3De7; Sat, 20 Sep 2025 00:14:43 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uzlFR-00000004OKz-0Tei; Sat, 20 Sep 2025 00:14:42 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 6DEB844961; Sat, 20 Sep 2025 00:14:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F96FC4CEF0; Sat, 20 Sep 2025 00:14:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1758327280; bh=O0bDy6Ix2CSa2N0Q4JTxtP6HuLT6aOmOzysAyCGa/JQ=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=L3hzw6hsVszuDiJHPBCY82Amym8WdjwMr0g4coY501cIx1Z/cbkmYyw7MErPFCgVY 9zOiRwZwy5zm841JL2MsK2jzXeQ3zuoERdnS/L8wMExSvv1T0o7mYbdFrsEWlA4SkK 3svAd1LFwZ7z30kKWvM0DWesAGVpKsw7bZJco19Lm5M47zZgjVJZtlKLQMBsZ7yYaA FJfwNW5bTkOWmd9ZQMsw1BtXtJxClMXZcosYuHHq5MUc0nBPwOIMN0/MJI58CzbCdH z1MYamA/HTdmcm+e+/bELj1O9aqgYTVQyFTPfnXkV3EothiEolqhY+/B6Fha//O50S IdN4mLe8ZgdZQ== Date: Fri, 19 Sep 2025 18:14:34 -0600 (MDT) From: Paul Walmsley To: Christophe Leroy cc: Arnd Bergmann , linux-arch@vger.kernel.org, Andrew Morton , linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Catalin Marinas , Will Deacon , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Peter Xu , Oscar Salvador , Alexandre Ghiti Subject: Re: [PATCH v2] asm-generic: Remove pud_user() from pgtable-nopmd.h In-Reply-To: Message-ID: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250919_171441_172331_9976D811 X-CRM114-Status: GOOD ( 10.12 ) 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 Mon, 18 Aug 2025, Christophe Leroy wrote: > Commit 2c8a81dc0cc5 ("riscv/mm: fix two page table check related > issues") added pud_user() in include/asm-generic/pgtable-nopmd.h > > But pud_user() only exists on ARM64 and RISCV and is not expected > by any part of MM. > > Add the missing definition in arch/riscv/include/asm/pgtable-32.h > and remove it from asm-generic/pgtable-nopmd.h > > A stub pud_user() is also required for ARM64 after > commit ed928a3402d8 ("arm64/mm: fix page table check compile > error for CONFIG_PGTABLE_LEVELS=2") > > Signed-off-by: Christophe Leroy > Reviewed-by: Peter Xu > Reviewed-by: Oscar Salvador > Acked-by: Alexandre Ghiti # riscv > Acked-by: Catalin Marinas Acked-by: Paul Walmsley # riscv - Paul _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv