crypto: ccp - Export PSP security bits to userspace
authorMario Limonciello <mario.limonciello@amd.com>
Thu, 31 Mar 2022 21:12:11 +0000 (16:12 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 8 Apr 2022 08:26:43 +0000 (16:26 +0800)
commit50c4decc1b15313afa31f9a99da0904fa9c9b071
tree1f57e351bd69bde66fe4ec3a61c522f09b6a59d8
parentcac32cd4f1436b0f926a9112039d3f7ce1cd6cab
crypto: ccp - Export PSP security bits to userspace

The PSP sets several pre-defined bits in the capabilities
register to indicate that security attributes of the platform.

Export these attributes into userspace for administrators to
confirm platform is properly locked down.

Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Documentation/ABI/testing/sysfs-driver-ccp [new file with mode: 0644]
drivers/crypto/ccp/psp-dev.h
drivers/crypto/ccp/sp-pci.c