[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250412010940.1686376-1-dylanbhatch@google.com>
Date: Sat, 12 Apr 2025 01:09:37 +0000
From: Dylan Hatch <dylanbhatch@...gle.com>
To: Daniel Borkmann <daniel@...earbox.net>, Andrii Nakryiko <andrii@...nel.org>,
Martin KaFai Lau <martin.lau@...ux.dev>, Eduard Zingerman <eddyz87@...il.com>,
Yonghong Song <yonghong.song@...ux.dev>, John Fastabend <john.fastabend@...il.com>,
KP Singh <kpsingh@...nel.org>, Stanislav Fomichev <sdf@...ichev.me>, Hao Luo <haoluo@...gle.com>,
Jiri Olsa <jolsa@...nel.org>, Puranjay Mohan <puranjay@...nel.org>,
Xu Kuohai <xukuohai@...weicloud.com>,
"Philippe Mathieu-Daudé" <philmd@...aro.org>, Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>, "Mike Rapoport (Microsoft)" <rppt@...nel.org>, Arnd Bergmann <arnd@...db.de>,
Geert Uytterhoeven <geert@...ux-m68k.org>, Luis Chamberlain <mcgrof@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>, Song Liu <song@...nel.org>,
Ard Biesheuvel <ardb@...nel.org>, Mark Rutland <mark.rutland@....com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Dylan Hatch <dylanbhatch@...gle.com>, Roman Gushchin <roman.gushchin@...ux.dev>
Subject: [PATCH v2 0/2] arm64/module: Enable late module relocations.
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
suuport on arm64.
Dylan Hatch (2):
arm64: patching: Rename aarch64_insn_copy to text_poke.
arm64/module: Use text-poke API for late relocations.
arch/arm64/include/asm/text-patching.h | 2 +-
arch/arm64/kernel/module.c | 129 ++++++++++++++++---------
arch/arm64/kernel/patching.c | 12 +--
arch/arm64/net/bpf_jit_comp.c | 2 +-
4 files changed, 91 insertions(+), 54 deletions(-)
--
2.49.0.604.gff1f9ca942-goog
Powered by blists - more mailing lists