Re: Problem in getting shared memory access on P1022RDK

2012-01-28 Thread tiejun.chen
iejun.chen [mailto:tiejun.c...@windriver.com] > Sent: Thursday, January 12, 2012 1:09 PM > To: Arshad, Farrukh > Cc: Scott Wood; linuxppc-dev@lists.ozlabs.org > Subject: Re: Problem in getting shared memory access on P1022RDK > > Arshad, Farrukh wrote: >> Adding more it, >&

RE: Problem in getting shared memory access on P1022RDK

2012-01-25 Thread Arshad, Farrukh
PM To: Arshad, Farrukh Cc: Scott Wood; linuxppc-dev@lists.ozlabs.org Subject: Re: Problem in getting shared memory access on P1022RDK Arshad, Farrukh wrote: > Adding more it, > > I have removed the shared memory kernel driver dependency just to narrow down > the problem area and I ha

Re: Problem in getting shared memory access on P1022RDK

2012-01-12 Thread tiejun.chen
Arshad, Farrukh wrote: > Adding more it, > > I have removed the shared memory kernel driver dependency just to narrow down > the problem area and I have written a small piece of code in user space. A > writer & a reader application which access the shared memory and I got the > same behavior a

RE: Problem in getting shared memory access on P1022RDK

2012-01-11 Thread Arshad, Farrukh
Adding more it, I have removed the shared memory kernel driver dependency just to narrow down the problem area and I have written a small piece of code in user space. A writer & a reader application which access the shared memory and I got the same behavior as with the shared memory kernel dri

RE: Problem in getting shared memory access on P1022RDK

2012-01-04 Thread Arshad, Farrukh
>> Was the kernel option, CONFIG_SMP, enabled for both two kernels? Yes CONFIG_SMP is enabled for both kernels. >> Maybe you should make sure if kernel have a appropriate memory attribute by >> dumping TLB entry. Thanks for the pointer. I will try this one. Regards, Farrukh Arshad _

Re: Problem in getting shared memory access on P1022RDK

2012-01-04 Thread tiejun.chen
, January 03, 2012 10:10 PM > To: Arshad, Farrukh > Cc: linuxppc-dev@lists.ozlabs.org > Subject: Re: Problem in getting shared memory access on P1022RDK > > On 01/03/2012 03:42 AM, Arshad, Farrukh wrote: >> Adding more to it, >> >> >> >> When I write from

RE: Problem in getting shared memory access on P1022RDK

2012-01-04 Thread Arshad, Farrukh
, January 04, 2012 11:50 AM To: 'Scott Wood' Cc: linuxppc-dev@lists.ozlabs.org Subject: RE: Problem in getting shared memory access on P1022RDK How can I verify if the memory mapped is coherent on both cores. My memory partitioning is given below CoreBase

RE: Problem in getting shared memory access on P1022RDK

2012-01-03 Thread Arshad, Farrukh
ukh Cc: linuxppc-dev@lists.ozlabs.org Subject: Re: Problem in getting shared memory access on P1022RDK On 01/03/2012 03:42 AM, Arshad, Farrukh wrote: > Adding more to it, > > > > When I write from Core 1 on the shared memory region it is visible at > Core 0 and it can read what I have

Re: Problem in getting shared memory access on P1022RDK

2012-01-03 Thread Scott Wood
On 01/03/2012 03:42 AM, Arshad, Farrukh wrote: > Adding more to it, > > > > When I write from Core 1 on the shared memory region it is visible at > Core 0 and it can read what I have written from Core 1 but when I write > from Core 0 on this shared memory it is not visible on Core 1. Is the me

RE: Problem in getting shared memory access on P1022RDK

2012-01-03 Thread Arshad, Farrukh
Adding more to it, When I write from Core 1 on the shared memory region it is visible at Core 0 and it can read what I have written from Core 1 but when I write from Core 0 on this shared memory it is not visible on Core 1. Regards, Farrukh Arshad From: Arshad, Farrukh Sent: Tuesday, January 0