Re: [PATCH RFC 11/11] crypto: caam - fix RNG buffer cache alignment

2015-06-16 Thread Herbert Xu
On Mon, Jun 15, 2015 at 04:52:59PM -0700, Victoria Milhoan wrote: From: Steve Cornelius steve.cornel...@freescale.com The hwrng output buffers (2) are cast inside of a a struct (caam_rng_ctx) allocated in one DMA-tagged region. While the kernel's heap allocator should place the overall

[PATCH RFC 11/11] crypto: caam - fix RNG buffer cache alignment

2015-06-15 Thread Victoria Milhoan
From: Steve Cornelius steve.cornel...@freescale.com The hwrng output buffers (2) are cast inside of a a struct (caam_rng_ctx) allocated in one DMA-tagged region. While the kernel's heap allocator should place the overall struct on a cacheline aligned boundary, the 2 buffers contained within may