Re: [PATCH v4 27/75] x86/idt: Move IDT to data segment

2020-07-14 Thread Kees Cook
On Tue, Jul 14, 2020 at 02:08:29PM +0200, Joerg Roedel wrote: > From: Joerg Roedel > > With SEV-ES, exception handling is needed very early, even before the > kernel has cleared the bss segment. In order to prevent clearing the > currently used IDT, move the IDT to the data segment. > > Signed-o

[PATCH v4 27/75] x86/idt: Move IDT to data segment

2020-07-14 Thread Joerg Roedel
From: Joerg Roedel With SEV-ES, exception handling is needed very early, even before the kernel has cleared the bss segment. In order to prevent clearing the currently used IDT, move the IDT to the data segment. Signed-off-by: Joerg Roedel --- arch/x86/kernel/idt.c | 2 +- 1 file changed, 1 in