provide DMA services in drivers/crypto

2016-10-19 Thread Tudor-Dan Ambarus
Hi, Herbert, CAAM has the ability to provide DMA services. This is helpful for platforms that don't have a dedicated DMA hardware block. In this particular example, caam being a crypto accelerator at its fundamentals, where is recommended to add a caam-dma engine implementation, in

[PATCH] hwrng: meson: Remove unneeded platform MODULE_ALIAS

2016-10-19 Thread Javier Martinez Canillas
The Amlogic Meson is a DT-only platform, which means the devices are registered via OF and not using the legacy platform devices support. So there's no need to have a MODULE_ALIAS("platform:meson-rng") since the reported uevent MODALIAS to user-space will always be the OF one. Signed-off-by:

[PATCH] crypto: engine - Handle the kthread worker using the new API

2016-10-19 Thread Petr Mladek
Use the new API to create and destroy the crypto engine kthread worker. The API hides some implementation details. In particular, kthread_create_worker() allocates and initializes struct kthread_worker. It runs the kthread the right way and stores task_struct into the worker structure.

Re: [PATCH v2 0/8] crypto: ARM/arm64 - big endian fixes

2016-10-19 Thread Ard Biesheuvel
On 19 October 2016 at 09:46, Will Deacon wrote: > On Wed, Oct 19, 2016 at 11:03:33AM +0800, Herbert Xu wrote: >> On Tue, Oct 18, 2016 at 01:14:38PM +0100, Ard Biesheuvel wrote: >> > On 18 October 2016 at 12:49, Catalin Marinas >> > wrote: >> > > On

Re: [PATCH v2 0/8] crypto: ARM/arm64 - big endian fixes

2016-10-19 Thread Will Deacon
On Wed, Oct 19, 2016 at 09:49:46AM +0100, Ard Biesheuvel wrote: > On 19 October 2016 at 09:46, Will Deacon wrote: > > On Wed, Oct 19, 2016 at 11:03:33AM +0800, Herbert Xu wrote: > >> I was planning merging these for 4.10. But I'm fine with them > >> going through the arm

Re: provide DMA services in drivers/crypto

2016-10-19 Thread Vinod Koul
On Wed, Oct 19, 2016 at 01:57:45PM +, Tudor-Dan Ambarus wrote: Please wrap your mails within 80 chars, I have reflown below for reabability. > Hi, Herbert, > > CAAM has the ability to provide DMA services. This is helpful for > platforms that don't have a dedicated DMA hardware block. > >

Re: [PATCH v2] hwrng: meson: Fix module autoload for OF registration

2016-10-19 Thread Neil Armstrong
On 10/17/2016 09:51 PM, Javier Martinez Canillas wrote: > If the driver is built as a module, autoload won't work because the module > alias information is not filled. So user-space can't match the registered > device with the corresponding module. > > Export the module alias information using

Re: [PATCH v2 0/8] crypto: ARM/arm64 - big endian fixes

2016-10-19 Thread Will Deacon
On Wed, Oct 19, 2016 at 11:03:33AM +0800, Herbert Xu wrote: > On Tue, Oct 18, 2016 at 01:14:38PM +0100, Ard Biesheuvel wrote: > > On 18 October 2016 at 12:49, Catalin Marinas > > wrote: > > > On Tue, Oct 11, 2016 at 07:15:12PM +0100, Ard Biesheuvel wrote: > > >> As it