Re: [PATCH] crypto: Add soft module dependency to load HW accelerated crypto modules

2014-02-17 Thread Neil Horman
On Sun, Feb 16, 2014 at 07:41:23AM +0800, Herbert Xu wrote: > On Fri, Feb 14, 2014 at 06:01:06PM -0800, Tim Chen wrote: > > > > Module A selects CRYPTO_ALG_B in config, which causes the generic > > ALG_B to get built and a module dependency to the generic > > ALG_B to be established. Then when mo

Re: [PATCH] crypto: Add soft module dependency to load HW accelerated crypto modules

2014-02-16 Thread Lucas De Marchi
On Sun, Feb 16, 2014 at 10:21 PM, Marco d'Itri wrote: > On Feb 17, Rusty Russell wrote: > >> > Do you know if the upstream modprobe has the fixes (or plan) to >> > recognize soft dependencies? I was under the impression that it >> > is the case. >> Marco CC'd... > I only maintain the Debian pack

Re: [PATCH] crypto: Add soft module dependency to load HW accelerated crypto modules

2014-02-16 Thread Marco d'Itri
On Feb 17, Rusty Russell wrote: > > Do you know if the upstream modprobe has the fixes (or plan) to > > recognize soft dependencies? I was under the impression that it > > is the case. > Marco CC'd... I only maintain the Debian package, but Lucas should know. -- ciao, Marco -- To unsubscribe f

Re: [PATCH] crypto: Add soft module dependency to load HW accelerated crypto modules

2014-02-16 Thread Rusty Russell
Tim Chen writes: > On Fri, 2014-02-14 at 15:28 -0500, Neil Horman wrote: >> On Fri, Feb 14, 2014 at 11:14:37AM -0800, Tim Chen wrote: >> > We added the soft module dependency of various crypto algorithm's module >> > alias >> > to generic crypto algorithm's module. This loads hardware accelerat

Re: [PATCH] crypto: Add soft module dependency to load HW accelerated crypto modules

2014-02-15 Thread Herbert Xu
On Fri, Feb 14, 2014 at 06:01:06PM -0800, Tim Chen wrote: > > Module A selects CRYPTO_ALG_B in config, which causes the generic > ALG_B to get built and a module dependency to the generic > ALG_B to be established. Then when module A loads, No, if you select ALG_B then yes it'll get built but it

Re: [PATCH] crypto: Add soft module dependency to load HW accelerated crypto modules

2014-02-14 Thread Tim Chen
On Sat, 2014-02-15 at 09:23 +0800, Herbert Xu wrote: > On Fri, Feb 14, 2014 at 11:14:37AM -0800, Tim Chen wrote: > > We added the soft module dependency of various crypto algorithm's module > > alias > > to generic crypto algorithm's module. This loads hardware accelerated > > modules and uses t

Re: [PATCH] crypto: Add soft module dependency to load HW accelerated crypto modules

2014-02-14 Thread Herbert Xu
On Fri, Feb 14, 2014 at 11:14:37AM -0800, Tim Chen wrote: > We added the soft module dependency of various crypto algorithm's module alias > to generic crypto algorithm's module. This loads hardware accelerated > modules and uses them when available. > > Signed-off-by: Tim Chen I don't see the

Re: [PATCH] crypto: Add soft module dependency to load HW accelerated crypto modules

2014-02-14 Thread Tim Chen
On Fri, 2014-02-14 at 15:28 -0500, Neil Horman wrote: > On Fri, Feb 14, 2014 at 11:14:37AM -0800, Tim Chen wrote: > > We added the soft module dependency of various crypto algorithm's module > > alias > > to generic crypto algorithm's module. This loads hardware accelerated > > modules and uses

Re: [PATCH] crypto: Add soft module dependency to load HW accelerated crypto modules

2014-02-14 Thread Neil Horman
On Fri, Feb 14, 2014 at 11:14:37AM -0800, Tim Chen wrote: > We added the soft module dependency of various crypto algorithm's module alias > to generic crypto algorithm's module. This loads hardware accelerated > modules and uses them when available. > This is great, but have any of the module l

[PATCH] crypto: Add soft module dependency to load HW accelerated crypto modules

2014-02-14 Thread Tim Chen
We added the soft module dependency of various crypto algorithm's module alias to generic crypto algorithm's module. This loads hardware accelerated modules and uses them when available. Signed-off-by: Tim Chen --- crypto/blowfish_generic.c | 1 + crypto/camellia_generic.c | 1 + crypto/cast5_