diff options
author | Ashish Kalra <ashish.kalra@amd.com> | 2025-07-21 14:13:10 +0000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-08-16 17:20:23 +0800 |
commit | 33cfb80d1910b41d1a25cef89b159c945aff0f24 (patch) | |
tree | 362055037887c50dfd425e409181cd2a1d740263 /drivers/infiniband/hw/ionic/ionic_datapath.c | |
parent | 459daec42ea0cf5e276dfb82e90ed91e2db45d9e (diff) |
crypto: ccp - Add support for SNP_FEATURE_INFO command
The FEATURE_INFO command provides hypervisors with a programmatic means
to learn about the supported features of the currently loaded firmware.
This command mimics the CPUID instruction relative to sub-leaf input and
the four unsigned integer output values. To obtain information
regarding the features present in the currently loaded SEV firmware,
use the SNP_FEATURE_INFO command.
Cache the SNP platform status and feature information from CPUID
0x8000_0024 in the sev_device structure. If SNP is enabled, utilize
this cached SNP platform status for the API major, minor and build
version.
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Ashish Kalra <ashish.kalra@amd.com>
Reviewed-by: Kim Phillips <kim.phillips@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/infiniband/hw/ionic/ionic_datapath.c')
0 files changed, 0 insertions, 0 deletions