[PATCH 2/2] arm64: Implement HAVE_LIVEPATCH

Breno Leitao leitao at debian.org
Thu Mar 13 11:09:01 PDT 2025


On Fri, Mar 07, 2025 at 05:27:42PM -0800, Song Liu wrote:
> This is largely based on [1] by Suraj Jitindar Singh.
> 
> Test coverage:
> 
> - Passed manual tests with samples/livepatch.
> - Passed all but test-kprobe.sh in selftests/livepatch.
>   test-kprobe.sh is expected to fail, because arm64 doesn't have
>   KPROBES_ON_FTRACE.
> - Passed tests with kpatch-build [2]. (This version includes commits that
>   are not merged to upstream kpatch yet).
> 
> [1] https://lore.kernel.org/all/20210604235930.603-1-surajjs@amazon.com/
> [2] https://github.com/liu-song-6/kpatch/tree/fb-6.13
> Cc: Suraj Jitindar Singh <surajjs at amazon.com>
> Cc: Torsten Duwe <duwe at suse.de>
> Signed-off-by: Song Liu <song at kernel.org>

Tested-by: Breno Leitao <leitao at debian.org>

PS: I've tested this patchset with the examples from samples/ on a arm64
host, and they worked as expected.

Thanks
--breno



More information about the linux-arm-kernel mailing list