linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* 440GX MMU
@ 2004-12-06 18:23 Barbier, Renaud (GE Infrastructure)
  2004-12-06 18:39 ` Kumar Gala
  0 siblings, 1 reply; 3+ messages in thread
From: Barbier, Renaud (GE Infrastructure) @ 2004-12-06 18:23 UTC (permalink / raw)
  To: linuxppc-embedded


can someone explain to me the purpose of the TS bit in the 440GX TLBs?

In the 440GX BSP, what is the point to map twice memory offset 0 (once =
with TS=3D0 and once with TS=3D1).
Is that for context switch?

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

* Re: 440GX MMU
  2004-12-06 18:23 440GX MMU Barbier, Renaud (GE Infrastructure)
@ 2004-12-06 18:39 ` Kumar Gala
  2004-12-06 20:15   ` Matt Porter
  0 siblings, 1 reply; 3+ messages in thread
From: Kumar Gala @ 2004-12-06 18:39 UTC (permalink / raw)
  To: Barbier, Renaud (GE Infrastructure); +Cc: linuxppc-embedded

The TS provides an additional bit of address space on Book-E processors 
(440, e500, etc).  An exception automatically clears the MSR[IS, DS] 
fields which are used to compare against the TLB's TS field.

It was the case at one point in time (may still be) that on 440, the 
interrupt context was TS = 0, everything else was TS = 1.  Matt was 
going to (or may have) changed it so everything is TS = 0 so we could 
save a few TLB entries.

- kumar

On Dec 6, 2004, at 12:23 PM, Barbier, Renaud ((GE Infrastructure)) 
wrote:

>
>
> can someone explain to me the purpose of the TS bit in the 440GX TLBs?
>
> In the 440GX BSP, what is the point to map twice memory offset 0 (once 
> with TS=0 and once with TS=1).
>  Is that for context switch?
>
> _______________________________________________
> Linuxppc-embedded mailing list
>  Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded

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

* Re: 440GX MMU
  2004-12-06 18:39 ` Kumar Gala
@ 2004-12-06 20:15   ` Matt Porter
  0 siblings, 0 replies; 3+ messages in thread
From: Matt Porter @ 2004-12-06 20:15 UTC (permalink / raw)
  To: Kumar Gala; +Cc: Barbier, Renaud (GE Infrastructure), linuxppc-embedded

On Mon, Dec 06, 2004 at 12:39:49PM -0600, Kumar Gala wrote:
> The TS provides an additional bit of address space on Book-E processors 
> (440, e500, etc).  An exception automatically clears the MSR[IS, DS] 
> fields which are used to compare against the TLB's TS field.
> 
> It was the case at one point in time (may still be) that on 440, the 
> interrupt context was TS = 0, everything else was TS = 1.  Matt was 
> going to (or may have) changed it so everything is TS = 0 so we could 
> save a few TLB entries.

It's changed in 2.6 (all AS=0), in 2.4 I never got around to finishing
the update to the MMU handling. Since then, 2.6 has gone way beyond
2.4 in features/fixes so I don't intend to do anything more with
2.4. Patches are welcome for linuxppc-2.4, though.

-Matt

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

end of thread, other threads:[~2004-12-06 20:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-06 18:23 440GX MMU Barbier, Renaud (GE Infrastructure)
2004-12-06 18:39 ` Kumar Gala
2004-12-06 20:15   ` Matt Porter

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