diff options
| author | David Woodhouse <[email protected]> | 2025-03-12 14:34:13 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2025-03-14 10:01:53 +0000 |
| commit | b25eb5f5e419b81f124d5ba2abaaacf1948fb97e (patch) | |
| tree | fab184c3c2092dfc7ead67ff54e9b04270babb61 /arch/x86/boot/cpuflags.c | |
| parent | x86/boot: Move the LA57 trampoline to separate source file (diff) | |
| download | kernel-b25eb5f5e419b81f124d5ba2abaaacf1948fb97e.tar.gz kernel-b25eb5f5e419b81f124d5ba2abaaacf1948fb97e.zip | |
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 <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/x86/boot/cpuflags.c')
0 files changed, 0 insertions, 0 deletions
