x86/boot/compressed/64: Cleanup exception handling before booting kernel
authorJoerg Roedel <jroedel@suse.de>
Wed, 10 Mar 2021 08:43:19 +0000 (09:43 +0100)
committerBorislav Petkov <bp@suse.de>
Thu, 18 Mar 2021 15:44:36 +0000 (16:44 +0100)
commitb099155e2df7dadf8b1ad9828158b89f5639f654
treefcacfa3bded6ffcd9839e2c8690e20f59d973db1
parentafb4a37778491eae010a43edebea32ff2d45f01c
x86/boot/compressed/64: Cleanup exception handling before booting kernel

Disable the exception handling before booting the kernel to make sure
any exceptions that happen during early kernel boot are not directed to
the pre-decompression code.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20210312123824.306-2-joro@8bytes.org
arch/x86/boot/compressed/idt_64.c
arch/x86/boot/compressed/misc.c
arch/x86/boot/compressed/misc.h