[PATCH] crypto - shash: reduce minimum alignment of shash_desc structure

Ard Biesheuvel ardb at kernel.org
Fri Jan 8 04:32:52 EST 2021


On Fri, 8 Jan 2021 at 10:23, Herbert Xu <herbert at gondor.apana.org.au> wrote:
>
> On Fri, Jan 08, 2021 at 09:36:23AM +0100, Ard Biesheuvel wrote:
> >
> > scatterlists, and I don't think we permit pointing the scatterlist
> > into request structures)
>
> Not only do we allow that, we do that in lots of places.
>

Fair enough. So changing CRYPTO_MINALIGN in general may trigger DMA
related bugs in non-coherent devices.



More information about the linux-arm-kernel mailing list