[PATCH 1/9] 8xx: Fix CONFIG_PIN_TLB.
Dan Malek
dan at embeddedalley.com
Thu Sep 6 08:42:03 EST 2007
On Sep 5, 2007, at 3:23 PM, Scott Wood wrote:
> The IMMRs I've seen from the bootloader are ff000000 (Freescale
> boards)
> and fa200000 (Embedded Planet). AFAICT, the number of fixed TLB
> entries
> is fixed at 4 on these chips, so using the fourth for flash
> wouldn't take
> away any general-purpose TLB entries.
On these same boards, the memory controllers are usually
configured to put the flash somewhere in that space as well.
This is useful for flash file system performance. If you don't
need that, you can allocate the space differently. The point is
cover as much as you can with the IMMR entry and beyond.
Some people like to map external devices out there.
The 8xx variants have different TLB configurations.
You can't assume anything here. Some parts don't have
enough TLBs to make pinning useful, some allow hardware
wiring of only 2. When using hardware wiring, it's always
the upper entries that are wired. Since the number of
entries varies, you can't assume which TLB index
will be wired.
> I certainly agree that it would be nice to check -- my immediate
> goal is
> to get things working, though.
It's more than nice. If you want this to work correctly
and also get the performance enhancement, it needs
to be done.
Thanks.
-- Dan
More information about the Linuxppc-dev
mailing list