Re: [PATCH 04/10] 8xx: Always pin kernel instruction TLB
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2009-12-09 08:56:48
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2009-12-09 08:56:48
On Wed, 2009-12-09 at 08:39 +0100, Joakim Tjernlund wrote:
The later isn't as simple :) I believe the bulk of such code in entry_32.S.
Yeah but it would be useful for hash I suppose if one really wants to boot with nobats. Though at least on hash most of the time we have ways to recover by mean of MSR:RI being cleared, which your TLB miss code doesn't check...
Anyhow, the config option is still valid as if enabled it will pin several DTLB's too. Scott had some concerns about removing the config option completely so this was the next best thing.
Well, if you want to pin at least one entry, then just remove the #if completely but don't leave a #if 1 :-) Cheers, Ben.