[PATCH v2] mtd: nand: Add support to use nand_base poi databuf as bounce buffer

Huang Shijie b32955 at freescale.com
Fri Apr 25 00:43:13 PDT 2014


On Thu, Apr 24, 2014 at 11:52:41PM -0400, Kamal Dasu wrote:
> Huang,
> 
> "could you show us how do the driver use the highmem buffer?"
> 
> This is the stack on a BMIPS platform we are doing a read dma transaction.
> drv_*  calls are from out of tree nand controller  driver. This
I can read the driver since it is not in the l2-mtd. :(

> example shows the driver trying to map
> highmem virtual address(0xfe1141e0)  for DMA operation passed from

Which dma api do you use?
do you use the dma_map_sg() or something else?

If you use the dma_map_sg, do it support the highmem in the MIPS?

thanks
Huang Shijie



More information about the linux-mtd mailing list