Skip to contentSkip to conversation

Differentiate between two e500 core (in mult-core e500)

DISCUSSION vinay hegde 3 participants 7 messages Jan 31, 2007 – Feb 1, 2007

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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.

Quoted 14 lines · --- vinay hegde

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.

Quoted 8 lines

Please let me know if you have any inputs.

Thanks,
Vinay.

____________________________________________________________________________________

Quoted 4 lines

Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.

http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html

Quoted 5 lines

_______________________________________________
Linuxppc-embedded mailing list
[email protected]

https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Quoted 1 line

____________________________________________________________________________________
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

#2 lore raw
Quoted 8 lines · vinay hegde

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

Quoted 49 lines
Quoted 14 lines · --- vinay hegde

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.

Quoted 8 lines

Please let me know if you have any inputs.

Thanks,
Vinay.

____________________________________________________________________________________

Quoted 4 lines

Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.

http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html

Quoted 5 lines

_______________________________________________
Linuxppc-embedded mailing list
[email protected]

https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Quoted 1 line

____________________________________________________________________________________
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 [email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

#3 lore raw

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.

Quoted 31 lines · --- Kumar Gala
Quoted 3 lines · vinay hegde

Hi,

Sorry for the repeat mail on this, I forgot to ask

the

Quoted 3 lines

question;-)

If anybody knows how to differentiate one e500

core

Quoted 2 lines

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

Quoted 5 lines
Quoted 3 lines · --- vinay hegde

Hi,

I have a need to write a POST sort of a test to

test

Quoted 1 line
Quoted 1 line

L1 data/inst cache residing on each of the e500

v2

Quoted 1 line
Quoted 1 line

multi-core seperately (for a network hardware).

This

Quoted 21 lines
Quoted 1 line
Quoted 1 line

is because multicore e500 has seperate L1 caches

and

Quoted 5 lines
Quoted 5 lines

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

Quoted 12 lines
Quoted 11 lines

to
do with mpc8572.

Please let me know if you have any inputs.

Thanks,
Vinay.

______________________________________________________________________

Quoted 8 lines
Quoted 7 lines

______________

Quoted 4 lines

Expecting? Get great news right away with email
Auto-Check.
Try the Yahoo! Mail Beta.

http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html

Quoted 7 lines
Quoted 6 lines
Quoted 5 lines

_______________________________________________
Linuxppc-embedded mailing list
[email protected]

https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Quoted 7 lines
Quoted 6 lines
Quoted 1 line

______________________________________________________________________

Quoted 12 lines
Quoted 3 lines

______________
Don't get soaked. Take a quick peak at the

forecast

Quoted 2 lines

with the Yahoo! Search weather shortcut.

http://tools.search.yahoo.com/shortcuts/#loc_weather

Quoted 4 lines

_______________________________________________
Linuxppc-embedded mailing list
[email protected]

https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Quoted 2 lines

____________________________________________________________________________________
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

#4 lore raw
Quoted 11 lines · vinay hegde

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.

Quoted 2 lines

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

Quoted 100 lines
Quoted 30 lines · vinay hegde
Quoted 4 lines

Hi,

Sorry for the repeat mail on this, I forgot to ask

the

Quoted 3 lines

question;-)

If anybody knows how to differentiate one e500

core

Quoted 2 lines

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

Quoted 5 lines
Quoted 3 lines · --- vinay hegde

Hi,

I have a need to write a POST sort of a test to

test

Quoted 1 line
Quoted 1 line

L1 data/inst cache residing on each of the e500

v2

Quoted 1 line
Quoted 1 line

multi-core seperately (for a network hardware).

This

Quoted 21 lines
Quoted 1 line
Quoted 1 line

is because multicore e500 has seperate L1 caches

and

Quoted 5 lines
Quoted 5 lines

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

Quoted 12 lines
Quoted 11 lines

to
do with mpc8572.

Please let me know if you have any inputs.

Thanks,
Vinay.

______________________________________________________________________

