From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 3352D2571B8 for ; Wed, 4 Mar 2026 16:59:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772643556; cv=none; b=HuZa5mEIbX0getZRgBVgqKlq73Zxt6+Enk13AtK9SsvPSqhAiGaZSlifB05U3TpVgDHOLfad4hvzULlRW06CnEpg5aJEclCRqJhHOmjrTJ0msf5DbRQOtblIfyOggYAGr3Gft+LOOkc+2q5XmIugjWUk0iuIhl7sQbVMN4jzXTM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772643556; c=relaxed/simple; bh=jU1wcFlg+DOecT19yahAaCHVps8ABfwGiVyQD0SnPcI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=F9Q0w4EQutV6ZIUvY8HkvsgEln03vZPgNzha0j8SfEu3fw3TtdvnZVTiyEiKVKAI4/LHaUSj7hpS3OufQyuvE69QVIExBYQAhms3LIYr8D8nI5+xfPLaweFsKf8AsvWo7RgK6+LJMolas5i9lP8ZoJdxG+CS/ONAiofuBRcbfO8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FW747/2W; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FW747/2W" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 807B6C19425; Wed, 4 Mar 2026 16:59:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772643555; bh=jU1wcFlg+DOecT19yahAaCHVps8ABfwGiVyQD0SnPcI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FW747/2WpoYzf7iQeFhfOHXGbzn+OnI9LESNKDpYJk6GyCzz66sWVbex8Ly1ny4pI L/6xJSsU0iueVTE/acobNW9nAkoJTZOeJWQp3g2RvHJAuJLAaL7GuuMHMdig+b6vzT ZpOr335az96jR1PqZBROVHUtb8sErhXqQ/woFxTaUpcg192ZBngkARLl611jdJ8qJk b/TSeHCCdPW8HP9J0idrRU3k4XF+M+ZQs/6o29wZ5AMmq+zaQjfnLPt0THpRjlwnct +cOGPyMrqbn8Y4KBY3YnxbZCt2yAmnmdKlyKKIX/gkNHGk3kFeAR2fZG/dT17HoAKw elEj9xS0OYg2w== From: Will Deacon To: Catalin Marinas , Jisheng Zhang Cc: kernel-team@android.com, Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: make runtime const not usable by modules Date: Wed, 4 Mar 2026 16:59:04 +0000 Message-ID: <177264083900.91802.1103243488475941960.b4-ty@kernel.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260221023847.3506-1-jszhang@kernel.org> References: <20260221023847.3506-1-jszhang@kernel.org> 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: 8bit On Sat, 21 Feb 2026 10:38:47 +0800, Jisheng Zhang wrote: > Similar as commit 284922f4c563 ("x86: uaccess: don't use runtime-const > rewriting in modules") does, make arm64's runtime const not usable by > modules too, to "make sure this doesn't get forgotten the next time > somebody wants to do runtime constant optimizations". The reason is > well explained in the above commit: "The runtime-const infrastructure > was never designed to handle the modular case, because the constant > fixup is only done at boot time for core kernel code." > > [...] Applied to arm64 (for-next/fixes), thanks! [1/1] arm64: make runtime const not usable by modules https://git.kernel.org/arm64/c/0100e495cdf0 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev