mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-26 04:16:39 +00:00
crypto: ccp - Add support for TEE for PCI ID 0x14CA
commit 10da230a4d
upstream.
SoCs containing 0x14CA are present both in datacenter parts that
support SEV as well as client parts that support TEE.
Cc: stable@vger.kernel.org # 5.15+
Tested-by: Rijo-john Thomas <Rijo-john.Thomas@amd.com>
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
36fdcf410b
commit
032b7c723f
1 changed files with 10 additions and 1 deletions
|
@ -381,6 +381,15 @@ static const struct psp_vdata pspv3 = {
|
|||
.inten_reg = 0x10690,
|
||||
.intsts_reg = 0x10694,
|
||||
};
|
||||
|
||||
static const struct psp_vdata pspv4 = {
|
||||
.sev = &sevv2,
|
||||
.tee = &teev1,
|
||||
.feature_reg = 0x109fc,
|
||||
.inten_reg = 0x10690,
|
||||
.intsts_reg = 0x10694,
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
static const struct sp_dev_vdata dev_vdata[] = {
|
||||
|
@ -426,7 +435,7 @@ static const struct sp_dev_vdata dev_vdata[] = {
|
|||
{ /* 5 */
|
||||
.bar = 2,
|
||||
#ifdef CONFIG_CRYPTO_DEV_SP_PSP
|
||||
.psp_vdata = &pspv2,
|
||||
.psp_vdata = &pspv4,
|
||||
#endif
|
||||
},
|
||||
{ /* 6 */
|
||||
|
|
Loading…
Reference in a new issue