From: Dylan Hatch <dylanbhatch@google.com>
To: Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>,
Dave Hansen <dave.hansen@linux.intel.com>,
x86@kernel.org, "H. Peter Anvin" <hpa@zytor.com>,
Josh Poimboeuf <jpoimboe@kernel.org>,
Jiri Kosina <jikos@kernel.org>, Miroslav Benes <mbenes@suse.cz>,
Petr Mladek <pmladek@suse.com>,
Joe Lawrence <joe.lawrence@redhat.com>
Cc: Dylan Hatch <dylanbhatch@google.com>, Song Liu <song@kernel.org>,
Ard Biesheuvel <ardb@kernel.org>,
Sami Tolvanen <samitolvanen@google.com>,
Peter Zijlstra <peterz@infradead.org>,
"Mike Rapoport (Microsoft)" <rppt@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Dan Carpenter <dan.carpenter@linaro.org>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, live-patching@vger.kernel.org,
Roman Gushchin <roman.gushchin@linux.dev>,
Toshiyuki Sato <fj6611ie@aa.jp.fujitsu.com>
Subject: [PATCH v4 0/2] livepatch, arm64/module: Enable late module relocations.
Date: Thu, 22 May 2025 20:52:03 +0000 [thread overview]
Message-ID: <20250522205205.3408764-1-dylanbhatch@google.com> (raw)
Late relocations (after the module is initially loaded) are needed when
livepatches change module code. This is supported by x86, ppc, and s390.
This series borrows the x86 methodology to reach the same level of
support on arm64, and moves the text-poke locking into the core livepatch
code to reduce redundancy.
Dylan Hatch (2):
livepatch, x86/module: Generalize late module relocation locking.
arm64/module: Use text-poke API for late relocations.
arch/arm64/kernel/module.c | 113 ++++++++++++++++++++++---------------
arch/x86/kernel/module.c | 8 +--
kernel/livepatch/core.c | 18 ++++--
3 files changed, 84 insertions(+), 55 deletions(-)
--
2.49.0.1151.ga128411c76-goog
next reply other threads:[~2025-05-22 20:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-22 20:52 Dylan Hatch [this message]
2025-05-22 20:52 ` [PATCH v4 1/2] livepatch, x86/module: Generalize late module relocation locking Dylan Hatch
2025-05-27 14:46 ` Petr Mladek
2025-05-29 0:47 ` Dylan Hatch
2025-05-22 20:52 ` [PATCH v4 2/2] arm64/module: Use text-poke API for late relocations Dylan Hatch
2025-05-23 5:55 ` [PATCH v4 0/2] livepatch, arm64/module: Enable late module relocations Toshiyuki Sato (Fujitsu)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250522205205.3408764-1-dylanbhatch@google.com \
--to=dylanbhatch@google.com \
--cc=akpm@linux-foundation.org \
--cc=ardb@kernel.org \
--cc=bp@alien8.de \
--cc=catalin.marinas@arm.com \
--cc=dan.carpenter@linaro.org \
--cc=dave.hansen@linux.intel.com \
--cc=fj6611ie@aa.jp.fujitsu.com \
--cc=hpa@zytor.com \
--cc=jikos@kernel.org \
--cc=joe.lawrence@redhat.com \
--cc=jpoimboe@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=live-patching@vger.kernel.org \
--cc=mbenes@suse.cz \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=pmladek@suse.com \
--cc=roman.gushchin@linux.dev \
--cc=rppt@kernel.org \
--cc=samitolvanen@google.com \
--cc=song@kernel.org \
--cc=tglx@linutronix.de \
--cc=will@kernel.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).