Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1716007lql; Wed, 13 Mar 2024 06:28:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVaT5aBEkmxcLunDulKz57/FxJuOtTg8v/p5J9C7nm/zQjkt+b4hLwy+5z+E+jIweM/v1xLHz8gqKZTA4ocgS01t9y1K0Zh9wcZDfYtYw== X-Google-Smtp-Source: AGHT+IHCwmkMz/jVqdbMBdDltMq3j4Uql1LLqjl5Z7Fltw6+o1ijBKm+YhxGBX7gv1awZ/65rqTa X-Received: by 2002:a2e:8697:0:b0:2d4:42da:40fe with SMTP id l23-20020a2e8697000000b002d442da40femr4998999lji.17.1710336490771; Wed, 13 Mar 2024 06:28:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710336490; cv=pass; d=google.com; s=arc-20160816; b=X+qZW/0+AL91feIhZRhSx7/CSaB1gBeXfBkwQSNsDiLtdcSrAuvCPgDMDIdROh3Zg4 oe39F01cCHq0FnUntdyxX8wqMpIIsESuxgyz/GewPH33uAaFkjyT6d1GEpdoKcoqTZpm rDFOQ1eihRIHc3IbQ0OiOg2M3pZFBueS3zojLCReA/G2+MWCQ9hg5e31W3nwZabir/SN ZROSOY/FnseOEfyLXMhcC/ECHqUB2R5OBRr2CiMq4cgbU15S+w9jZSqPFFTfWcB/Lhpm gckU8ZK1vnw3FMhw6iIJhpers/0uufjAhIWmAmihwjruvvQSFvX950npQdRsqHWQcl+J hbuw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from; bh=MwxpjJ+WEF0DRnbnHGnGbR5lNJubVZdGADH1kCVON+o=; fh=IR91BQ3BTLGB+0AI4Bc2xTyey5jdWHvJZTUP1W3El1o=; b=jdoVomZuDs4GHKZ88Vl39KdyYwHkbPutG8Xs+9mtwGLwaZPOuqLNJs22vgEJRIR605 M9vPy2sGWdmb+sZrJGwlNpdkvAx8Aqex5bSzmL2HWYfGgDvPW1qzOiWIrrppxC5Bv+OU T3Tenk7/Txa/ZQ/+4Zj56pCsao/npcxu7hdpzsLKRjlEORkS8TRz7LCGqvP8GbYM5Olc 1KHVOec4EZmoUWrwesXPnJwlqxEm+xVfnYwS218aQZLpgYLIV4GMfnk3ryhe0SGbThSg /rj9AZx3FLn8GbyGnFIt8wW0HH9/rnk+x4EcDu4eKR/Y0DZ745b0cYHQY7YQKyaJKv4O ko3g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=ellerman.id.au); spf=pass (google.com: domain of linux-kernel+bounces-101529-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101529-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id x1-20020a05640226c100b00568939f7eeesi30088edd.664.2024.03.13.06.28.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 06:28:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-101529-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=ellerman.id.au); spf=pass (google.com: domain of linux-kernel+bounces-101529-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101529-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7C8DA1F224A8 for ; Wed, 13 Mar 2024 13:28:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DDB2B4642A; Wed, 13 Mar 2024 13:27:54 +0000 (UTC) Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (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 AE682446BA for ; Wed, 13 Mar 2024 13:27:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710336474; cv=none; b=fjjIDbvg91QtTR+kN90m7R6COLCiAxuWa2FAAg2Vi4eQuydoiF0K6pAQwzsoYXedySAaA1uwrhkMHtN7Yh8vB855Y1bFid6TcEXZf+2k3l5+3AE2J1+bIOyqCVe8gRg9bJDYuJ9zxt2GbdHYc5KsDtHsOuDjljrLzokn8wCR3lM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710336474; c=relaxed/simple; bh=eL1XsV0l4zMXTYVeb/MatWCX51BHyDz25GHRHJzUBgA=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=ZDgfqu22NIcz3DLaGXZlFXvBi9mr/mxTEeOC9RnMPNYcFomj/pKyBxVkfKSd1gUv260CwV9zPra/GwBL+Z7acFOXh0GS4ohp8bEaLtY5T0L0GbVoamh3XpxsrDIKQUhlgOIFJXzTxR2IbJcyNtlftBkEh2ZzhGwWw7BXizS7TvM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au; spf=pass smtp.mailfrom=ellerman.id.au; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ellerman.id.au Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Tvrsy5b40z4x1R; Thu, 14 Mar 2024 00:27:50 +1100 (AEDT) From: Michael Ellerman To: Nicholas Piggin , Christophe Leroy Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org In-Reply-To: References: Subject: Re: [PATCH] powerpc: Implement set_memory_rox() Message-Id: <171033598336.517247.4075878005606513732.b4-ty@ellerman.id.au> Date: Thu, 14 Mar 2024 00:19:43 +1100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Fri, 16 Feb 2024 11:12:05 +0100, Christophe Leroy wrote: > Same as x86 and s390, add set_memory_rox() to avoid doing > one pass with set_memory_ro() and a second pass with set_memory_x(). > > See commit 60463628c9e0 ("x86/mm: Implement native set_memory_rox()") > and commit 22e99fa56443 ("s390/mm: implement set_memory_rox()") for > more information. > > [...] Applied to powerpc/next. [1/1] powerpc: Implement set_memory_rox() https://git.kernel.org/powerpc/c/09ca1b11716f96461a4675eb0418d5cb97687389 cheers