Re: [PATCH v4 2/4] x86/sev: add sev_es_enabled() function.

From: Borislav Petkov
Date: Tue Apr 09 2024 - 17:22:41 EST


On Tue, Apr 09, 2024 at 08:42:38PM +0000, Ashish Kalra wrote:
> From: Ashish Kalra <ashish.kalra@xxxxxxx>
>
> Add sev_es_enabled() function to detect if SEV-ES
> support is enabled.

And use it exactly once?

Nah, use sev_status directly.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette