[OpenBIOS] [PATCH v3] ppc: Set up SLBs for ppc64

Andreas Färber andreas.faerber at web.de
Sun Nov 21 22:55:17 CET 2010


Am 21.11.2010 um 22:24 schrieb Alexander Graf:

> On 21.11.2010, at 21:51, Andreas Färber wrote:
>
>> Set up SLBs with slbmte instead of mtsrin, suggested by Alex.
>>
>> v3:
>> * Continue to use mtmsrin on ppc for simplicity.
>> * Add comment on slbia, suggested by Segher.
>> * Add inline functions {slbia,slbmte}, requested by Alex.
>> * Add inline function mfpvr before Alex asks for it. :)
>>
>> v2:
>> * Don't initialize 64 SLBs, then invalidate them, as in IBM's  
>> application note
>> for the 970. Use slbia instead, recommended by Alex.
>> * Conditionalize when to use SLB or SR.
>>
>> Cc: Alexander Graf <agraf at suse.de>
>> Cc: Segher Boessenkool <segher at kernel.crashing.org>
>> Signed-off-by: Andreas Färber <andreas.faerber at web.de>
>
> Not tested, but if it works:
>
> Signed-off-by: Alexander Graf <agraf at suse.de>

It did before removing the #ifdef'ery. In v3 ppc continues to work.

Thanks, applied as r966.

Andreas


More information about the OpenBIOS mailing list