Hi Dylan, > 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
Thanks for posting the new patch. I ran kpatch's integration tests and no issues were detected. The livepatch patches [1][2] (Manually adjusting arch/arm64/Kconfig) have been applied to the kernel (6.15-rc7). The kpatch uses the same one as the previous test [3][4]. [1] https://lore.kernel.org/all/20250521111000.2237470-1-mark.rutl...@arm.com/ [2] https://lore.kernel.org/all/20250320171559.3423224-3-s...@kernel.org/ [3] https://lore.kernel.org/all/ty4pr01mb1377739f1cc08549a619c8635d7...@ty4pr01mb13777.jpnprd01.prod.outlook.com/ [4] https://github.com/dynup/kpatch/pull/1439 Tested-by: Toshiyuki Sato <fj661...@aa.jp.fujitsu.com> Regards, Toshiyuki Sato