2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/tools/testing/selftests/kexec
David Woodhouse 7615b94b63 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>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20250326142404.256980-5-dwmw2@infradead.org
2025-04-10 12:17:14 +02:00
..
config selftests/kexec: Add missing '=y' to config options 2019-04-17 15:32:29 -06:00
kexec_common_lib.sh selftests/kexec: remove broken EFI_VARS secure boot fallback check 2022-06-24 10:19:22 +02:00
Makefile selftests/kexec: Add x86_64 selftest for kexec-jump and exception handling 2025-04-10 12:17:14 +02:00
test_kexec_file_load.sh selftests/kexec: Enable secureboot tests for PowerPC 2022-01-05 11:44:57 -05:00
test_kexec_jump.c selftests/kexec: Add x86_64 selftest for kexec-jump and exception handling 2025-04-10 12:17:14 +02:00
test_kexec_jump.sh selftests/kexec: Add x86_64 selftest for kexec-jump and exception handling 2025-04-10 12:17:14 +02:00
test_kexec_load.sh selftests/kexec: make kexec_load test independent of IMA being enabled 2019-04-17 15:32:40 -06:00