From: Tony Lindgren <tony@atomide.com>
To: Matthijs van Duin <matthijsvanduin@gmail.com>,
Tero Kristo <t-kristo@ti.com>
Cc: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: am335x crypto module clocks
Date: Thu, 9 Apr 2015 08:13:39 -0700 [thread overview]
Message-ID: <20150409151338.GQ18048@atomide.com> (raw)
In-Reply-To: <CAALWOA8Zno6pTfWRZpacgWm83m4=1+uvTmyREG9Nc+C2MZjK1w@mail.gmail.com>
* Matthijs van Duin <matthijsvanduin@gmail.com> [150404 21:26]:
> Hi all,
>
> To my surprise, the am335x clock tree (am33xx-clocks.dtsi) currently
> lists the functional clock of the AES accelerator and other crypto
> modules to be the (max 26 MHz) main osc. This struck me as rather
> unlikely, since the AES module is clocked much higher on other
> devices, and such a slow clock would condemn it to being slower than a
> software AES implementation. As usual the TRM is silent on the crypto
> accelerators and their clock management, but I did some preliminary
> tests.
>
> The AES module turned out far from slow. I actually had a lot of
> trouble keeping the module continuously fed with data with a simple
> non-dma test from userspace, since for most modes of operation the AES
> module could even keep pace with a tight loop using 128-bit neon
> load/store without even checking its status register for readiness.
>
> Although I haven't been able to get obtain a very reliable measurement
> yet as a result, it appears to be clocked at ~200 MHz. This also
> matches the fact that it is hooked up to the L3F (which would be
> rather pointless if it had a separate low-rate fck).
>
> It seems very likely to me the other crypto modules will also have a
> unified fck/ick (L3F for the hash accelerator, L4LS for the RNG and
> PKA). This should preferably still be double-checked of course.
Tero, got any ideas about this one?
Regards,
Tony
next prev parent reply other threads:[~2015-04-09 15:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-05 4:17 am335x crypto module clocks Matthijs van Duin
2015-04-09 15:13 ` Tony Lindgren [this message]
2015-04-13 10:27 ` Tero Kristo
2015-04-17 5:13 ` Matthijs van Duin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150409151338.GQ18048@atomide.com \
--to=tony@atomide.com \
--cc=linux-omap@vger.kernel.org \
--cc=matthijsvanduin@gmail.com \
--cc=t-kristo@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.