On Tue, 23 Apr 2024 08:04:35 +0200, Ahmad Fatoum wrote: > Memory allocated by normal malloc may not fulfill the alignment > requirements for DMA. > > This fixes memory corruption observed on the i.MX8MP when the > DMA-enabled eSDHC driver attempts to probe an eMMC. > > This issues always existed, but only after commit 65ef5d885263 > ("ARM64: let 'end' point after the range in cache functions"), the whole > 512 bytes were getting invalidated, which corrupted the TLSF malloc > header of the block after it. > > [...] Applied, thanks! [1/1] mci: core: allocate memory used for DMA with dma_alloc https://git.pengutronix.de/cgit/barebox/commit/?id=b986aad24ab8 (link may not be stable) Best regards, -- Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>