diff options
author | David Woodhouse <dwmw@amazon.co.uk> | 2025-03-12 17:34:13 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-03-14 13:01:53 +0300 |
commit | b25eb5f5e419b81f124d5ba2abaaacf1948fb97e (patch) | |
tree | fab184c3c2092dfc7ead67ff54e9b04270babb61 /tools/testing/selftests/bpf/prog_tests/access_variable_array.c | |
parent | e27dffba1b1d6c047b48c325adcb1342d3e3fa69 (diff) | |
download | linux-b25eb5f5e419b81f124d5ba2abaaacf1948fb97e.tar.xz |
x86/kexec: Add relocate_kernel() debugging support: Load a GDT
There are some failure modes which lead to triple-faults in the
relocate_kernel() function, which is fairly much undebuggable
for normal mortals.
Adding a GDT in the relocate_kernel() environment is step 1 towards
being able to catch faults and do something more useful.
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20250312144257.2348250-2-dwmw2@infradead.org
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/access_variable_array.c')
0 files changed, 0 insertions, 0 deletions