* Differentiate between two e500 core (in mult-core e500) @ 2007-01-31 4:46 vinay hegde 2007-01-31 4:58 ` vinay hegde 0 siblings, 1 reply; 7+ messages in thread From: vinay hegde @ 2007-01-31 4:46 UTC (permalink / raw) To: linuxppc-embedded Hi, I have a need to write a POST sort of a test to test L1 data/inst cache residing on each of the e500 v2 multi-core seperately (for a network hardware). This is because multicore e500 has seperate L1 caches and shared L2 cache. This is for mpc8572. I learnt from this list that mpc8572 isn't out yet, but thought that differentiating between e500 mult-cores has nothing to do with mpc8572. Please let me know if you have any inputs. Thanks, Vinay. ____________________________________________________________________________________ Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Differentiate between two e500 core (in mult-core e500) 2007-01-31 4:46 Differentiate between two e500 core (in mult-core e500) vinay hegde @ 2007-01-31 4:58 ` vinay hegde 2007-01-31 6:45 ` Kumar Gala 0 siblings, 1 reply; 7+ messages in thread From: vinay hegde @ 2007-01-31 4:58 UTC (permalink / raw) To: linuxppc-embedded Hi, Sorry for the repeat mail on this, I forgot to ask the question;-) If anybody knows how to differentiate one e500 core from another (in multi-core proc's), please post a message. Thanks, Vinay. --- vinay hegde <thisismevinay@yahoo.co.in> wrote: > Hi, > > I have a need to write a POST sort of a test to test > L1 data/inst cache residing on each of the e500 v2 > multi-core seperately (for a network hardware). This > is because multicore e500 has seperate L1 caches and > shared L2 cache. > > This is for mpc8572. I learnt from this list that > mpc8572 isn't out yet, but thought that > differentiating between e500 mult-cores has nothing > to > do with mpc8572. > > Please let me know if you have any inputs. > > Thanks, > Vinay. > > > > ____________________________________________________________________________________ > Expecting? Get great news right away with email > Auto-Check. > Try the Yahoo! Mail Beta. > http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html > > _______________________________________________ > Linuxppc-embedded mailing list > Linuxppc-embedded@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-embedded > ____________________________________________________________________________________ Don't get soaked. Take a quick peak at the forecast with the Yahoo! Search weather shortcut. http://tools.search.yahoo.com/shortcuts/#loc_weather ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Differentiate between two e500 core (in mult-core e500) 2007-01-31 4:58 ` vinay hegde @ 2007-01-31 6:45 ` Kumar Gala 2007-01-31 8:02 ` vinay hegde 0 siblings, 1 reply; 7+ messages in thread From: Kumar Gala @ 2007-01-31 6:45 UTC (permalink / raw) To: vinay hegde; +Cc: linuxppc-embedded On Jan 30, 2007, at 10:58 PM, vinay hegde wrote: > Hi, > > Sorry for the repeat mail on this, I forgot to ask the > question;-) > > If anybody knows how to differentiate one e500 core > from another (in multi-core proc's), please post a > message. Do you mean some software ID to know which core you are running on? If so the PIR should be used for this purpose. - k > --- vinay hegde <thisismevinay@yahoo.co.in> wrote: > >> Hi, >> >> I have a need to write a POST sort of a test to test >> L1 data/inst cache residing on each of the e500 v2 >> multi-core seperately (for a network hardware). This >> is because multicore e500 has seperate L1 caches and >> shared L2 cache. >> >> This is for mpc8572. I learnt from this list that >> mpc8572 isn't out yet, but thought that >> differentiating between e500 mult-cores has nothing >> to >> do with mpc8572. >> >> Please let me know if you have any inputs. >> >> Thanks, >> Vinay. >> >> >> >> > ______________________________________________________________________ > ______________ >> Expecting? Get great news right away with email >> Auto-Check. >> Try the Yahoo! Mail Beta. >> > http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html >> >> _______________________________________________ >> Linuxppc-embedded mailing list >> Linuxppc-embedded@ozlabs.org >> > https://ozlabs.org/mailman/listinfo/linuxppc-embedded >> > > > > > ______________________________________________________________________ > ______________ > Don't get soaked. Take a quick peak at the forecast > with the Yahoo! Search weather shortcut. > http://tools.search.yahoo.com/shortcuts/#loc_weather > _______________________________________________ > Linuxppc-embedded mailing list > Linuxppc-embedded@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-embedded ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Differentiate between two e500 core (in mult-core e500) 2007-01-31 6:45 ` Kumar Gala @ 2007-01-31 8:02 ` vinay hegde 2007-01-31 14:37 ` Kumar Gala 0 siblings, 1 reply; 7+ messages in thread From: vinay hegde @ 2007-01-31 8:02 UTC (permalink / raw) To: Kumar Gala; +Cc: linuxppc-embedded Hi, Actually, what I mean is, there are two independent L1 caches (one in first e500 core and other in second e500 core) in mpc8572. Now, if I am running cache test(POST) on mpc8572, I must somehow make sure that it tests both the L1 caches. Generally, earlier there used to be one e500 core, one L1 cache and hence cache test does not need to query whether it is testing L1 of first core or L1 of second. So, how to make sure that I am testing L1 caches on _both_ the e500 cores? Thanks, Vinay. --- Kumar Gala <galak@kernel.crashing.org> wrote: > > On Jan 30, 2007, at 10:58 PM, vinay hegde wrote: > > > Hi, > > > > Sorry for the repeat mail on this, I forgot to ask > the > > question;-) > > > > If anybody knows how to differentiate one e500 > core > > from another (in multi-core proc's), please post a > > message. > > Do you mean some software ID to know which core you > are running on? > > If so the PIR should be used for this purpose. > > - k > > > --- vinay hegde <thisismevinay@yahoo.co.in> wrote: > > > >> Hi, > >> > >> I have a need to write a POST sort of a test to > test > >> L1 data/inst cache residing on each of the e500 > v2 > >> multi-core seperately (for a network hardware). > This > >> is because multicore e500 has seperate L1 caches > and > >> shared L2 cache. > >> > >> This is for mpc8572. I learnt from this list that > >> mpc8572 isn't out yet, but thought that > >> differentiating between e500 mult-cores has > nothing > >> to > >> do with mpc8572. > >> > >> Please let me know if you have any inputs. > >> > >> Thanks, > >> Vinay. > >> > >> > >> > >> > > > ______________________________________________________________________ > > > ______________ > >> Expecting? Get great news right away with email > >> Auto-Check. > >> Try the Yahoo! Mail Beta. > >> > > > http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html > >> > >> _______________________________________________ > >> Linuxppc-embedded mailing list > >> Linuxppc-embedded@ozlabs.org > >> > > > https://ozlabs.org/mailman/listinfo/linuxppc-embedded > >> > > > > > > > > > > > ______________________________________________________________________ > > > ______________ > > Don't get soaked. Take a quick peak at the > forecast > > with the Yahoo! Search weather shortcut. > > > http://tools.search.yahoo.com/shortcuts/#loc_weather > > _______________________________________________ > > Linuxppc-embedded mailing list > > Linuxppc-embedded@ozlabs.org > > > https://ozlabs.org/mailman/listinfo/linuxppc-embedded > > ____________________________________________________________________________________ 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie showtime shortcut. http://tools.search.yahoo.com/shortcuts/#news ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Differentiate between two e500 core (in mult-core e500) 2007-01-31 8:02 ` vinay hegde @ 2007-01-31 14:37 ` Kumar Gala 2007-02-01 4:14 ` vinay hegde 0 siblings, 1 reply; 7+ messages in thread From: Kumar Gala @ 2007-01-31 14:37 UTC (permalink / raw) To: vinay hegde; +Cc: linuxppc-embedded On Jan 31, 2007, at 2:02 AM, vinay hegde wrote: > Hi, > > Actually, what I mean is, there are two independent L1 > caches (one in first e500 core and other in second > e500 core) in mpc8572. Now, if I am running cache > test(POST) on mpc8572, I must somehow make sure that > it tests both the L1 caches. Generally, earlier there > used to be one e500 core, one L1 cache and hence cache > test does not need to query whether it is testing L1 > of first core or L1 of second. > > So, how to make sure that I am testing L1 caches on > _both_ the e500 cores? Ok, will it sounds like just want to run your tests on both cores. It depends on how you are invoking your tests today. Is it from bootcode? or a Linux app or driver? - k >> On Jan 30, 2007, at 10:58 PM, vinay hegde wrote: >> >>> Hi, >>> >>> Sorry for the repeat mail on this, I forgot to ask >> the >>> question;-) >>> >>> If anybody knows how to differentiate one e500 >> core >>> from another (in multi-core proc's), please post a >>> message. >> >> Do you mean some software ID to know which core you >> are running on? >> >> If so the PIR should be used for this purpose. >> >> - k >> >>> --- vinay hegde <thisismevinay@yahoo.co.in> wrote: >>> >>>> Hi, >>>> >>>> I have a need to write a POST sort of a test to >> test >>>> L1 data/inst cache residing on each of the e500 >> v2 >>>> multi-core seperately (for a network hardware). >> This >>>> is because multicore e500 has seperate L1 caches >> and >>>> shared L2 cache. >>>> >>>> This is for mpc8572. I learnt from this list that >>>> mpc8572 isn't out yet, but thought that >>>> differentiating between e500 mult-cores has >> nothing >>>> to >>>> do with mpc8572. >>>> >>>> Please let me know if you have any inputs. >>>> >>>> Thanks, >>>> Vinay. >>>> >>>> >>>> >>>> >>> >> > ______________________________________________________________________ >> >>> ______________ >>>> Expecting? Get great news right away with email >>>> Auto-Check. >>>> Try the Yahoo! Mail Beta. >>>> >>> >> > http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html >>>> >>>> _______________________________________________ >>>> Linuxppc-embedded mailing list >>>> Linuxppc-embedded@ozlabs.org >>>> >>> >> > https://ozlabs.org/mailman/listinfo/linuxppc-embedded >>>> >>> >>> >>> >>> >>> >> > ______________________________________________________________________ >> >>> ______________ >>> Don't get soaked. Take a quick peak at the >> forecast >>> with the Yahoo! Search weather shortcut. >>> >> http://tools.search.yahoo.com/shortcuts/#loc_weather >>> _______________________________________________ >>> Linuxppc-embedded mailing list >>> Linuxppc-embedded@ozlabs.org >>> >> > https://ozlabs.org/mailman/listinfo/linuxppc-embedded >> >> > > > > > ______________________________________________________________________ > ______________ > 8:00? 8:25? 8:40? Find a flick in no time > with the Yahoo! Search movie showtime shortcut. > http://tools.search.yahoo.com/shortcuts/#news ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Differentiate between two e500 core (in mult-core e500) 2007-01-31 14:37 ` Kumar Gala @ 2007-02-01 4:14 ` vinay hegde 2007-02-01 17:14 ` Wang Haiying-r54964 0 siblings, 1 reply; 7+ messages in thread From: vinay hegde @ 2007-02-01 4:14 UTC (permalink / raw) To: Kumar Gala; +Cc: linuxppc-embedded Hi Kumar, Thanks for the pointers. This POST will run from the bootcode. I looked into the block diagram for MPC8572, and it seems that apart from L1 caches other component are shared (foe ex, L2, table look-up unit, gigE, SDRAM). So, I was wondering whether we can do something like - run _all_ the POST from core 1 and run only L1 cache test from core 2. Actually I referred 'e500 core Family Ref Manual', but could not get answer to my below question. Thanks, Vinay. --- Kumar Gala <galak@kernel.crashing.org> wrote: > > On Jan 31, 2007, at 2:02 AM, vinay hegde wrote: > > > Hi, > > > > Actually, what I mean is, there are two > independent L1 > > caches (one in first e500 core and other in second > > e500 core) in mpc8572. Now, if I am running cache > > test(POST) on mpc8572, I must somehow make sure > that > > it tests both the L1 caches. Generally, earlier > there > > used to be one e500 core, one L1 cache and hence > cache > > test does not need to query whether it is testing > L1 > > of first core or L1 of second. > > > > So, how to make sure that I am testing L1 caches > on > > _both_ the e500 cores? > > Ok, will it sounds like just want to run your tests > on both cores. > It depends on how you are invoking your tests today. > Is it from > bootcode? or a Linux app or driver? > > - k > > >> On Jan 30, 2007, at 10:58 PM, vinay hegde wrote: > >> > >>> Hi, > >>> > >>> Sorry for the repeat mail on this, I forgot to > ask > >> the > >>> question;-) > >>> > >>> If anybody knows how to differentiate one e500 > >> core > >>> from another (in multi-core proc's), please post > a > >>> message. > >> > >> Do you mean some software ID to know which core > you > >> are running on? > >> > >> If so the PIR should be used for this purpose. > >> > >> - k > >> > >>> --- vinay hegde <thisismevinay@yahoo.co.in> > wrote: > >>> > >>>> Hi, > >>>> > >>>> I have a need to write a POST sort of a test to > >> test > >>>> L1 data/inst cache residing on each of the e500 > >> v2 > >>>> multi-core seperately (for a network hardware). > >> This > >>>> is because multicore e500 has seperate L1 > caches > >> and > >>>> shared L2 cache. > >>>> > >>>> This is for mpc8572. I learnt from this list > that > >>>> mpc8572 isn't out yet, but thought that > >>>> differentiating between e500 mult-cores has > >> nothing > >>>> to > >>>> do with mpc8572. > >>>> > >>>> Please let me know if you have any inputs. > >>>> > >>>> Thanks, > >>>> Vinay. > >>>> > >>>> > >>>> > >>>> > >>> > >> > > > ______________________________________________________________________ > >> > >>> ______________ > >>>> Expecting? Get great news right away with email > >>>> Auto-Check. > >>>> Try the Yahoo! Mail Beta. > >>>> > >>> > >> > > > http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html > >>>> > >>>> _______________________________________________ > >>>> Linuxppc-embedded mailing list > >>>> Linuxppc-embedded@ozlabs.org > >>>> > >>> > >> > > > https://ozlabs.org/mailman/listinfo/linuxppc-embedded > >>>> > >>> > >>> > >>> > >>> > >>> > >> > > > ______________________________________________________________________ > >> > >>> ______________ > >>> Don't get soaked. Take a quick peak at the > >> forecast > >>> with the Yahoo! Search weather shortcut. > >>> > >> > http://tools.search.yahoo.com/shortcuts/#loc_weather > >>> _______________________________________________ > >>> Linuxppc-embedded mailing list > >>> Linuxppc-embedded@ozlabs.org > >>> > >> > > > https://ozlabs.org/mailman/listinfo/linuxppc-embedded > >> > >> > > > > > > > > > > > ______________________________________________________________________ > > > ______________ > > 8:00? 8:25? 8:40? Find a flick in no time > > with the Yahoo! Search movie showtime shortcut. > > http://tools.search.yahoo.com/shortcuts/#news > > ____________________________________________________________________________________ Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html ^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Differentiate between two e500 core (in mult-core e500) 2007-02-01 4:14 ` vinay hegde @ 2007-02-01 17:14 ` Wang Haiying-r54964 0 siblings, 0 replies; 7+ messages in thread From: Wang Haiying-r54964 @ 2007-02-01 17:14 UTC (permalink / raw) To: vinay hegde, Kumar Gala; +Cc: linuxppc-embedded As Kumar said, you can differentiate cores by reading PIR register. Core0 always starts up after Poweron. you can write a code to kick off core1 in your bootcode, and direct core1's output in another serial port, thus the both cores are running simutaneously, showing output in different console. Then you test both cores as you planed. Haiying =20 >-----Original Message----- >From:=20 >linuxppc-embedded-bounces+haiying.wang=3Dfreescale.com@ozlabs.org >=20 >[mailto:linuxppc-embedded-bounces+haiying.wang=3Dfreescale.com@oz >labs.org] On Behalf Of vinay hegde >Sent: Wednesday, January 31, 2007 11:15 PM >To: Kumar Gala >Cc: linuxppc-embedded@ozlabs.org >Subject: Re: Differentiate between two e500 core (in mult-core e500) > >Hi Kumar, > >Thanks for the pointers. This POST will run from the >bootcode.=20 > >I looked into the block diagram for MPC8572, and it >seems that apart from L1 caches other component are >shared (foe ex, L2, table look-up unit, gigE, SDRAM). >So, I was wondering whether we can do something like - >run _all_ the POST from core 1 and run only L1 cache >test from core 2.=20 > >Actually I referred 'e500 core Family Ref Manual', but >could not get answer to my below question.=20 > >Thanks, >Vinay. > >--- Kumar Gala <galak@kernel.crashing.org> wrote: > >>=20 >> On Jan 31, 2007, at 2:02 AM, vinay hegde wrote: >>=20 >> > Hi, >> > >> > Actually, what I mean is, there are two >> independent L1 >> > caches (one in first e500 core and other in second >> > e500 core) in mpc8572. Now, if I am running cache >> > test(POST) on mpc8572, I must somehow make sure >> that >> > it tests both the L1 caches. Generally, earlier >> there >> > used to be one e500 core, one L1 cache and hence >> cache >> > test does not need to query whether it is testing >> L1 >> > of first core or L1 of second. >> > >> > So, how to make sure that I am testing L1 caches >> on >> > _both_ the e500 cores? >>=20 >> Ok, will it sounds like just want to run your tests >> on both cores. =20 >> It depends on how you are invoking your tests today. >> Is it from =20 >> bootcode? or a Linux app or driver? >>=20 >> - k >>=20 >> >> On Jan 30, 2007, at 10:58 PM, vinay hegde wrote: >> >> >> >>> Hi, >> >>> >> >>> Sorry for the repeat mail on this, I forgot to >> ask >> >> the >> >>> question;-) >> >>> >> >>> If anybody knows how to differentiate one e500 >> >> core >> >>> from another (in multi-core proc's), please post >> a >> >>> message. >> >> >> >> Do you mean some software ID to know which core >> you >> >> are running on? >> >> >> >> If so the PIR should be used for this purpose. >> >> >> >> - k >> >> >> >>> --- vinay hegde <thisismevinay@yahoo.co.in> >> wrote: >> >>> >> >>>> Hi, >> >>>> >> >>>> I have a need to write a POST sort of a test to >> >> test >> >>>> L1 data/inst cache residing on each of the e500 >> >> v2 >> >>>> multi-core seperately (for a network hardware). >> >> This >> >>>> is because multicore e500 has seperate L1 >> caches >> >> and >> >>>> shared L2 cache. >> >>>> >> >>>> This is for mpc8572. I learnt from this list >> that >> >>>> mpc8572 isn't out yet, but thought that >> >>>> differentiating between e500 mult-cores has >> >> nothing >> >>>> to >> >>>> do with mpc8572. >> >>>> >> >>>> Please let me know if you have any inputs. >> >>>> >> >>>> Thanks, >> >>>> Vinay. >> >>>> >> >>>> >> >>>> >> >>>> >> >>> >> >> >> > >> >______________________________________________________________________ >> >> >> >>> ______________ >> >>>> Expecting? Get great news right away with email >> >>>> Auto-Check. >> >>>> Try the Yahoo! Mail Beta. >> >>>> >> >>> >> >> >> > >> >http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html >> >>>> >> >>>> _______________________________________________ >> >>>> Linuxppc-embedded mailing list >> >>>> Linuxppc-embedded@ozlabs.org >> >>>> >> >>> >> >> >> > >> >https://ozlabs.org/mailman/listinfo/linuxppc-embedded >> >>>> >> >>> >> >>> >> >>> >> >>> >> >>> >> >> >> > >> >______________________________________________________________________ >> >> >> >>> ______________ >> >>> Don't get soaked. Take a quick peak at the >> >> forecast >> >>> with the Yahoo! Search weather shortcut. >> >>> >> >> >> http://tools.search.yahoo.com/shortcuts/#loc_weather >> >>> _______________________________________________ >> >>> Linuxppc-embedded mailing list >> >>> Linuxppc-embedded@ozlabs.org >> >>> >> >> >> > >> >https://ozlabs.org/mailman/listinfo/linuxppc-embedded >> >> >> >> >> > >> > >> > >> > >> > >> >______________________________________________________________________ >>=20 >> > ______________ >> > 8:00? 8:25? 8:40? Find a flick in no time >> > with the Yahoo! Search movie showtime shortcut. >> > http://tools.search.yahoo.com/shortcuts/#news >>=20 >>=20 > > > >=20 >_______________________________________________________________ >_____________________ >Expecting? Get great news right away with email Auto-Check.=20 >Try the Yahoo! Mail Beta. >http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html=20 >_______________________________________________ >Linuxppc-embedded mailing list >Linuxppc-embedded@ozlabs.org >https://ozlabs.org/mailman/listinfo/linuxppc-embedded > ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-02-01 17:14 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-01-31 4:46 Differentiate between two e500 core (in mult-core e500) vinay hegde 2007-01-31 4:58 ` vinay hegde 2007-01-31 6:45 ` Kumar Gala 2007-01-31 8:02 ` vinay hegde 2007-01-31 14:37 ` Kumar Gala 2007-02-01 4:14 ` vinay hegde 2007-02-01 17:14 ` Wang Haiying-r54964
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).