2012-09-17 07:23:33

by Vakul Garg

[permalink] [raw]
Subject: [PATCH][1.3][SEC] 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]>
---
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 b3fecfa..81ed4bc 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-17 08:32:17

by Garg Vakul-B16394

[permalink] [raw]
Subject: RE: [PATCH][1.3][SEC] Added entry for P5040 in SEC-VID to SEC-ERA mapping table.

Please ignore this patch.
I have sent another patch which supersedes this.


> -----Original Message-----
> From: Garg Vakul-B16394
> Sent: Monday, September 17, 2012 12:51 PM
> To: [email protected]
> Cc: Garg Vakul-B16394
> Subject: [PATCH][1.3][SEC] 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]>
> ---
> 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 b3fecfa..81ed4bc 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