]> www.infradead.org Git - users/dwmw2/linux.git/commit
x86/kexec: Debugging support: load a GDT
authorDavid Woodhouse <dwmw@amazon.co.uk>
Sun, 3 Nov 2024 01:22:23 +0000 (01:22 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Thu, 5 Dec 2024 15:05:08 +0000 (15:05 +0000)
commit6eb98014d155cc25296652da2016b7ebc1138750
tree5e76f84e0942da217474c5d1e049d5c123b8d277
parent71ab65a0e5bfc01f502bbbb2e3a253c20c2aa461
x86/kexec: 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>
arch/x86/kernel/relocate_kernel_64.S