linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* cpu_suspend does not flush the L2 cache
@ 2011-07-25 18:49 Scott Williams
  2011-07-25 20:08 ` Russell King - ARM Linux
  0 siblings, 1 reply; 7+ messages in thread
From: Scott Williams @ 2011-07-25 18:49 UTC (permalink / raw)
  To: linux-arm-kernel

In 2.6.39, CPU suspend/resumes crashes if an outer cache controller (like a PL310) is configured and enabled. cpu_suspend only flushes the L1 cache. If an outer cache controller is enabled, the context and saved stack pointer are left sitting in the L2 memory. An attempt to resume a secondary CPU without shutting down the entire CPU complex and flushing the entire L2 cache will cause the secondary CPU to crash because the stack pointer in sleep_save_sp is invalid in L3 memory.

Scott Williams
Sr. Software Engineer
NVIDIA Corporation

--
nvpublic

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

end of thread, other threads:[~2011-07-28 18:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-25 18:49 cpu_suspend does not flush the L2 cache Scott Williams
2011-07-25 20:08 ` Russell King - ARM Linux
2011-07-25 21:31   ` Will Deacon
2011-07-28  8:15   ` Barry Song
2011-07-28  9:57     ` Santosh Shilimkar
2011-07-28 17:14       ` Scott Williams
2011-07-28 18:10         ` Lorenzo Pieralisi

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).