From: Mario Limonciello <superm1@kernel.org>
To: mario.limonciello@amd.com, thomas.lendacky@amd.com,
john.allen@amd.com, Herbert Xu <herbert@gondor.apana.org.au>,
davem@davemloft.net
Cc: linux-crypto@vger.kernel.org
Subject: [PATCH 2/2] crypto: ccp - Add missing tee info reg for teev2
Date: Sat, 17 May 2025 15:26:30 -0500 [thread overview]
Message-ID: <20250517202657.2044530-3-superm1@kernel.org> (raw)
In-Reply-To: <20250517202657.2044530-1-superm1@kernel.org>
From: Mario Limonciello <mario.limonciello@amd.com>
The tee info reg for teev2 is the same as teev1.
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
---
drivers/crypto/ccp/sp-pci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/crypto/ccp/sp-pci.c b/drivers/crypto/ccp/sp-pci.c
index e8d2bb646f3f4..fa5283b05323c 100644
--- a/drivers/crypto/ccp/sp-pci.c
+++ b/drivers/crypto/ccp/sp-pci.c
@@ -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 = {
--
2.43.0
next prev parent reply other threads:[~2025-05-17 20:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-17 20:26 [PATCH 0/2] Add some missing info registers Mario Limonciello
2025-05-17 20:26 ` [PATCH 1/2] crypto: ccp - Add missing bootloader info reg for pspv5 Mario Limonciello
2025-05-17 20:26 ` Mario Limonciello [this message]
2025-05-19 6:03 ` [PATCH 0/2] Add some missing info registers Herbert Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250517202657.2044530-3-superm1@kernel.org \
--to=superm1@kernel.org \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=john.allen@amd.com \
--cc=linux-crypto@vger.kernel.org \
--cc=mario.limonciello@amd.com \
--cc=thomas.lendacky@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox