* [PATCH 0/2] Add some missing info registers
@ 2025-05-17 20:26 Mario Limonciello
2025-05-17 20:26 ` [PATCH 1/2] crypto: ccp - Add missing bootloader info reg for pspv5 Mario Limonciello
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Mario Limonciello @ 2025-05-17 20:26 UTC (permalink / raw)
To: mario.limonciello, davem, Herbert Xu, john.allen, thomas.lendacky
Cc: linux-crypto
From: Mario Limonciello <mario.limonciello@amd.com>
pspv5 and teev2 are missing the registers for version
information.
Mario Limonciello (2):
crypto: ccp - Add missing bootloader info reg for pspv5
crypto: ccp - Add missing tee info reg for teev2
drivers/crypto/ccp/sp-pci.c | 2 ++
1 file changed, 2 insertions(+)
--
2.43.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] crypto: ccp - Add missing bootloader info reg for pspv5
2025-05-17 20:26 [PATCH 0/2] Add some missing info registers Mario Limonciello
@ 2025-05-17 20:26 ` Mario Limonciello
2025-05-17 20:26 ` [PATCH 2/2] crypto: ccp - Add missing tee info reg for teev2 Mario Limonciello
2025-05-19 6:03 ` [PATCH 0/2] Add some missing info registers Herbert Xu
2 siblings, 0 replies; 4+ messages in thread
From: Mario Limonciello @ 2025-05-17 20:26 UTC (permalink / raw)
To: mario.limonciello, thomas.lendacky, john.allen, Herbert Xu, davem
Cc: linux-crypto
From: Mario Limonciello <mario.limonciello@amd.com>
The bootloader info reg for pspv5 is the same as pspv4.
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 2ebc878da1609..e8d2bb646f3f4 100644
--- a/drivers/crypto/ccp/sp-pci.c
+++ b/drivers/crypto/ccp/sp-pci.c
@@ -440,6 +440,7 @@ static const struct psp_vdata pspv5 = {
.cmdresp_reg = 0x10944, /* C2PMSG_17 */
.cmdbuff_addr_lo_reg = 0x10948, /* C2PMSG_18 */
.cmdbuff_addr_hi_reg = 0x1094c, /* C2PMSG_19 */
+ .bootloader_info_reg = 0x109ec, /* C2PMSG_59 */
.feature_reg = 0x109fc, /* C2PMSG_63 */
.inten_reg = 0x10510, /* P2CMSG_INTEN */
.intsts_reg = 0x10514, /* P2CMSG_INTSTS */
--
2.43.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] crypto: ccp - Add missing tee info reg for teev2
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
2025-05-19 6:03 ` [PATCH 0/2] Add some missing info registers Herbert Xu
2 siblings, 0 replies; 4+ messages in thread
From: Mario Limonciello @ 2025-05-17 20:26 UTC (permalink / raw)
To: mario.limonciello, thomas.lendacky, john.allen, Herbert Xu, davem
Cc: linux-crypto
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] Add some missing info registers
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 ` [PATCH 2/2] crypto: ccp - Add missing tee info reg for teev2 Mario Limonciello
@ 2025-05-19 6:03 ` Herbert Xu
2 siblings, 0 replies; 4+ messages in thread
From: Herbert Xu @ 2025-05-19 6:03 UTC (permalink / raw)
To: Mario Limonciello
Cc: mario.limonciello, davem, john.allen, thomas.lendacky,
linux-crypto
On Sat, May 17, 2025 at 03:26:28PM -0500, Mario Limonciello wrote:
> From: Mario Limonciello <mario.limonciello@amd.com>
>
> pspv5 and teev2 are missing the registers for version
> information.
>
> Mario Limonciello (2):
> crypto: ccp - Add missing bootloader info reg for pspv5
> crypto: ccp - Add missing tee info reg for teev2
>
> drivers/crypto/ccp/sp-pci.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> --
> 2.43.0
All applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-05-19 6:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH 2/2] crypto: ccp - Add missing tee info reg for teev2 Mario Limonciello
2025-05-19 6:03 ` [PATCH 0/2] Add some missing info registers Herbert Xu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.