]> git.ipfire.org Git - thirdparty/linux.git/commit
crypto: ccp - Add an API to return the supported SEV-SNP policy bits
authorTom Lendacky <thomas.lendacky@amd.com>
Mon, 27 Oct 2025 19:33:50 +0000 (14:33 -0500)
committerSean Christopherson <seanjc@google.com>
Fri, 14 Nov 2025 18:30:10 +0000 (10:30 -0800)
commitc9434e64e8b4d17511f514f7495008f573595e3e
treeff7207b9f62317bcff47f130d0b680ceb353c5dc
parentce62118a2e4838bcef1050fff55001a0bf87f0cb
crypto: ccp - Add an API to return the supported SEV-SNP policy bits

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@amd.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Link: https://patch.msgid.link/e3f711366ddc22e3dd215c987fd2e28dc1c07f54.1761593632.git.thomas.lendacky@amd.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
drivers/crypto/ccp/sev-dev.c
include/linux/psp-sev.h