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)
commit84ee393b1e82628ac7f183d8a68d8ac2cf0ed876
tree0a0e28a025e6d810b9fd483e5e40491ee720ed8c
parent50c4decc1b15313afa31f9a99da0904fa9c9b071
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