]> www.infradead.org Git - users/dwmw2/linux.git/commit
selftests/kexec: Add x86_64 selftest for kexec-jump and exception handling kexec-debug kexec-debug-9
authorDavid Woodhouse <dwmw@amazon.co.uk>
Sun, 3 Nov 2024 01:25:13 +0000 (01:25 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Wed, 26 Mar 2025 14:15:04 +0000 (14:15 +0000)
commitc66dab4819aaa5af2261d60893d91e03d9a5b04f
treecb7e2d40993665958043a31af1cda8042ef55e64
parent98637c78753a7e3891b26541ce50faabaabff13d
selftests/kexec: Add x86_64 selftest for kexec-jump and exception handling

Add a self test which exercises both the kexec-jump facility, and the
kexec exception handling.

Invoke a trivial payload which just does an int3 and returns,
flip-flopping its entry point for the next invocation between two
implementations of the same thing.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
tools/testing/selftests/kexec/Makefile
tools/testing/selftests/kexec/test_kexec_jump.c [new file with mode: 0644]
tools/testing/selftests/kexec/test_kexec_jump.sh [new file with mode: 0755]