On Mon, 22 Jul 2013 17:14:48 +0530, sandeep kumar said: > While porting the SD card controller driver, i am seeing a kernel panic. > While tracing with printk, i am struck at > > in arch/arm/mm/dma_mapping.c , > Function, > > static struct page *__dma_alloc_buffer(struct device *dev, size_t size, gfp_t gfp) > { > <snip> > ..... > ptr = page_address(page); > memset(ptr, 0, size); > dmac_flush_range(ptr, ptr + size); --> struck here Convince us that the values of page, ptr, and size are correct at this point in the code. And if you can't, fix them so they *are* correct.
Attachment:
pgpQnG9c9fXPO.pgp
Description: PGP signature
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies