Re: [PATCH v9 10/19] x86: Secure Launch SMP bringup support

From: Jarkko Sakkinen
Date: Tue Jun 04 2024 - 18:46:59 EST


On Wed Jun 5, 2024 at 12:47 AM EEST, wrote:
> > static inline bool slaunch_is_txt_launch(void)
> > {
> > u32 mask = SL_FLAG_ACTIVE | SL_FLAG_ARCH_TXT;
> >
> > return slaunch_get_flags() & mask == mask;
> > }
>
> Actually I think I can take your suggested change and move this function
> to the main header files since this check is done elsewhere. And later I
> can make others like slaunch_is_skinit_launch(). Thanks.

Yep, makes sense to me.

BR, Jarkko