]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
crypto: mxs-dcp - Align the bounce buffers
authorMarek Vasut <marex@denx.de>
Mon, 3 Mar 2014 00:23:15 +0000 (01:23 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 10 Mar 2014 12:15:48 +0000 (20:15 +0800)
commit1a7c685611713011179a0e92b06f43a378d3a8fd
tree71176ccfcabd37b84adde08b7b096eff7f469ee7
parent26f25b2695aa0996aa01e86a212db94e8dd2006d
crypto: mxs-dcp - Align the bounce buffers

The DCP needs the bounce buffers, DMA descriptors and result buffers aligned
to 64 bytes (yet another hardware limitation). Make sure they are aligned by
properly aligning the structure which contains them during allocation.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: David S. Miller <davem@davemloft.net>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Shawn Guo <shawn.guo@linaro.org>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/mxs-dcp.c