[U-Boot] [PATCH v4 0/9] armv7: cache maintenance operations

V, Aneesh aneesh at ti.com
Thu Jun 23 07:57:37 CEST 2011


On Wed, Jun 22, 2011 at 11:11 PM, Albert ARIBAUD
<albert.u.boot at aribaud.net> wrote:
> Hi All,
>
> Le 17/06/2011 11:30, Aneesh V a écrit :
>>
>> With D-cache and MMU enabled for ARM in u-boot it becomes imperative to
>> support a minimal set of cache maintenance operations and necessary
>> initializations before enabling MMU.
>>
>> This series of patches attempt to do the following for armv7:
>> * Necessary initialization sequence before enabling MMU that includes
>>   invalidation of TLB, data caches, branch predictor array etc.
>> * Framework for supporting SOC specific outer caches in a generic manner
>>   (using a structure of function pointers - inspired by the Linux
>>   implementation)
>> * Generic armv7 cache maintenance operations for caches known to the CPU
>> * Support for ARM PL310 L2 cache controller used in OMAP4
>> * Cleanup of the cleanup_before_linux() function
>> * Adapting all armv7 SOCs to use the new framework and removing
>>   duplicated code
>
> Sandeep, Minkyu: is the patch series OK with you? If so I'll pull it all in
> ARM and issue a last pull request.

Sandeep, Minkyu,

Would you please let me know if you have any concerns about this series.
If not, it will be good to see this going upstream this release. The
necessary initializations before enabling the cache are missing today.
Also, the absence of proper invalidate and flush functions will be missed
by any driver that uses DMA.

best regards,
Aneesh


More information about the U-Boot mailing list