linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* OMAP3 L2/outer cache enabled in kernel (after being disabled by uBoot)?
@ 2012-01-16 10:03 Joe Woodward
  2012-01-16 10:18 ` Shilimkar, Santosh
  0 siblings, 1 reply; 49+ messages in thread
From: Joe Woodward @ 2012-01-16 10:03 UTC (permalink / raw)
  To: linux-omap

The latest uBoot release (2011.12) disables the L2/outer cache during boot on OMAP boards.
 
uBoot commit: "armv7: disable L2 cache in cleanup_before_linux()" on 6th Dec 2011 by Aneesh V adds the following to 
uBootSources/arch/arm/cpu/armv7/cpu.c:cleanup_before_linux():
  ...
  v7_out_cache_disable();
 
The commit message implies this change was to make booting reliable on OMAP4 by disabling L2 cache before jumping to Linux. Sadly 
this commit also affects OMAP3-based boards...
 
Since switching to uBoot 2011.12 I'm seeing about half the performance on my GUSMTIX Overo (OMAP3530).
 
In the kernel sources there seem to be OMAP4 specific functions for re-enabling the L2 cache (omap4-common.c:omap_l2_cache_init()), 
but none for OMAP3.
 
So my question is... do we expect that Linux should be re-enabling the L2/outer cache during boot after uBoot has disabled it on OMAP3?
 
Cheers,
Joe
 
(See http://lists.denx.de/pipermail/u-boot/2012-January/115056.html for uBoot mailing list on this subject)
 



^ permalink raw reply	[flat|nested] 49+ messages in thread

end of thread, other threads:[~2012-02-02 15:11 UTC | newest]

Thread overview: 49+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-16 10:03 OMAP3 L2/outer cache enabled in kernel (after being disabled by uBoot)? Joe Woodward
2012-01-16 10:18 ` Shilimkar, Santosh
2012-01-16 10:59   ` Russell King - ARM Linux
2012-01-16 12:43     ` Shilimkar, Santosh
2012-01-16 13:13       ` Russell King - ARM Linux
2012-01-16 13:22         ` Shilimkar, Santosh
2012-01-17  8:54           ` Joe Woodward
2012-01-17 12:11             ` Catalin Marinas
2012-01-17 12:27               ` Aneesh V
     [not found]                 ` <CAMQu2gyft96O61Toja-h-MPpzFTQ8dpJWauw3o6qcPQBXEC_6A@mail.gmail.com>
2012-01-17 13:39                   ` Catalin Marinas
2012-01-17 13:58                     ` Shilimkar, Santosh
2012-01-17 16:27                       ` Catalin Marinas
2012-01-17 17:27                         ` Shilimkar, Santosh
2012-01-17 19:39                           ` Nicolas Pitre
2012-01-17 20:27                             ` Shilimkar, Santosh
2012-01-17 20:45                               ` Nicolas Pitre
2012-01-17 20:57                                 ` Nicolas Pitre
2012-01-17 20:58                                 ` Shilimkar, Santosh
2012-01-17 21:02                                   ` Nicolas Pitre
2012-01-18  8:43                                     ` Shilimkar, Santosh
2012-01-17 21:15                               ` Russell King - ARM Linux
2012-01-17 19:47                         ` Russell King - ARM Linux
2012-01-17 20:11                           ` Shilimkar, Santosh
2012-01-17 20:48                             ` Russell King - ARM Linux
2012-01-17 19:43                       ` Russell King - ARM Linux
2012-01-20  8:57                       ` Joe Woodward
2012-01-27 11:45                         ` Joe Woodward
2012-01-27 17:30                         ` Catalin Marinas
2012-01-31  5:21                           ` Aneesh V
2012-01-31  7:31                             ` Catalin Marinas
2012-01-31  7:38                               ` Shilimkar, Santosh
2012-01-31  8:54                                 ` Catalin Marinas
2012-01-31  9:05                                   ` Shilimkar, Santosh
2012-01-31  9:53                                     ` Catalin Marinas
2012-01-31 10:10                                       ` Russell King - ARM Linux
2012-01-31 12:10                                         ` Catalin Marinas
2012-01-31 18:09                                       ` Nicolas Pitre
2012-02-02 14:32                                         ` Catalin Marinas
2012-02-02 14:49                                           ` Russell King - ARM Linux
2012-02-02 15:10                                             ` Catalin Marinas
2012-01-31  9:56                                     ` Russell King - ARM Linux
2012-01-31 10:51                                       ` Shilimkar, Santosh
2012-01-31 18:27                                         ` Nicolas Pitre
2012-02-01  7:12                                           ` Shilimkar, Santosh
2012-01-17 14:18                     ` Grazvydas Ignotas
2012-01-17 13:41                 ` Catalin Marinas
2012-01-17 13:54                   ` Aneesh V
2012-01-17 14:23                   ` Måns Rullgård
2012-01-17 12:01           ` Aneesh V

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).