summaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorArseniy Krasnov <AVKrasnov@sberdevices.ru>2023-06-15 11:08:15 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2023-06-19 10:20:58 +0200
commit98480a181a08ceeede417e5b28f6d0429d8ae156 (patch)
treef4ba61630f620a5013d9ee755fd0bc1cd6cf040e /COPYING
parenta6a8a1e16c14b5c93bec202ba2f1c8d7c9173571 (diff)
downloadlinux-stable-98480a181a08ceeede417e5b28f6d0429d8ae156.tar.gz
linux-stable-98480a181a08ceeede417e5b28f6d0429d8ae156.tar.bz2
linux-stable-98480a181a08ceeede417e5b28f6d0429d8ae156.zip
mtd: rawnand: meson: fix unaligned DMA buffers handling
Meson NAND controller requires 8 bytes alignment for DMA addresses, otherwise it "aligns" passed address by itself thus accessing invalid location in the provided buffer. This patch makes unaligned buffers to be reallocated to become valid. Fixes: 8fae856c5350 ("mtd: rawnand: meson: add support for Amlogic NAND flash controller") Cc: <Stable@vger.kernel.org> Signed-off-by: Arseniy Krasnov <AVKrasnov@sberdevices.ru> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20230615080815.3291006-1-AVKrasnov@sberdevices.ru
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions