Re: [PATCH] MTD: atmel_nand: Add DMA support to access Nandflash

From: Peter Korsgaard
Date: Fri Jan 14 2011 - 06:44:08 EST


>>>>> "Hong" == Hong Xu <hong.xu@xxxxxxxxx> writes:

Hong> Some SAM9 chips have the ability to perform DMA between CPU and
Hong> SMC controller. This patch adds DMA support for SAM9RL, SAM9G45,
Hong> SSAM9G46,AM9M10, SAM9M11.

Hong> Signed-off-by: Hong Xu <hong.xu@xxxxxxxxx>

But mtd buffers are not guaranteed to be DMA safe (E.G. might come from
vmalloc), so you'll need to walk the page tables.

--
Bye, Peter Korsgaard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/