diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2024-04-23 08:04:35 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2024-04-23 08:26:00 +0200 |
commit | b986aad24ab85b386b3884ccb047f011ebb9847f (patch) | |
tree | 7e0dcd0528abf4c7da2c9ad154098c505f5acf16 /dts/Bindings/iio/accel/mma8452.txt | |
parent | ed8dad10eac8c158469d6012ac0316ca4aaed0d1 (diff) | |
download | barebox-master.tar.gz barebox-master.tar.xz |
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.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20240423060435.1514644-1-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'dts/Bindings/iio/accel/mma8452.txt')
0 files changed, 0 insertions, 0 deletions