[GIT PULL] livepatching for 7.1

From: Petr Mladek

Date: Thu Apr 16 2026 - 05:17:48 EST


Hi Linus,

please pull the latest livepatching changes from

git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching.git tags/livepatching-for-7.1

======================================

- Add two new selftests.

----------------------------------------------------------------
Marcos Paulo de Souza (1):
selftests: livepatch: test-ftrace: livepatch a traced function

Pablo Alessandro Santos Hugen (1):
selftests/livepatch: add test for module function patching

Petr Mladek (1):
Merge branch 'for-7.1/module-function-test' into for-linus

tools/testing/selftests/livepatch/test-ftrace.sh | 36 ++++++++
.../testing/selftests/livepatch/test-livepatch.sh | 100 +++++++++++++++++++++
.../selftests/livepatch/test_modules/Makefile | 2 +
.../livepatch/test_modules/test_klp_mod_patch.c | 53 +++++++++++
.../livepatch/test_modules/test_klp_mod_target.c | 39 ++++++++
5 files changed, 230 insertions(+)
create mode 100644 tools/testing/selftests/livepatch/test_modules/test_klp_mod_patch.c
create mode 100644 tools/testing/selftests/livepatch/test_modules/test_klp_mod_target.c