From: Kim Phillips Date: Thu, 28 Feb 2013 14:00:12 -0600 Subject: [U-Boot] [PATCH 1/4] Exynos: Add hardware accelerated SHA 256 In-Reply-To: <46.D5.13994.5AA3F215@epcpsbgx4.samsung.com> References: <46.D5.13994.5AA3F215@epcpsbgx4.samsung.com> Message-ID: <20130228140012.8a95f293d854190a05eec0de@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 28 Feb 2013 11:08:21 +0000 Akshay Saraswat wrote: > >On Wed, 27 Feb 2013 10:24:39 -0500 > > >Akshay Saraswat wrote: can you fix your mailer to not double space lines? > >> +/* Maximum input data size is 8 MB. Timeout observed for data size above 8MB */ > >> +#define TIMEOUT_MS 100 > > >So 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? > 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