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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 43E6CC624D0 for ; Tue, 1 Sep 2026 01:53:23 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4hYpmK3Khzz2y2S; Tue, 01 Sep 2026 11:53:21 +1000 (AEST) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip="2600:3c0a:e001:78e:0:1991:8:25" ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1788227601; cv=none; b=AooogJdTLRNGMhF+VRsIWxC1MZcIgCFkowoLtMdq+ofqnlmyNxsQRo1FtKqDnV6v63N38389geS8paqEpfY0MXSseIOeVhJrOEYWVC3UN2UefmCjzJUFNqnlOxDU5EfgfnIlxMR2Dc5PdBs3vh2WK1CQH6kGG54E3N8yLdjeBgwlHSnmF7REOw8kQb0HHgJ0driDA48dWHhjYRxz3UuoO+xvE+gWTB5pXRgXGa2OC5NKpP5lNQMR6Bzvz1UvIJwzVlB+wBwl0OMj5svur+XgqOqhKG/m5pWORnep65aPSkz6X03kiARReNWgMA2w+jZ/zik8O38RWgEnBFHGp4cDww== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1788227601; c=relaxed/relaxed; bh=nfPoQFWa5XJK2n+gLXq+InLZ1SHvMm2K6VuNoOpddPc=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=j7881YMsJs5b+gAILIdALJcFuhtloAMRddOe9WH0sgE1/XIXMv7vLTopXHfy9a29FghxFq4xItIHkGB50s0XajPcMCJKXQOIKThMfrLukNLX6l6dfThNlLZRNT3wWh5Ye4BSvGC4+vN55632CFyXlECpXd92x54CD1rlqHMp1Dwm3/1u1k63UohFGJnEw/t0Qb6Uj23UlcbBBHV0fRUk5loLOU6a4m7iuTs85E4PU2vLK7rIHbeQvcbc4XFE0KFi2N+NozQFF49IPKeg4s4YwsJijk+sq3BMUYC80T6bP0DIULoDNhiBs+eMeA9IIzlA1ObzvrK8/T8xsLlCQchHBg== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org; dkim=pass (1024-bit key; unprotected) header.d=linux-foundation.org header.i=@linux-foundation.org header.a=rsa-sha256 header.s=korg header.b=Zq8VpLup; dkim-atps=neutral; spf=pass (client-ip=2600:3c0a:e001:78e:0:1991:8:25; helo=sea.source.kernel.org; envelope-from=akpm@linux-foundation.org; receiver=lists.ozlabs.org) smtp.mailfrom=linux-foundation.org Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=linux-foundation.org header.i=@linux-foundation.org header.a=rsa-sha256 header.s=korg header.b=Zq8VpLup; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linux-foundation.org (client-ip=2600:3c0a:e001:78e:0:1991:8:25; helo=sea.source.kernel.org; envelope-from=akpm@linux-foundation.org; receiver=lists.ozlabs.org) Received: from sea.source.kernel.org (sea.source.kernel.org [IPv6:2600:3c0a:e001:78e:0:1991:8:25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4hYpmJ3Tn1z2y2P for ; Tue, 01 Sep 2026 11:53:19 +1000 (AEST) 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) X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: Precedence: list Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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