[PATCH 0/10] crypto: Driver conversions for DMA alignment

Christoph Hellwig hch at infradead.org
Mon Dec 5 22:27:58 PST 2022


On Tue, Dec 06, 2022 at 12:13:52PM +0800, Herbert Xu wrote:
> Yes they're clearly bogus.  Basically they are saying they want
> memory that is aligned sufficiently for DMA.  So if Catalin's
> patch-set will break this assumption, then all the GFP_DMA allocations
> in drivers/crypto will need to be enlarged to take this into
> account.

But GFP_DMA never did do anything at all about alignment.  It picks
allocations from ZONE_DMA (which on x86 is the first 16MB only).



More information about the linux-arm-kernel mailing list