Exynos: Add hardware accelerated SHA 256
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/4 Exynos: Add hardware accelerated SHA 256
Quoted 3 lines · On Thu, 28 Feb 2013 11:08:21 +0000 Akshay Saraswat <[email protected]> wrote:
Quoted 3 lines
On Wed, 27 Feb 2013 10:24:39 -0500
Akshay Saraswat <[email protected]> wrote:
can you fix your mailer to not double space lines?
Quoted 7 lines
Quoted 5 lines
Review
Quoted 2 lines
(quoted diff) +2
-0+/* Maximum input data size is 8 MB. Timeout observed for data size above 8MB */ +#define TIMEOUT_MS 100So if there's a drop in processor frequency, the driver times out too early? Not good.
Right now we dont have any way to calculate the timeout.
not even empirically?
Quoted 4 lines
So, I have incremented this value
to 500 which shall be good enough for the lowest of all frequencies. But I guess what we need here is some formula, to calculate timeout on the basis of frequency, which is nowhere defined.
That's odd - I see a bunch of frequencies advertised in arch/arm/cpu/armv7/exynos/clock.c.
Or how about using a cycle counter instead?
btw, where can I find documentation for the ACE?
Kim