2012-09-17 07:35:54

by Vakul Garg

[permalink] [raw]
Subject: [PATCHv1] crypto-caam: added entry for P5040 in SEC-VID to SEC-ERA mapping table.

On P5040, SEC-ERA does not print correctly. This is because SEC-VID to SEC-ERA
mapping table does not contain information for P5040. This patch adds this
information.

Signed-off-by: Vakul Garg <[email protected]>
---
Please ignore my previous patch which contained internal release prefixes.

drivers/crypto/caam/ctrl.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/crypto/caam/ctrl.c b/drivers/crypto/caam/ctrl.c
index 414ba20..97ebf55 100644
--- a/drivers/crypto/caam/ctrl.c
+++ b/drivers/crypto/caam/ctrl.c
@@ -176,7 +176,8 @@ int caam_get_era(u64 caam_id)
{0x0A14, 1, 3},
{0x0A14, 2, 4},
{0x0A16, 1, 4},
- {0x0A11, 1, 4}
+ {0x0A11, 1, 4},
+ {0x0A13, 1, 5}
};
int i;

--
1.7.7.6


2012-09-18 09:18:20

by Horia Geantă

[permalink] [raw]
Subject: Re: [PATCHv1] crypto-caam: added entry for P5040 in SEC-VID to SEC-ERA mapping table.

On 9/17/2012 10:33 AM, Vakul Garg wrote:
> On P5040, SEC-ERA does not print correctly. This is because SEC-VID to SEC-ERA
> mapping table does not contain information for P5040. This patch adds this
> information.
>
> Signed-off-by: Vakul Garg <[email protected]>
> ---

Please update the patch with the details provided by the HW design team.
Note that if you're adding details for SEC 6.x, you'll need to update
the patch subject and description accordingly.

Thanks,
Horia

> Please ignore my previous patch which contained internal release prefixes.
>
> drivers/crypto/caam/ctrl.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/crypto/caam/ctrl.c b/drivers/crypto/caam/ctrl.c
> index 414ba20..97ebf55 100644
> --- a/drivers/crypto/caam/ctrl.c
> +++ b/drivers/crypto/caam/ctrl.c
> @@ -176,7 +176,8 @@ int caam_get_era(u64 caam_id)
> {0x0A14, 1, 3},
> {0x0A14, 2, 4},
> {0x0A16, 1, 4},
> - {0x0A11, 1, 4}
> + {0x0A11, 1, 4},
> + {0x0A13, 1, 5}
> };
> int i;
>
>