x86/boot/compressed: Simplify IDT/GDT preserve/restore in the EFI thunk
authorArd Biesheuvel <ardb@kernel.org>
Tue, 22 Nov 2022 16:10:08 +0000 (17:10 +0100)
committerBorislav Petkov <bp@suse.de>
Thu, 24 Nov 2022 07:57:41 +0000 (08:57 +0100)
commit630f337f0c4fd80390e8600adcab31550aea33df
tree572192c3e0e52f7a8a7f2ee98358f6fcc34d08cc
parent4b52016247aeaa55ca3e3bc2e03cd91114c145c2
x86/boot/compressed: Simplify IDT/GDT preserve/restore in the EFI thunk

Tweak the asm and remove some redundant instructions. While at it,
fix the associated comment for style and correctness.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20221122161017.2426828-9-ardb@kernel.org
arch/x86/boot/compressed/efi_mixed.S