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 84A70C61DFD for ; Tue, 1 Sep 2026 01:53:21 +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:Content-Transfer-Encoding: Content-Type: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=nfPoQFWa5XJK2n+gLXq+InLZ1SHvMm2K6VuNoOpddPc=; b=l8h/tqqH71plLPw6Yaoi0GZMS0 4rGKJ539E4JdEAHWSePfHNrBIDtzOKZnknSnZ1PGokl/2HYU9dwVL5wmuyXR0E2IUkKrdzwfzWfHM avkt+hxGEoSJYzpO4kMawCeCLiCOUEkfVoTQDF0uyoaAfvf4nr2PS6jiY72gUbgIvEKSd5HnTHEG1 unrMet6Xm6389orC1lChwy6Lyz0cEsDBZStYRnRqKDCPpFP0LTmtfDPu8A2UvkFbV3KHTBMobvWoT 16UzXuBJ2HhFoA95W1GeDPqv6vrAIbR8eODuDTzIFRgZtHH17tcLq4inZJ+NnneMWAEfjd1jI90Lw pUxKJoNQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x1Dgd-0000000ApTG-2lQe; Tue, 01 Sep 2026 01:53:19 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x1Dgc-0000000ApS6-07oB; Tue, 01 Sep 2026 01:53:18 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 22D17409AC; Tue, 1 Sep 2026 01:53:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1E38F1F000E9; Tue, 1 Sep 2026 01:53:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=korg; t=1788227597; bh=nfPoQFWa5XJK2n+gLXq+InLZ1SHvMm2K6VuNoOpddPc=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=Zq8VpLupvgE2yRJw1KQGeavVibzTXHtpjCONjfoal2aDB/f32LHC+a9EHOOObR2dz XMrE7NHF4NkTlRLOvkXFK75juHDjUVcCkQ7WguvUjYiW12f7gOk81DFIAVNvWoojWS hStPm28T4PEXRZKb5fXVKK4E/erKvPmWGFqjKOw0= Date: Mon, 31 Aug 2026 18:53:15 -0700 From: Andrew Morton To: Anshuman Khandual Cc: linux-mm@kvack.org, samuel.holland@sifive.com, David Hildenbrand , Mike Rapoport , Lorenzo Stoakes , Yoshinori Sato , Rich Felker , John Paul Adrian Glaubitz , "James E.J. Bottomley" , Helge Deller , Huacai Chen , WANG Xuerui , linux-alpha@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, loongarch@lists.linux.dev, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-openrisc@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-um@lists.infradead.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 6/8] sh/mm: Stop using [p4d|pud|pmd]_ERROR() Message-Id: <20260831185315.ec745606e7eeae6d1116b7d1@linux-foundation.org> In-Reply-To: <20260831054331.625505-7-anshuman.khandual@arm.com> References: <20260831054331.625505-1-anshuman.khandual@arm.com> <20260831054331.625505-7-anshuman.khandual@arm.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: linux-um@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-um" Errors-To: linux-um-bounces+linux-um=archiver.kernel.org@lists.infradead.org On Mon, 31 Aug 2026 11:13:28 +0530 Anshuman Khandual wrote: > Stop using [p4d|pud|pmd]_ERROR() in __get_pte_phys() as the pgtable entries > are known to be NULL and hence could not really be accessed. A note to the sh maintainers: Sashiko might have found a couple of bugs in __get_pte_phys(): https://sashiko.dev/#/patchset/20260831054331.625505-1-anshuman.khandual@arm.com