From: James Hsiao <jhsiao@amcc.com>
To: Kim Phillips <kim.phillips@freescale.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] AMCC Crypto4xx Device Driver v2]
Date: Wed, 29 Oct 2008 10:04:59 -0700 [thread overview]
Message-ID: <1225299899.4841.7.camel@jhsiao-usb> (raw)
In-Reply-To: <20081029105413.895d5cdb.kim.phillips@freescale.com>
Hi Kim,
Thanks for comments.
Please see inline.
James
On Wed, 2008-10-29 at 10:54 -0500, Kim Phillips wrote:
> On Tue, 28 Oct 2008 19:18:20 -0700
> James Hsiao <jhsiao@amcc.com> wrote:
>
> > On Tue, 2008-10-28 at 20:51 -0400, Josh Boyer wrote:
> > > - The question on ABLKCIPHER kconfig was ignored
> > Is ABLKCIPHER a sub set of BLKCIPHER? So, if BLKCIPHER is selected then
> > if ABLKCIPHER is present, it will use ABLKCIPHER otherwise using
> > BLKCIPHER algorithm? Correct?
>
> this is my bad, commit 653ebd9c8510a7d647ed23e66e1338f848ebdbab
> "blkcipher: Merge ablkcipher and blkcipher into one option/module"
> renders CRYPTO_ABLKCIPHER obsolete in favour of CRYPTO_BLKCIPHER.
>
Ok.
> > > - Marking functions static
> > We have more than one file, that is why some of the function are not
> > static.
>
> have one file then?
This is our first round of patch. We will support many more algorithms
and it will have much more files. I am afraid one file will be way too
big.
>
> > > - Global lsec_core variable which doesn't allow for more than one
> > > device
> > We only support single incidence of device.
>
> it's also a matter of unnecessarily polluting global namespace.
>
I look into modify this.
> > > - Complete lack of locking code, how do you enforce mutually exclusive
> > > access to the device?
> >
> > The crypto engine have couple bits 'command ready' and 'packet done',
> > which servers as semaphore here. So, software don't need extra locking.
>
> know if it's applicable at all, but I imagine it's not SMP safe.
No, it's not SMP safe. This driver only support single core processors.
>
> Kim
next prev parent reply other threads:[~2008-10-29 17:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-28 23:41 [PATCH] AMCC Crypto4xx Device Driver v2] James Hsiao
2008-10-29 0:51 ` Josh Boyer
2008-10-29 2:18 ` James Hsiao
2008-10-29 15:54 ` Kim Phillips
2008-10-29 17:04 ` James Hsiao [this message]
2008-10-29 17:10 ` Josh Boyer
2008-10-29 19:03 ` James Hsiao
2008-10-29 13:54 ` Josh Boyer
2008-10-29 23:54 ` James Hsiao
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=1225299899.4841.7.camel@jhsiao-usb \
--to=jhsiao@amcc.com \
--cc=kim.phillips@freescale.com \
--cc=linuxppc-dev@ozlabs.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).