From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 92163345EA2; Tue, 1 Sep 2026 01:53:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788227631; cv=none; b=dCnHjLj6BtXqygE09M8Mg8IIb2DA3x8kgv+E4xwgXSpA8CykK6mr4NDYmbYn+OERdUyPQy3GUoj/wnySCmaGbOpsC54VDzTrBtui+xG0Q8MHDj43Ucgbn4L/5bRnF32YkJe3MHpTt7QTli759Ba7aQsE3guCHlLsOso13kjBT0A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788227631; c=relaxed/simple; bh=ZOY1dGGU6rO/trtBlZKo5/cnOjR2oE9lW36OUsLSpHo=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=fuSHX2qz9AW/qMBxNXqOXnW+WXivM6WbEM842LEq6DvhjeFAu1jxchMYKSCMxp/lq5VM7OvYH26n1XATcBd0tGCONJP7wu2K0UQPPIijiBpO+D1dT9UrpFW6hREMXHM77Do7A6GvV187CmmiwQG2kPFRBr5Z5oxxm5hPwW0X60c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=Zq8VpLup; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="Zq8VpLup" 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) Precedence: bulk X-Mailing-List: linux-parisc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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