Quoted 8 lines
Quoted 7 lines

______________

Quoted 4 lines

Expecting? Get great news right away with email
Auto-Check.
Try the Yahoo! Mail Beta.

http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html

Quoted 7 lines
Quoted 6 lines
Quoted 5 lines

_______________________________________________
Linuxppc-embedded mailing list
[email protected]

https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Quoted 7 lines
Quoted 6 lines
Quoted 1 line

______________________________________________________________________

Quoted 12 lines
Quoted 3 lines

______________
Don't get soaked. Take a quick peak at the

forecast

Quoted 2 lines

with the Yahoo! Search weather shortcut.

http://tools.search.yahoo.com/shortcuts/#loc_weather

Quoted 4 lines

_______________________________________________
Linuxppc-embedded mailing list
[email protected]

https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Quoted 2 lines

____________________________________________________________________________________
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

#5 lore raw

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.

Quoted 64 lines · --- Kumar Gala
Quoted 3 lines · vinay hegde

Hi,

Actually, what I mean is, there are two

independent L1

Quoted 3 lines

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

Quoted 1 line

it tests both the L1 caches. Generally, earlier

there

Quoted 1 line

used to be one e500 core, one L1 cache and hence

cache

Quoted 1 line

test does not need to query whether it is testing

L1

Quoted 3 lines

of first core or L1 of second.

So, how to make sure that I am testing L1 caches

on

Quoted 1 line

_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

Quoted 5 lines
Quoted 5 lines · vinay hegde
Quoted 4 lines

Hi,

Sorry for the repeat mail on this, I forgot to

ask

Quoted 6 lines
Quoted 6 lines

the

Quoted 3 lines

question;-)

If anybody knows how to differentiate one e500

core

Quoted 1 line

from another (in multi-core proc's), please post

a

Quoted 3 lines
Quoted 3 lines
Quoted 1 line

message.

Do you mean some software ID to know which core

you

Quoted 7 lines
Quoted 7 lines

are running on?

If so the PIR should be used for this purpose.

- k

Quoted 1 line

--- vinay hegde <[email protected]>

Quoted 8 lines · wrote:
Quoted 8 lines
Quoted 4 lines
Quoted 4 lines

Hi,

I have a need to write a POST sort of a test to

test

Quoted 1 line
Quoted 1 line

L1 data/inst cache residing on each of the e500

v2

Quoted 1 line
Quoted 1 line

multi-core seperately (for a network hardware).

Quoted 26 lines
Quoted 2 lines
Quoted 2 lines

This

Quoted 1 line
Quoted 1 line

is because multicore e500 has seperate L1

caches

Quoted 4 lines
Quoted 4 lines

and

Quoted 3 lines
Quoted 3 lines

shared L2 cache.

This is for mpc8572. I learnt from this list

that

Quoted 17 lines
Quoted 16 lines
Quoted 2 lines
Quoted 2 lines

mpc8572 isn't out yet, but thought that
differentiating between e500 mult-cores has

nothing

Quoted 12 lines
Quoted 11 lines

to
do with mpc8572.

Please let me know if you have any inputs.

Thanks,
Vinay.

______________________________________________________________________

Quoted 10 lines
Quoted 9 lines
Quoted 8 lines
Quoted 7 lines

______________

Quoted 4 lines

Expecting? Get great news right away with email
Auto-Check.
Try the Yahoo! Mail Beta.

http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html

Quoted 9 lines
Quoted 8 lines
Quoted 7 lines
Quoted 6 lines
Quoted 5 lines

_______________________________________________
Linuxppc-embedded mailing list
[email protected]

https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Quoted 9 lines
Quoted 8 lines
Quoted 7 lines
Quoted 6 lines
Quoted 1 line

______________________________________________________________________

Quoted 15 lines
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines

______________
Don't get soaked. Take a quick peak at the

forecast

Quoted 2 lines

with the Yahoo! Search weather shortcut.

http://tools.search.yahoo.com/shortcuts/#loc_weather

Quoted 6 lines
Quoted 5 lines
Quoted 4 lines

_______________________________________________
Linuxppc-embedded mailing list
[email protected]

https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Quoted 8 lines
Quoted 7 lines
Quoted 2 lines

______________________________________________________________________

Quoted 7 lines
Quoted 5 lines

______________
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

#6 lore raw

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

Quoted 199 lines

-----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: [email protected]
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.

Quoted 64 lines · --- Kumar Gala

=20
On Jan 31, 2007, at 2:02 AM, vinay hegde wrote:
=20

Quoted 3 lines

Hi,

Actually, what I mean is, there are two

independent L1

Quoted 3 lines

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

Quoted 1 line

it tests both the L1 caches. Generally, earlier

there

Quoted 1 line

used to be one e500 core, one L1 cache and hence

cache

Quoted 1 line

test does not need to query whether it is testing

L1

Quoted 3 lines

of first core or L1 of second.

So, how to make sure that I am testing L1 caches

on

Quoted 1 line

_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

Quoted 5 lines
Quoted 5 lines · vinay hegde
Quoted 4 lines

Hi,

Sorry for the repeat mail on this, I forgot to

ask

Quoted 6 lines
Quoted 6 lines

the

Quoted 3 lines

question;-)

