[U-Boot] [PATCH] ppc: Unlock cache-as-ram in a consistent manner

Kumar Gala galak at kernel.crashing.org
Tue Jul 21 15:51:43 CEST 2009


On Jul 20, 2009, at 6:44 PM, Liu Dave-R63238 wrote:

>>>> I've tested this on 86xx boards, it'd be great if someone
>>>> could test on
>>>> 83xx and 74xx/7xx.  85xx boards should not be affected by
>> this change.
>>>>
>>>> This change assumes
>>>> http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/63423
>>>> has already been applied, or the lib/ppc patches in the diffs
>>>> below can
>>>> be changed to lib_ppc.
>>>
>>> I'm afraid some 83xx boards will not work after the patch
>> is applied.
>>> It is some was assuming the data cache locked. (that is
>> cache-inhibited)
>>
>> Are you just concerned, or did you actually test the patch, with
>> negative results?
>
> I'm just concerned. I didn't test the patch.

I still don't understand the concern.  I think we should go ahead with  
this patch and if it really shows an issue we can revert it.  However,  
I'm really dont know under what situation that a board has defined  
CONFIG_SYS_INIT_RAM_LOCK that unlock_ram_in_cache() once we are  
running in RAM should be an issue.

- k


More information about the U-Boot mailing list