linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* TLB SETTING in 440GP
@ 2002-11-10 13:22 Aman
  2002-11-11 13:20 ` Kenneth Johansson
  0 siblings, 1 reply; 2+ messages in thread
From: Aman @ 2002-11-10 13:22 UTC (permalink / raw)
  To: linuxppc embedded


Hi All

Can anybody tell me how the TLB setting is done in PPC 440GP linux. I did a
comparison of TLB mapping between  eval kit and my proprietary board. There
is a huge difference between the both.

Below is the comparison between Eval and Proprietary boards with some sample
TLB numbers

EVAL KIT TLB MAPPING

TLB         EPN            V     S    TS    T        E+RPN
U0123        WIMG        E        UXWR    SXWR
00        C12AD000      1     1     1     00    0012AD000             0000
0001         0            101          111
01        C10111000      1     1     1     00   0010111000             0000
0001         0            101          111
02        C78BC000      1     1     1     00    0078BC000             0000
0001         0            101          111
03        C12AF000      1     1     1     00    0012AF000             0000
0001         0            101          111
04        C12B0000      1     1     1     00    0012B0000             0000
0001         0            101          111
05        C103C000      1     1     1     00    00103C000             0000
0001         0            101          111
07        FDEF9000      1     1     1     00    140000000             0000
0001         0            101          111
12        0FE70000      1     1     1     00     007999000             0000
0001         0            101          111
16        10098000      1     1     1     00     00124F000             0000
0001         0            101          111
37        7FFFF000      1     1     1     00     00117E000             0000
0001         0            101          111

PROPRIETARY BOARD TLB MAPPING

00        C1285000      1     1     1     00   001285000             0000
0001         0            101          111
01        C7A84000   1     1     1     00    007A840000             0000
0001         0            101          111
02        C1286000     1     1     1     00    001286000             0000
0001         0            101          111
03        C7A83000      1     1     1     00    007A83000             0000
0001         0            101          111
04        C7A82000      1     1     1     00    007A82000             0000
0001         0            101          111
05        C1287000     1     1     1     00    001287000             0000
0001         0            101          111
07        FDEF9000      1     1     1     00    140000000             0000
0001         0            101          111
12        C12BF000      1     1     1     00     0012BF000             0000
0001         0            101          111
16        C1289000     1     1     1     00     001289000            0000
0001         0            101          111
37        C12F9000      1     1     1     00    0012F9000             0000
0001         0            101          111

In the above tlb setting , eval kit has tlb EPN starting with  0xC or 0xF or
0x1 or 0x7 where as in the proprietary board the EPN always start with 0xC.
As the TLB setting is not done by me , why is there a vast difference?. Will
this cause any problems during the  kernel booting?.

Can anyone help me in understanding this tlb setting.

Thanking you in advance
Regards
Aman


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: TLB SETTING in 440GP
  2002-11-10 13:22 TLB SETTING in 440GP Aman
@ 2002-11-11 13:20 ` Kenneth Johansson
  0 siblings, 0 replies; 2+ messages in thread
From: Kenneth Johansson @ 2002-11-11 13:20 UTC (permalink / raw)
  To: Aman; +Cc: Linuxppc embedded


On Sun, 2002-11-10 at 14:22, Aman wrote:
>
> Hi All
>
> Can anybody tell me how the TLB setting is done in PPC 440GP linux. I did a
> comparison of TLB mapping between  eval kit and my proprietary board. There
> is a huge difference between the both.

I'm not sure what you are doing but unless the 440 code locks some tlb
entries to be static they should all change to what the system needs in
that instant. Generally TLB is a dynamic thing that should not be the
same so it's not an indication of a problem.

The contents is loaded by the kernel so you should not have to do that.

--
Kenneth Johansson
Ericsson AB                       Tel: +46 8 404 71 83
Borgafjordsgatan 9                Fax: +46 8 404 72 72
164 80 Stockholm                  kenneth.johansson@etx.ericsson.se


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-11 13:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-10 13:22 TLB SETTING in 440GP Aman
2002-11-11 13:20 ` Kenneth Johansson

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).