]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: ccp - Allow PSP driver to load without SEV/TEE support
authorMario Limonciello <mario.limonciello@amd.com>
Thu, 31 Mar 2022 21:12:12 +0000 (16:12 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 8 Apr 2022 08:26:43 +0000 (16:26 +0800)
commit9ec4aa5ddf5082071a462efb803cc1620a981664
tree0a0e28a025e6d810b9fd483e5e40491ee720ed8c
parentf60def29ad95906f6704f43dadf5425f6d09c5a4
crypto: ccp - Allow PSP driver to load without SEV/TEE support

Previously the PSP probe routine would fail if both SEV and TEE were
missing.  This is possibly the case for some client parts.

As capabilities can now be accessed from userspace, it may still be
useful to have the PSP driver finish loading so that those capabilities
can be read.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/psp-dev.c