Re: [PATCH 3/3] x86: Support booting under Secure Startup via SKINIT

2021-01-29 Thread Jan Beulich
On 28.01.2021 21:26, Andrew Cooper wrote: > On 20/01/2021 09:19, Jan Beulich wrote: >> On 16.01.2021 00:10, Andrew Cooper wrote: >>> --- a/xen/arch/x86/cpu/common.c >>> +++ b/xen/arch/x86/cpu/common.c >>> @@ -834,6 +834,29 @@ void load_system_tables(void) >>> BUG_ON(system_state != SYS_STATE_ea

Re: [PATCH 3/3] x86: Support booting under Secure Startup via SKINIT

2021-01-28 Thread Andrew Cooper
On 20/01/2021 09:19, Jan Beulich wrote: > On 16.01.2021 00:10, Andrew Cooper wrote: >> --- a/xen/arch/x86/cpu/common.c >> +++ b/xen/arch/x86/cpu/common.c >> @@ -834,6 +834,29 @@ void load_system_tables(void) >> BUG_ON(system_state != SYS_STATE_early_boot && (stack_bottom & 0xf)); >> } >> >>

Re: [PATCH 3/3] x86: Support booting under Secure Startup via SKINIT

2021-01-26 Thread Roger Pau Monné
On Tue, Jan 19, 2021 at 05:23:25PM +, Andrew Cooper wrote: > On 19/01/2021 15:48, Roger Pau Monné wrote: > > On Fri, Jan 15, 2021 at 11:10:46PM +, Andrew Cooper wrote: > >> From: Norbert Kamiński > >> > >> For now, this is simply enough logic to let Xen come up after the > >> bootloader >

Re: [PATCH 3/3] x86: Support booting under Secure Startup via SKINIT

2021-01-20 Thread Jan Beulich
On 16.01.2021 00:10, Andrew Cooper wrote: > --- a/xen/arch/x86/cpu/common.c > +++ b/xen/arch/x86/cpu/common.c > @@ -834,6 +834,29 @@ void load_system_tables(void) > BUG_ON(system_state != SYS_STATE_early_boot && (stack_bottom & 0xf)); > } > > +static void skinit_enable_intr(void) > +{ > +

Re: [PATCH 3/3] x86: Support booting under Secure Startup via SKINIT

2021-01-19 Thread Andrew Cooper
On 19/01/2021 15:48, Roger Pau Monné wrote: > On Fri, Jan 15, 2021 at 11:10:46PM +, Andrew Cooper wrote: >> From: Norbert Kamiński >> >> For now, this is simply enough logic to let Xen come up after the bootloader >> has executed an SKINIT instruction to begin a Secure Startup. > Since I know

Re: [PATCH 3/3] x86: Support booting under Secure Startup via SKINIT

2021-01-19 Thread Roger Pau Monné
On Fri, Jan 15, 2021 at 11:10:46PM +, Andrew Cooper wrote: > From: Norbert Kamiński > > For now, this is simply enough logic to let Xen come up after the bootloader > has executed an SKINIT instruction to begin a Secure Startup. Since I know very little about this, I might as well ask. Readi

[PATCH 3/3] x86: Support booting under Secure Startup via SKINIT

2021-01-15 Thread Andrew Cooper
From: Norbert Kamiński For now, this is simply enough logic to let Xen come up after the bootloader has executed an SKINIT instruction to begin a Secure Startup. During a Secure Startup, the BSP operates with the GIF clear (blocks all external interrupts, even SMI/NMI), and INIT_REDIRECTION acti