RE: [PATCH 2/3] x86/boot: Don't enable EFER.SCE for !CONFIG_PV builds

2020-04-22 Thread Tian, Kevin
> From: Andrew Cooper > Sent: Monday, April 20, 2020 10:59 PM > > This will cause all SYSCALL/SYSRET instructions to suffer #UD rather than > following the MSR_{L,C}STAR pointers, allowing us to drop the star_enter() > panic helper, allowing us to clean up the IST stacks in a subsequent patch. >

Re: [PATCH 2/3] x86/boot: Don't enable EFER.SCE for !CONFIG_PV builds

2020-04-21 Thread Jan Beulich
On 20.04.2020 16:59, Andrew Cooper wrote: > --- a/xen/arch/x86/efi/efi-boot.h > +++ b/xen/arch/x86/efi/efi-boot.h > @@ -238,7 +238,8 @@ static void __init noreturn efi_arch_post_exit_boot(void) > /* Set system registers and transfer control. */ > asm volatile("pushq $0\n\tpopfq"); >