]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
crypto: ccp - Add missing tee info reg for teev2
authorMario Limonciello <mario.limonciello@amd.com>
Sat, 17 May 2025 20:26:30 +0000 (15:26 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 19 May 2025 05:48:49 +0000 (13:48 +0800)
The tee info reg for teev2 is the same as teev1.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/sp-pci.c

index ee996d0ae4436d675f1d006477cbf4aa9e073e99..e1be2072d680e0d5e0d824e5dce89ee3387bf120 100644 (file)
@@ -375,6 +375,7 @@ static const struct tee_vdata teev1 = {
 static const struct tee_vdata teev2 = {
        .ring_wptr_reg          = 0x10950,      /* C2PMSG_20 */
        .ring_rptr_reg          = 0x10954,      /* C2PMSG_21 */
+       .info_reg               = 0x109e8,      /* C2PMSG_58 */
 };
 
 static const struct platform_access_vdata pa_v1 = {