L2 Cache enable on i.MX5

Robert Daniels robert.daniels at vantagecontrols.com
Wed Jun 24 15:53:01 PDT 2015


>> I recently discovered an issue with an i.MX53 based product where we had
>> an older version of Das U-Boot which disabled the L2 cache on startup but
>> in a later version would re-enable it once the L2 cache was configured.

> The kernel is supposed to be booted with caches disabled, and in particular,
> the L2 cache disabled during the decompressor run.

> If the L2 cache is configured, it will enable it during it's boot sequence.

I see - so the boot loader is not supposed to enable the L2 cache and it should
not be enabled until after the decompressor runs.

In that case, where should the kernel be enabling the L2 cache? I'm using the
3.14 kernel for this i.MX53 product and the L2 cache is definitely not enabled.

I see that there is a imx_init_l2cache defined which is being called by the imx6
and imx35 platform code but it is not being called for the i.mx5... should it?

Thanks,

Robert Daniels

________________________________

Ce message, ainsi que tous les fichiers joints à ce message, peuvent contenir des informations sensibles et/ ou confidentielles ne devant pas être divulguées. Si vous n'êtes pas le destinataire de ce message (ou que vous recevez ce message par erreur), nous vous remercions de le notifier immédiatement à son expéditeur, et de détruire ce message. Toute copie, divulgation, modification, utilisation ou diffusion, non autorisée, directe ou indirecte, de tout ou partie de ce message, est strictement interdite.
Se désabonner: Si vous souhaitez être retiré de notre liste de diffusion, s'il vous plaît envoyer vos coordonnées à CASL.unsubscribe at legrand.ca<mailto:casl.unsubscribe at legrand.ca> et indiquer quels sont les messages que vous ne souhaitez plus recevoir.


This e-mail, and any document attached hereby, may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized, direct or indirect, copying, disclosure, distribution or other use of the material or parts thereof is strictly forbidden.
Unsubscribe: If you would like to be removed from our mailing list, please send your contact information to CASL.unsubscribe at legrand.ca<mailto:casl.unsubscribe at legrand.ca> and indicate what messages you no longer wish to receive.



More information about the linux-arm-kernel mailing list