]> 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)
commitbd4846dc18f5504a9aed0da51f0e3817a0da0e2c
tree0a0e28a025e6d810b9fd483e5e40491ee720ed8c
parenteb81638695473fdf572cd4e0db7d0eafbdbea33c
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