If anybody knows how to differentiate one e500

core

Quoted 1 line

from another (in multi-core proc's), please post

a

Quoted 3 lines
Quoted 3 lines
Quoted 1 line

message.

Do you mean some software ID to know which core

you

Quoted 7 lines
Quoted 7 lines

are running on?

If so the PIR should be used for this purpose.

- k

Quoted 1 line

--- vinay hegde <[email protected]>

Quoted 8 lines · wrote:
Quoted 8 lines
Quoted 4 lines
Quoted 4 lines

Hi,

I have a need to write a POST sort of a test to

test

Quoted 1 line
Quoted 1 line

L1 data/inst cache residing on each of the e500

v2

Quoted 1 line
Quoted 1 line

multi-core seperately (for a network hardware).

Quoted 26 lines
Quoted 2 lines
Quoted 2 lines

This

Quoted 1 line
Quoted 1 line

is because multicore e500 has seperate L1

caches

Quoted 4 lines
Quoted 4 lines

and

Quoted 3 lines
Quoted 3 lines

shared L2 cache.

This is for mpc8572. I learnt from this list

that

Quoted 17 lines
Quoted 16 lines
Quoted 2 lines
Quoted 2 lines

mpc8572 isn't out yet, but thought that
differentiating between e500 mult-cores has

nothing

Quoted 12 lines
Quoted 11 lines

to
do with mpc8572.

Please let me know if you have any inputs.

Thanks,
Vinay.

______________________________________________________________________

Quoted 10 lines
Quoted 9 lines
Quoted 8 lines
Quoted 7 lines

______________

Quoted 4 lines

Expecting? Get great news right away with email
Auto-Check.
Try the Yahoo! Mail Beta.

http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html

Quoted 9 lines
Quoted 8 lines
Quoted 7 lines
Quoted 6 lines
Quoted 5 lines

_______________________________________________
Linuxppc-embedded mailing list
[email protected]

https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Quoted 9 lines
Quoted 8 lines
Quoted 7 lines
Quoted 6 lines
Quoted 1 line

______________________________________________________________________

Quoted 15 lines
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines

______________
Don't get soaked. Take a quick peak at the

forecast

Quoted 2 lines

with the Yahoo! Search weather shortcut.

http://tools.search.yahoo.com/shortcuts/#loc_weather

Quoted 6 lines
Quoted 5 lines
Quoted 4 lines

_______________________________________________
Linuxppc-embedded mailing list
[email protected]

https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Quoted 8 lines
Quoted 7 lines
Quoted 2 lines

______________________________________________________________________

Quoted 7 lines

=20

Quoted 4 lines

______________
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 [email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded