crypto: caam - mark the hardware descriptor as cache line aligned
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 8 Aug 2016 17:04:47 +0000 (18:04 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 9 Aug 2016 10:47:24 +0000 (18:47 +0800)
commitd7b24ed4a9a4250f483f4c2fea3588828ab43af2
tree02d44a278baa100f4b0b293c1b4bbde6ed7a3c95
parent64ce56cb44f8b13df4d8f47b8ea527591a68a03b
crypto: caam - mark the hardware descriptor as cache line aligned

Mark the hardware descriptor as being cache line aligned; on DMA
incoherent architectures, the hardware descriptor should sit in a
separate cache line from the CPU accessed data to avoid polluting
the caches.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamhash.c