[PATCH] crypto: omap-des: Integrate with the crypto engine framework

2016-04-27 Thread Baolin
Since the crypto engine framework had been merged, thus this patch integrates with the newly added crypto engine framework to make the crypto hardware engine under utilized as each block needs to be processed before the crypto hardware can start working on the next block. The crypto engine framewo

Re: [PATCH] crypto: s5p-sss: fix incorrect usage of scatterlists api

2016-04-27 Thread Herbert Xu
On Tue, Apr 26, 2016 at 09:29:26AM +0200, Marek Szyprowski wrote: > sg_dma_len() macro can be used only on scattelists which are mapped, so > all calls to it before dma_map_sg() are invalid. Replace them by proper > check for direct sg segment length read. > > Fixes: a49e490c7a8a ("crypto: s5p-sss

Re: [PATCH] crypto: qat - fix invalid pf2vf_resp_wq logic

2016-04-27 Thread Herbert Xu
On Mon, Apr 25, 2016 at 07:32:19AM -0700, Tadeusz Struk wrote: > The pf2vf_resp_wq is a global so it has to be created at init > and destroyed at exit, instead of per device. > > Cc: > > Tested-by: Suresh Marikkannu > Signed-off-by: Tadeusz Struk Applied. -- Email: Herbert Xu Home Page: htt

[PATCH v2] lib/mpi: Fix kernel unaligned access in mpi_write_to_sgl

2016-04-27 Thread Sowmini Varadhan
Commit 2d4d1eea540b ("lib/mpi: Add mpi sgl helpers") added mpi_write_to_sgl() which generates traps due to unaligned access on some platforms like sparc. Fix this by using the get_unaligned* and put_unaligned* functions. Fixes: 2d4d1eea540b ("lib/mpi: Add mpi sgl helpers") Signed-off-by: Sowmini

Re: random(4) changes

2016-04-27 Thread George Spelvin
Andi Kleen wrote: > There is also the third problem of horrible scalability of /dev/random > output on larger systems, for which patches are getting ignored. I came up with some very pretty code to fix this, which tried to copy_to_user with a lock held. After all my attempts to fix that fatal fla

Re: random(4) changes

2016-04-27 Thread Stephan Mueller
Am Montag, 25. April 2016, 12:35:32 schrieb Andi Kleen: Hi Andi, > > > > If it is the latter, can you explain where the scalability issue comes > > > > in? > > > > > > A single pool which is locked/written to does not scale. Larger systems > > > need multiple pools > > > > That would imply that