linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* How the linux use BAT
@ 2005-10-27 13:05 Noah yan
  2005-10-27 22:37 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 4+ messages in thread
From: Noah yan @ 2005-10-27 13:05 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 864 bytes --]

I am studying source code for power mac. I am curious how linux use the BAT
MMU.
The address translation of BAT MMU is parallel with that of segment/page
MMU. BAT MMU is known as superpages in other architecture.
I am not good at the kernel coding part, hope that my questions share the
common fundermental with you and no stupid.

Here is my questions:
Is the kernel turn BAT MMU on? if so, a BAT array have been setup for that,
which part of the kernel code does this?
If BAT MMU is used, how about segment/page address translation in kernel, is
this also enabled and page table is setup?

If both BAT and seg/page are enabled, how the kernel make sure that the
correct one is used in adress translation?
  Is kernel really use the segment MMU of the powerpc, I have an impression
that most kernel only use the page MMU?


Thanks in advance.

[-- Attachment #2: Type: text/html, Size: 973 bytes --]

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

end of thread, other threads:[~2005-10-28 22:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-27 13:05 How the linux use BAT Noah yan
2005-10-27 22:37 ` Benjamin Herrenschmidt
2005-10-28 15:56   ` Noah yan
2005-10-28 22:39     ` Benjamin Herrenschmidt

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