Re: [PATCH v5 31/75] x86/head/64: Load GDT after switch to virtual addresses

From: Kees Cook
Date: Fri Jul 24 2020 - 13:40:32 EST


On Fri, Jul 24, 2020 at 06:02:52PM +0200, Joerg Roedel wrote:
> From: Joerg Roedel <jroedel@xxxxxxx>
>
> Load the GDT right after switching to virtual addresses to make sure
> there is a defined GDT for exception handling.
>
> Signed-off-by: Joerg Roedel <jroedel@xxxxxxx>

Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook