From: mgreer@animalcreek.com (Mark A. Greer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 00/15] OMAP SHAM & AES Crypto Updates
Date: Fri, 1 Feb 2013 13:18:24 -0700 [thread overview]
Message-ID: <20130201201824.GA6326@animalcreek.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1302011722070.10853@utopia.booyaka.com>
On Fri, Feb 01, 2013 at 05:35:05PM +0000, Paul Walmsley wrote:
> Hi Mark
>
> On Mon, 28 Jan 2013, Mark A. Greer wrote:
>
> > On Thu, Jan 17, 2013 at 03:27:28PM -0700, Mark A. Greer wrote:
> > > On Thu, Jan 17, 2013 at 07:13:36PM +0000, Paul Walmsley wrote:
> > > > On Tue, 8 Jan 2013, Mark A. Greer wrote:
> > > >
> > > > > On Sun, Dec 23, 2012 at 08:40:43AM +0000, Paul Walmsley wrote:
> >
> > > > What do you think about adding an am35xx_es11plus_hwmod_ocp_ifs[] array to
> > > > omap_hwmod_3xxx_data.c for these secure hwmods? That carries the implicit
> > > > and possibly wrong assumption that it's likely to be ES1.0 devices that
> > > > are missing the SHAM/AES, but it seems unlikely that TI would have
> > > > multiple silicon revs running around claiming to be ES1.1? Or maybe I'm
> > > > just being na?ve.
> > >
> > > Something like that makes sense to me. I'll re-read my email, etc. and
> > > see if I can find something to help us figure it out.
> >
> > I couldn't find any information that helped with this so AFAIK there is no
> > good way to tell if a particular am35xx has the crypto hardware available
> > or not.
>
> I was thinking that we might assume that they are present on AM35xx
> ES1.1+. If the TI folks are saying that they aren't available on only a
> few early devices, I'd guess that means ES1.0. I personally have never
> seen an ES1.0 AM35xx device...
>
> Discriminating between ES1.0 and ES1.1+ should be pretty easy in the hwmod
> init...
>
> > At this point, I vote for moving 'omap3xxx_l4_core__sham' and
> > 'omap3xxx_l4_core__aes' from omap3xxx_gp_hwmod_ocp_ifs[] and putting them
> > in omap34xx_hwmod_ocp_ifs[] and omap36xx_hwmod_ocp_ifs[].
>
> I'm pretty sure that's going to break on HS OMAPs, like the HS OMAP3430 in
> the N900. I don't think those IP blocks are directly accessible from
> Linux on most HS setups, although this might vary by device. I'd feel
> more comfortable if you created an omap34xx_gp_hwmod_ocp_ifs[] list and an
> omap36xx_gp_hwmod_ocp_ifs[] list. We should probably get rid of
> omap3xxx_gp_hwmod_ocp_ifs[] altogether.
>
> > That should be safe in general and if someone with an am35xx wants to
> > use those modules, they can edit am35xx_hwmod_ocp_ifs[] locally.
>
> If you want to just leave them commented in am35xx_hwmod_ocp_ifs[], rather
> than enabling them for ES1.1+ AM35xx, that's fine with me too, since we
> don't know that they are ES-level-based. Maybe put a comment there that
> says that these are likely to be present, but no one seems to know for
> certain? Seems ludicrous, but I guess that's what we're reduced to!
Thanks Paul. I will have some patches early next week.
Mark
--
next prev parent reply other threads:[~2013-02-01 20:18 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-21 16:28 [PATCH 00/15] OMAP SHAM & AES Crypto Updates Mark A. Greer
2012-12-21 16:28 ` [PATCH 01/15] ARM: OMAP2xxx: hwmod: Convert SHAM crypto device data to hwmod Mark A. Greer
2012-12-21 16:28 ` [PATCH 02/15] ARM: OMAP2xxx: hwmod: Add DMA support for SHAM module Mark A. Greer
2012-12-21 16:28 ` [PATCH 03/15] ARM: OMAP3xxx: hwmod: Convert SHAM crypto device data to hwmod Mark A. Greer
2013-02-08 17:42 ` Paul Walmsley
2013-02-11 18:07 ` Mark A. Greer
2012-12-21 16:28 ` [PATCH 04/15] ARM: OMAP2+: Remove unnecessary message when no SHA IP is present Mark A. Greer
2012-12-21 16:28 ` [PATCH 05/15] ARM: OMAP2+: Only manually add hwmod data when DT not used Mark A. Greer
2012-12-21 16:28 ` [PATCH 06/15] ARM: AM33XX: Add sha0 crypto clock data Mark A. Greer
2012-12-21 16:28 ` [PATCH 07/15] ARM: AM33XX: hwmod: Update and uncomment SHA0 module data Mark A. Greer
2012-12-21 16:28 ` [PATCH 08/15] ARM: dts: Add SHAM data and documentation for AM33XX Mark A. Greer
2012-12-21 16:28 ` [PATCH 09/15] ARM: OMAP2xxx: hwmod: Convert AES crypto devcie data to hwmod Mark A. Greer
2012-12-21 16:28 ` [PATCH 10/15] ARM: OMAP3xxx: hwmod: Convert AES crypto device " Mark A. Greer
2012-12-21 16:28 ` [PATCH 11/15] ARM: OMAP2+: Remove unnecessary message when no AES IP is present Mark A. Greer
2012-12-21 16:28 ` [PATCH 12/15] ARM: OMAP2+: Only manually add hwmod data when DT not used Mark A. Greer
2012-12-21 16:28 ` [PATCH 13/15] ARM: AM33XX: Add aes0 crypto clock data Mark A. Greer
2012-12-23 15:47 ` Peter Korsgaard
2012-12-21 16:28 ` [PATCH 14/15] ARM: AM33XX: hwmod: Update and uncomment AES0 module data Mark A. Greer
2012-12-21 16:28 ` [PATCH 15/15] ARM: dts: Add AES data and documentation for AM33XX Mark A. Greer
2012-12-21 19:09 ` [PATCH 00/15] OMAP SHAM & AES Crypto Updates Peter Korsgaard
2012-12-21 19:22 ` Mark A. Greer
2012-12-23 16:03 ` Peter Korsgaard
2012-12-25 19:17 ` Mark A. Greer
2012-12-23 8:40 ` Paul Walmsley
2012-12-25 19:29 ` Mark A. Greer
2012-12-25 19:34 ` Mark A. Greer
2013-01-08 20:38 ` Mark A. Greer
2013-01-17 19:13 ` Paul Walmsley
2013-01-17 22:27 ` Mark A. Greer
2013-01-28 19:16 ` Mark A. Greer
2013-02-01 17:35 ` Paul Walmsley
2013-02-01 20:18 ` Mark A. Greer [this message]
2013-02-08 17:45 ` Paul Walmsley
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=20130201201824.GA6326@animalcreek.com \
--to=mgreer@animalcreek.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).