M Matt Porter #
Message details and related content
On Sun, Aug 28, 2005 at 06:26:06PM -0600, Grant Likely wrote:
On 8/28/05, Jon Masters [off-list ref] wrote:quoted
On 8/26/05, P. Sadik [off-list ref] wrote: Lovely. We don't do it that way on 405 but we could - since the MMU is heavy soft assisted we could do that - we actually have everything run through the MMU once we've done initial MMU setup, but we do have the ability to mark ranges of addresses for IO and have the concept of TLB pinning to lock ranges of kernel addresses in large translated (BAT like for bigger PPC users) regions using just a few TLB slots. There is also a ZPR (zone protection register), but that's mostly used to fake the usual USER/KERNEL page distinction.I believe TLB pinning was removed in 2.6 in favor of large TLB entries for kernel space. Matt Porter pointed this out to me about a week ago. This will not matter of course if you're not using 2.6. Matt, is there any documentation covering the new design in the kernel tree?
The docs are in the original threads from 3+ years ago. You'll need to read them all to have proper context about the tradeoffs between permanently pinning a couple TLBs versus faulting large TLB replacement. http://ozlabs.org/pipermail/linuxppc-embedded/2002-May/007257.html http://ozlabs.org/pipermail/linuxppc-embedded/2002-May/007317.html http://ozlabs.org/pipermail/linuxppc-embedded/2002-June/007370.html http://ozlabs.org/pipermail/linuxppc-embedded/2002-June/007404.html -Matt