From: Pavel Machek <pavel@ucw.cz>
To: "Pali Rohár" <pali.rohar@gmail.com>
Cc: Matthijs van Duin <matthijsvanduin@gmail.com>,
Joel Fernandes <joelf@ti.com>, Tony Lindgren <tony@atomide.com>,
linux-omap@vger.kernel.org, Aaro Koskinen <aaro.koskinen@iki.fi>,
Nishanth Menon <nm@ti.com>, Sebastian Reichel <sre@ring0.de>
Subject: Re: runtime check for omap-aes bus access permission (was: Re: 3.13-rc3 (commit 7ce93f3) breaks Nokia N900 DT boot)
Date: Wed, 11 Feb 2015 21:43:42 +0100 [thread overview]
Message-ID: <20150211204342.GE29636@amd> (raw)
In-Reply-To: <201502010956.28662@pali>
Hi!
On Sun 2015-02-01 09:56:28, Pali Rohár wrote:
> On Sunday 01 February 2015 02:36:06 Matthijs van Duin wrote:
> > On 31 January 2015 at 20:06, Pali Rohár <pali.rohar@gmail.com>
> > wrote:
> > > I have configured two testing N900 devices. One with signed
> > > bootloader which enable omap aes support and one device with
> > > signed bootloader which does not enable omap aes support.
> >
> > I'm probably missing some context here, but why not just use
> > the one with aes support? Alternatively, one may argue that
> > it's the bootloader's job to provide the kernel with an
> > accurate device tree. (Though one may equally well argue that
> > it would be nice to avoid having to customize the device tree
> > for every feature-flavor of a processor, especially if this
> > depends on how it's initialized.)
> >
>
> Nokia X-Loader is closed source and signed. So we cannot modify
> it. And it is responsible for configuring L3/L4 firewall.
>
> Year ago it was possible to find on internet signed X-Loader for
> N900 which enable omap aes support (for testing purpose together
> with open source linux kernel modules), but it is unofficial and
> I think there only too few people who flashed it into N900 nand.
> If somebody needs binaries I have backup all of them.
>
> More info about that aes enabled X-Loader:
> http://maemo.org/community/maemo-developers/n900_aes_and_sha1-md5_hw_acceleration_drivers/
>
> Majority of users use only official X-Loader which does not
> enable aes support so we cannot enable kernel modules (cause
> crashes). And also we cannot force users to flash some unofficial
> binary into their device...
BTW... it would be interesting to know... are you doing some
heavy crypto processing on N900? Are the accelerated drivers faster
than non-accelerated ones? Because the link above says they are
slower...
# Eric Wheeler
# ...
# Hey guys, I have omap-aes compiled for my kernel and appears to be
# working.
#
# I do not understand why non-accelerated software-crypto is faster than
# the omap-aes hardware acceleration:
#
# mmcblk0 onboard 32GB: read=21.76MB/s write=12.97MB/s
# aes_generic crypto: read= 8.47 write= 5.54
# omap-aes hw crypto: read= 6.31 write= 5.45
#
# mmcblk1 uSD 16GB Class 10: read=16.05MB/s write=16.47MB/s
# aes_generic crypto: read= 7.96 write= 7.43
# omap-aes hw crypto: read= 6.67 write= 7.18
Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2015-02-11 20:43 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-06 21:36 3.13-rc3 (commit 7ce93f3) breaks Nokia N900 DT boot Sebastian Reichel
2013-12-06 22:27 ` Tony Lindgren
2013-12-07 0:00 ` Sebastian Reichel
2013-12-07 0:38 ` Tony Lindgren
2013-12-07 8:18 ` Pali Rohár
2013-12-07 13:48 ` Sebastian Reichel
2013-12-07 13:57 ` Pali Rohár
2013-12-07 16:51 ` Tony Lindgren
2013-12-07 17:53 ` Tony Lindgren
2013-12-07 18:49 ` runtime check for omap-aes bus access permission (was: Re: 3.13-rc3 (commit 7ce93f3) breaks Nokia N900 DT boot) Sebastian Reichel
2013-12-07 21:11 ` Tony Lindgren
2013-12-07 23:03 ` Sebastian Reichel
2013-12-07 23:22 ` Tony Lindgren
2014-09-08 23:45 ` Pali Rohár
2014-11-25 21:08 ` Pali Rohár
2014-11-25 21:31 ` Pali Rohár
2014-11-26 17:54 ` Tony Lindgren
2015-01-17 9:18 ` Pali Rohár
2015-01-17 17:04 ` Tony Lindgren
2015-01-17 17:29 ` Pali Rohár
2015-01-17 17:41 ` Tony Lindgren
2015-01-31 11:34 ` Pali Rohár
2015-01-31 15:13 ` Matthijs van Duin
2015-01-31 19:06 ` Pali Rohár
2015-02-11 12:39 ` Pali Rohár
2015-02-11 15:22 ` Matthijs van Duin
2015-02-11 20:28 ` Pali Rohár
2015-02-11 20:33 ` Tony Lindgren
2015-02-11 20:40 ` Nishanth Menon
2015-02-18 21:14 ` Pali Rohár
2015-05-28 7:37 ` Pali Rohár
2015-05-28 16:01 ` Tony Lindgren
2015-05-28 20:26 ` Matthijs van Duin
2015-05-28 22:24 ` Tony Lindgren
2015-05-28 22:27 ` Pali Rohár
2015-05-29 0:15 ` Tony Lindgren
2015-05-29 0:58 ` Matthijs van Duin
2015-05-29 1:35 ` Matthijs van Duin
2015-05-29 15:50 ` Tony Lindgren
2015-05-29 18:16 ` Tony Lindgren
2015-05-30 15:22 ` Matthijs van Duin
2015-06-01 17:58 ` Tony Lindgren
2015-06-01 20:32 ` Matthijs van Duin
2015-06-01 20:52 ` Tony Lindgren
2015-06-02 4:21 ` Matthijs van Duin
2015-02-19 18:20 ` Pali Rohár
2015-02-19 20:25 ` Matthijs van Duin
2015-02-19 21:10 ` Aaro Koskinen
2015-01-24 10:40 ` Pali Rohár
2015-01-31 14:38 ` Matthijs van Duin
2015-01-31 19:09 ` Pali Rohár
2015-02-01 1:36 ` Matthijs van Duin
2015-02-01 8:56 ` Pali Rohár
2015-02-11 20:43 ` Pavel Machek [this message]
2015-02-11 21:14 ` Pali Rohár
2015-02-09 11:55 ` 3.13-rc3 (commit 7ce93f3) breaks Nokia N900 DT boot Pali Rohár
2013-12-08 14:13 ` Aaro Koskinen
2013-12-08 16:40 ` Tony Lindgren
2013-12-08 17:10 ` Sebastian Reichel
2013-12-08 17:43 ` Tony Lindgren
2013-12-08 17:59 ` Aaro Koskinen
2013-12-08 18:09 ` Sebastian Reichel
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=20150211204342.GE29636@amd \
--to=pavel@ucw.cz \
--cc=aaro.koskinen@iki.fi \
--cc=joelf@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=matthijsvanduin@gmail.com \
--cc=nm@ti.com \
--cc=pali.rohar@gmail.com \
--cc=sre@ring0.de \
--cc=tony@atomide.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 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).