Issues with ioremap

2012-08-10 Thread kps mailme
Hello, I have a ARM926 based development board. I am trying to remap 23 MB of IO memory using ioremap and access with the code snippet below, mm throws an exception most of the times - #define MRAM_SIZE 23068672 while(1) { offset = test_random() % MRAM_SIZE; virt_addr =

Issues with ioremap

2012-08-10 Thread kps mailme
Hello, I have a ARM926 based development board. I am trying to remap 23 MB of IO memory using ioremap and access with the code snippet below, mm throws an exception most of the times - #define MRAM_SIZE 23068672 while(1) { offset = test_random() % MRAM_SIZE; virt_addr =