]> 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)
commiteb81638695473fdf572cd4e0db7d0eafbdbea33c
tree1f57e351bd69bde66fe4ec3a61c522f09b6a59d8
parent2d1c02261d178b139976879a88d4722c508222f6
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