Re: How to alloc_pages from a given physical memory?

2017-07-06 Thread Kamil Konieczny
On 06.07.2017 05:08, kipade wrote: > Here I want to allocate a block of shared memory from a given physical > address, such as 0x9000, 6M. However, alloc_pages can't fit this > point. I had reserved enugh pages via cmem, there also have enough > continous pages for such allocation

Re: How to alloc_pages from a given physical memory?

2017-07-06 Thread kipade
cortex A15, omap5 platform 在 2017年07月06日 17:30, Kamil Konieczny wrote: > > On 06.07.2017 11:04, kipade wrote: >> I use arm 32bit cpu, with kernel 3.14 > banana-pi ? nano-pi ? orange-pi ? odroid ? > > Is it memory region for system registers ? > >>> On 06.07.2017 05:08, kipade wrote: Here I

Re: How to alloc_pages from a given physical memory?

2017-07-06 Thread kipade
In fact, I want to allocate a continous of pages from a given physical address for a shm object in shmem_file_setup, might i should write a customized shmem_file_setup2 for this? 在 2017年07月06日 17:30, Kamil Konieczny wrote: > > On 06.07.2017 11:04, kipade wrote: >> I use arm 32bit cpu, with

Re: How to alloc_pages from a given physical memory?

2017-07-06 Thread Kamil Konieczny
On 06.07.2017 11:43, kipade wrote: > In fact, I want to allocate a continous of pages from a given physical > address for a shm object in > > shmem_file_setup, might i should write a customized shmem_file_setup2 > for this? > I use arm 32bit cpu, with kernel 3.14 why do want this specific

Re: How to alloc_pages from a given physical memory?

2017-07-06 Thread kipade
I reserved such memory as cma range, and Im sure it can be allocated via cma, such as dma_alloc_writecombine*. I want to hard code the physical address because I have to make sure such address can be access by another ipu cores of the soc platform. I think this can be reserved via a generic

Re: How to alloc_pages from a given physical memory?

2017-07-06 Thread kipade
I use arm 32bit cpu, with kernel 3.14 在 2017年07月06日 16:53, Kamil Konieczny wrote: > > On 06.07.2017 05:08, kipade wrote: >> Here I want to allocate a block of shared memory from a given physical >> address, such as 0x9000, 6M. However, alloc_pages can't fit this >> point. I had reserved enugh

Re: How to alloc_pages from a given physical memory?

2017-07-06 Thread Kamil Konieczny
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 0x9000, 6M. [...] it is well beyond

Re: How to alloc_pages from a given physical memory?

2017-07-06 Thread Kamil Konieczny
On 06.07.2017 11:04, kipade wrote: > I use arm 32bit cpu, with kernel 3.14 banana-pi ? nano-pi ? orange-pi ? odroid ? Is it memory region for system registers ? >> On 06.07.2017 05:08, kipade wrote: >>> Here I want to allocate a block of shared memory from a given physical >>> address, such

Eudyptula Challenge scripts not responding?

2017-07-06 Thread Laurence Rochfort
Hi all, The Eudyptula Challenge scripts seem to not be responding these past few days. if anybody here is involved behind the scenes, would you please take a look? Cheers, Laurence. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: Eudyptula Challenge scripts not responding?

2017-07-06 Thread Alexander Kapshuk
On Thu, Jul 6, 2017 at 4:04 PM, Laurence Rochfort wrote: > Hi all, > > The Eudyptula Challenge scripts seem to not be responding these past few > days. > > if anybody here is involved behind the scenes, would you please take a look? > > Cheers, > Laurence. > >

Re:Re: How to alloc_pages from a given physical memory?

2017-07-06 Thread kipade
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 At 2017-07-06 19:17:45, "Kamil Konieczny" wrote: > > >On 06.07.2017 12:20, kipade wrote:

Re: How to alloc_pages from a given physical memory?

2017-07-06 Thread Kamil Konieczny
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 ?

Re: Eudyptula Challenge scripts not responding?

2017-07-06 Thread Laurence Rochfort
Thanks all. Yeah, I understand a judgement on a submission could take a while, but I wasn't getting an auto-response either. Looks like it was a mail routing issue on my side and I also got the subject format wrong. On Thu, 6 Jul 2017, 17:24 David Wittman, wrote: > That