Re: [PATCH v4 2/4] crypto: ccp - Add an API to return the supported SEV-SNP policy bits

From: Herbert Xu

Date: Fri Nov 14 2025 - 05:10:28 EST


On Mon, Oct 27, 2025 at 02:33:50PM -0500, Tom Lendacky wrote:
> Supported policy bits are dependent on the level of SEV firmware that is
> currently running. Create an API to return the supported policy bits for
> the current level of firmware.
>
> Signed-off-by: Tom Lendacky <thomas.lendacky@xxxxxxx>
> ---
> drivers/crypto/ccp/sev-dev.c | 37 ++++++++++++++++++++++++++++++++++++
> include/linux/psp-sev.h | 20 +++++++++++++++++++
> 2 files changed, 57 insertions(+)

Acked-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>

Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt