]> Gentwo Git Trees - linux/.git/commit
x86/sev: Take advantage of configfs visibility support in TSM
authorTom Lendacky <thomas.lendacky@amd.com>
Wed, 5 Jun 2024 15:18:54 +0000 (10:18 -0500)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 17 Jun 2024 18:42:57 +0000 (20:42 +0200)
commit20dfee95936413708701eb151f419597fdd9d948
tree2b20dd064c0a676d448da9224211b4a6938bff70
parent0e6a35b93745bb2d8b921fd0520ef730489d41a2
x86/sev: Take advantage of configfs visibility support in TSM

The TSM attestation report support provides multiple configfs attribute
types (both for standard and binary attributes) to allow for additional
attributes to be displayed for SNP as compared to TDX. With the ability
to hide attributes via configfs, consolidate the multiple attribute groups
into a single standard attribute group and a single binary attribute
group. Modify the TDX support to hide the attributes that were previously
"hidden" as a result of registering the selective attribute groups.

Co-developed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Link: https://lore.kernel.org/r/8873c45d0c8abc35aaf01d7833a55788a6905727.1717600736.git.thomas.lendacky@amd.com
drivers/virt/coco/sev-guest/sev-guest.c
drivers/virt/coco/tdx-guest/tdx-guest.c
drivers/virt/coco/tsm.c
include/linux/tsm.h