[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPhsuW5jhwxcd01XBwLJxsP46a+P2sPLcZwtxAX3h7U1=JV_tA@mail.gmail.com>
Date: Mon, 16 Jun 2025 15:35:14 -0700
From: Song Liu <song@...nel.org>
To: Will Deacon <will@...nel.org>
Cc: Dylan Hatch <dylanbhatch@...gle.com>, Catalin Marinas <catalin.marinas@....com>,
Ard Biesheuvel <ardb@...nel.org>, Sami Tolvanen <samitolvanen@...gle.com>,
Geert Uytterhoeven <geert@...ux-m68k.org>, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, Roman Gushchin <roman.gushchin@...ux.dev>,
Toshiyuki Sato <fj6611ie@...jp.fujitsu.com>
Subject: Re: [PATCH v7] arm64/module: Use text-poke API for late relocations.
Hi Will and Catalin,
What's our plan with this set and [1]? Once we land these two sets, I
will respin [2] which enables livepatch for arm64. We (Meta) are hoping
to land these in linux-next soon, and back port them to our kernels.
Thanks,
Song
[1] https://lore.kernel.org/linux-arm-kernel/20250521111000.2237470-1-mark.rutland@arm.com/
[2] https://lore.kernel.org/linux-arm-kernel/20250320171559.3423224-3-song@kernel.org/
On Thu, Jun 12, 2025 at 8:19 AM Will Deacon <will@...nel.org> wrote:
>
> On Tue, Jun 03, 2025 at 10:34:17PM +0000, Dylan Hatch wrote:
> > To enable late module patching, livepatch modules need to be able to
> > apply some of their relocations well after being loaded. In this
> > scenario however, the livepatch module text and data is already RX-only,
> > so special treatment is needed to make the late relocations possible. To
> > do this, use the text-poking API for these late relocations.
> >
> > This patch is partially based off commit 88fc078a7a8f6 ("x86/module: Use
> > text_poke() for late relocations").
> >
> > Signed-off-by: Dylan Hatch <dylanbhatch@...gle.com>
> > Acked-by: Song Liu <song@...nel.org>
> > ---
> > arch/arm64/kernel/module.c | 101 +++++++++++++++++++++----------------
> > 1 file changed, 57 insertions(+), 44 deletions(-)
>
> Thanks for sticking with this, Dylan:
>
> Acked-by: Will Deacon <will@...nel.org>
>
> Catalin, I assume you'll pick this up for 6.17.
Powered by blists - more mailing lists