Mapping ram memory using ioremap

noman pouigt variksla at gmail.com
Wed May 11 19:00:14 EDT 2022


We are using part of DRAM as shared memory
between DSP and SoC. However, DSP
can only access higher 1GB of DRAM.

In order to map the aforementioned memory
I tried using ioremap and it blurted out the
warning as mentioned in this article.
https://lwn.net/Articles/409700/

What is the alternative to using ioremap to
map specific RAM memory region for use
in the driver as shared memory?

I tried memremap + reserved memory as well
and it failed.



More information about the Kernelnewbies mailing list