Re: application needs fast access to physical memory

2010-11-18 Thread steven . lin
| _way_ _around_! http://www.ozlabs.org/~dgibson [attachment signature.asc deleted by Steven Lin/USW/Teradyne]inline: graycol.gifinline: pic02872.gifinline: ecblank.gif___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org

Re: application needs fast access to physical memory

2010-11-18 Thread steven . lin
Hello Scott, Do you know whether this patch is necessary if I were to use alloc_bootmem () (to set aside a region of contiguous physical memory) instead of the kernel parameter mem=256? -Steve Lin Scott

application needs fast access to physical memory

2010-11-17 Thread steven . lin
My application needs a fast way to access a specific physical DDR memory region. The application runs on an MPC8548 PowerPC which has an MMU. I've tried two approaches that are typical for Linux, mmap() and using a kernel module that implements read()/write() into this region and I'm finding