]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf60def29ad95906f6704f43dadf5425f6d09c5a4
tree1f57e351bd69bde66fe4ec3a61c522f09b6a59d8
parent4665cdd49d5beb2a3776a6b2d14631165ff2961e
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