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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5D00EC282DE for ; Thu, 13 Mar 2025 22:48:02 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C65CF280002; Thu, 13 Mar 2025 18:47:59 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C153C280001; Thu, 13 Mar 2025 18:47:59 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B0483280002; Thu, 13 Mar 2025 18:47:59 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 979C4280001 for ; Thu, 13 Mar 2025 18:47:59 -0400 (EDT) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 22E0D12068E for ; Thu, 13 Mar 2025 22:48:01 +0000 (UTC) X-FDA: 83218017162.01.CE88AB4 Received: from nyc.source.kernel.org (nyc.source.kernel.org [147.75.193.91]) by imf22.hostedemail.com (Postfix) with ESMTP id 7613EC0002 for ; Thu, 13 Mar 2025 22:47:59 +0000 (UTC) Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=D07nQ1Lp; dmarc=none; spf=pass (imf22.hostedemail.com: domain of akpm@linux-foundation.org designates 147.75.193.91 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1741906079; a=rsa-sha256; cv=none; b=zZzisFx4NIPXu1hDQ1I9gVhgjeudbAlB2+bI0CLCXVNLXu/B0J0GtVYrc/jftnB5cXnz3S Gm8OjEo3l9qyEIkM0PiokYi5Hx8Xb51XpyAbAtjKkQATaWpqyOtDLgckmbi1xnFUJ56CT7 GXPaWvYh5h3FVcBqmEdPFCj2qPSzbdE= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=D07nQ1Lp; dmarc=none; spf=pass (imf22.hostedemail.com: domain of akpm@linux-foundation.org designates 147.75.193.91 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1741906079; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=2mHnQJZqSGXTSdxM5qZXT0n+IAt644NCHUff5TeofaQ=; b=l9LwvWDbC4z3DeQUmZq46NbeYvS4xz9kZ19NjXX/axQkvlnC+sa15RGODwhVO6X3iVRI6E W3Og5YCRCsnKkvwyrvKTeuyp+NKZR3OrfQrSGMjr6crzAWT3d0WX8X+ZgE7PB2q17lviIF EMT7FZc66GVAtmPcpzpckcF7umQogoc= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id CAB1BA41973; Thu, 13 Mar 2025 22:42:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E7A29C4CEE5; Thu, 13 Mar 2025 22:47:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1741906078; bh=1vuD3j168L/LkXuHpAQRHWAckhTjhOgcAOnJeSUpGFw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=D07nQ1LpbLt/bMF9YjXcH2ajIgpv+FXAmqxwUrPU4z2wNpnjcwJnLB4gSGcaqzJJp 9N2HwfmnWhFKhSPXWoZ57u+AZFJ8GMdd4Y7qOx1PGShKUGhHbJPTjEpkA+/oHpFOV8 LPI7ztHnZrekAlZwU1tYLP/cFn74Pwe2Qn4FtXZc= Date: Thu, 13 Mar 2025 15:47:57 -0700 From: Andrew Morton To: Andrew Donnellan Cc: linuxppc-dev@lists.ozlabs.org, linux-mm@kvack.org, pasha.tatashin@soleen.com, maddy@linux.ibm.com, x86@kernel.org, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, sweettea-kernel@dorminy.me Subject: Re: [PATCH v13 00/11] Support page table check on PowerPC Message-Id: <20250313154757.79dc20b347a0bee16f4fbd10@linux-foundation.org> In-Reply-To: <006ac081cf0e130426bcf0ef777bed346f6df002.camel@linux.ibm.com> References: <20250211161404.850215-1-ajd@linux.ibm.com> <006ac081cf0e130426bcf0ef777bed346f6df002.camel@linux.ibm.com> X-Mailer: Sylpheed 3.7.0 (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-Rspamd-Server: rspam07 X-Rspam-User: X-Stat-Signature: 6aqbn4s43yihn7pofe5no9wbq6jhjwaj X-Rspamd-Queue-Id: 7613EC0002 X-HE-Tag: 1741906079-600856 X-HE-Meta: U2FsdGVkX18aToRUeU+fyJYpWxTzecFSFu2hRJLRQSxuG15udfpxK3VDS6XRExmuXF7Lh7xbcxiSc+DzX+tteUq9eRD5z09rglzv62sVL3zTK9kwLBKf0Q/FNjREoT8wi6lgycJaS4/sYKzVhfZCsGtjV6i8L9cn2AySO0JgzTJ1jLJg8dxSDhBQ5chAC03funuf3NGsY5Jc1Cvel0oHetWpbPd+FJNaWbJDCi052B0jn1KPKCYRwKYWJu89O5ko9+QUmGZptxJyV20lXEUen4tfcAjlEsCmXD5qSQBsnpYZNE3/X6GzXrCZAiDpZjyKK93+vLPAgXiItfuJ+fCbO7MR3hvVl1rLoWDqS2EYwOQYaIbosGC9WSJH949aoYvE9J5wijYpogs9um4+Re5UzYYCKqPP3xXQ12Up5oIZqJCyCoDEnmnMA45ULZyZggaYgdkcw9eNIKSSYcY672VIhf6fwZoEnak1eb//Iod1jfHL0jayQP2svB3H5C1Ne15H+SBrC1pXar3q1+4ckvqQ+t3dr8CSxXnh2uOH73qLIZJwmSDEylHD7jwWmLlOTJOdPw7JabFHkANYC3dInX7DgxRw9Z0BJu6ab5dMWhqUrnmNt6cpGpyFbL26ClIOHcRENitNuwm2rwK1v8HFq/htB5icQSXGg30q8UeQd21oLbihEKxKIZMRf0+1NA/AaO58aCg510aj3s695brFTh0jydbcJO+urvzAtxlcBD9SLhKtV8f0XyPfKmW6UjX5Eil2qBB2h2o4TtMIx3GHI+6ndAFQlXb20l8VF0JijeWarRkZq3jsGhGCRNMYlAIjLxvSFawVPQv0T0D1wcz71FRDnTrJ0Oj/QR7bb/Ssig29GGlZJrwMBxytjDOk8vhECBp1JKuwd/+VRp6Z3iqHJ0hTTrsdXFHliI6bjYEfGNqPIsljwt1MjDcLegXnQ1MPkHTEqlnByh8R7tmYCUxlkhV TABJfy1Q BhkthPlqkVMkfBDDNszkLyHqygyYE8JlJx7Iors8nrK9M10BHXFtZHbSvAqX4iEDUy7YIfv6MBVb3sXpb34OEz9Qtyii6NhTtGYdVHuhkMfrEQKFKFRDs6B5r91DF9I6wcrpKvOgX5weityb5LtQLLuS+HsAdJwVO0Qoyt6fz8YvGt7NQwtLHyygmXkCHGAER6kXLp1f0dnTiRfH/lLkLCHFdLeYZPnkk3Xh+6O2JxUaZ6uadI2YJeXMO8wTrQT5VF2LUbICQ6rM0s6UI5KoCRmXm5g== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Thu, 13 Mar 2025 13:54:39 +1100 Andrew Donnellan wrote: > On Wed, 2025-02-12 at 03:13 +1100, Andrew Donnellan wrote: > > Support page table check on all PowerPC platforms. This works by > > serialising assignments, reassignments and clears of page table > > entries at each level in order to ensure that anonymous mappings > > have at most one writable consumer, and likewise that file-backed > > mappings are not simultaneously also anonymous mappings. > > > > In order to support this infrastructure, a number of stubs must be > > defined for all powerpc platforms. Additionally, seperate > > set_pte_at() > > and set_pte_at_unchecked(), to allow for internal, uninstrumented > > mappings. > > Talking to Maddy about this off-list - given that this series touches > on generic code and several architectures, would it be best to take it > through the mm tree rather than powerpc? Sure, I can do that. Are the rest of the ppc team OK with these changes? I'm not seeing much acking from the usual suspects?