Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

crypto: ccp - New bit-field definitions for SNP_PLATFORM_STATUS command

Define new bit-field definitions returned by SNP_PLATFORM_STATUS command
such as new capabilities like SNP_FEATURE_INFO command availability,
ciphertext hiding enabled and capability.

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>

authored by

Ashish Kalra and committed by
Herbert Xu
450bbe43 8f5ae30d

+9 -1
+9 -1
include/uapi/linux/psp-sev.h
··· 185 185 * @mask_chip_id: whether chip id is present in attestation reports or not 186 186 * @mask_chip_key: whether attestation reports are signed or not 187 187 * @vlek_en: VLEK (Version Loaded Endorsement Key) hashstick is loaded 188 + * @feature_info: whether SNP_FEATURE_INFO command is available 189 + * @rapl_dis: whether RAPL is disabled 190 + * @ciphertext_hiding_cap: whether platform has ciphertext hiding capability 191 + * @ciphertext_hiding_en: whether ciphertext hiding is enabled 188 192 * @rsvd1: reserved 189 193 * @guest_count: the number of guest currently managed by the firmware 190 194 * @current_tcb_version: current TCB version ··· 204 200 __u32 mask_chip_id:1; /* Out */ 205 201 __u32 mask_chip_key:1; /* Out */ 206 202 __u32 vlek_en:1; /* Out */ 207 - __u32 rsvd1:29; 203 + __u32 feature_info:1; /* Out */ 204 + __u32 rapl_dis:1; /* Out */ 205 + __u32 ciphertext_hiding_cap:1; /* Out */ 206 + __u32 ciphertext_hiding_en:1; /* Out */ 207 + __u32 rsvd1:25; 208 208 __u32 guest_count; /* Out */ 209 209 __u64 current_tcb_version; /* Out */ 210 210 __u64 reported_tcb_version; /* Out */