From mboxrd@z Thu Jan 1 00:00:00 1970 From: k.konieczny@partner.samsung.com (Kamil Konieczny) Date: Thu, 06 Jul 2017 16:52:51 +0200 Subject: How to alloc_pages from a given physical memory? In-Reply-To: <369696dd.d126.15d1823df0a.Coremail.kipade@163.com> References: <782d611d-78f7-f350-e135-c747ce4e6ffb@163.com> <1fbceb80-cabb-f60a-8734-bb1f1d586466@partner.samsung.com> <979acf58-3981-eb49-c889-eb9ca3bd2e8e@partner.samsung.com> <2884534f-5728-cf44-7bb9-caab18129983@partner.samsung.com> <2959745b-99b7-f9f6-9310-9570b833bb41@partner.samsung.com> <369696dd.d126.15d1823df0a.Coremail.kipade@163.com> Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On 06.07.2017 15:43, kipade wrote: > Might be? I have no puzzle of CMem? OK, I will continue go search solutions for that. > And, if I got it, I will come back for sharing solutions here. > And, thank you, all Are you writing kernel module ? or you try to compile kernel with cmem module ? What hardware are you using ? How are you allocating shmem ? Can you give few code lines for what you try ? The more info you give, more help you receive. Well, it may be faster to go directly to some kernel list or vendor list with your questions. >> On 06.07.2017 12:20, kipade wrote: >> >>> [...] (I have a look at> the kerrnel source, every omap_bo_object [...] >> >>> [...] I use arm 32bit cpu, with kernel 3.14 >> >>> Here I want to allocate a block of shared memory from a given physical >>> address, such as 0x90000000, 6M. [...] >> >> it is well beyond newbie, you may find help on vendor forum, >> i guess it is TI (Texas Instruments) Sitara SoC, >> google search gives first hit: >> >> http://processors.wiki.ti.com/index.php/CMEM_Overview -- Best regards, Kamil Konieczny Samsung R&D Institute Poland