21 Sep, 2011
1 commit
-
Preallocate a page table and setup an identity mapping for the MMU
enable code. This means we don't have to "borrow" a page table to
do this, avoiding complexities with L2 cache coherency.Tested-by: Santosh Shilimkar
Tested-by: Shawn Guo
Tested-by: Lorenzo Pieralisi
Signed-off-by: Russell King
02 Jul, 2011
1 commit
-
There are SoCs where attempting to enter a low power state is ignored,
and the CPU continues executing instructions with all state preserved.
It is over-complex at that point to disable the MMU just to call the
resume path.Instead, allow the suspend finisher to return error codes to abort
suspend in this circumstance, where the cpu_suspend internals will then
unwind the saved state on the stack. Also omit the tlb flush as no
changes to the page tables will have happened.Signed-off-by: Russell King
24 Jun, 2011
2 commits
-
Ensure that our temporary page table entry is flushed from the TLB
before we resume normal operations. This ensures that userspace
won't trip over the stale TLB entry.Tested-by: Kevin Hilman
Acked-by: Jean Pihet
Signed-off-by: Russell King -
The first and second arguments shouldn't concern platform code, so
hide them from each platforms caller.Tested-by: Kevin Hilman
Acked-by: Jean Pihet
Signed-off-by: Russell King
13 Jun, 2009
1 commit
-
This patch removes unused asm/suspend.h files for
the following architectures:alpha, arm, ia64, m68k, mips, s390, um
Signed-off-by: Magnus Damm
Acked-by: Pavel Machek
Signed-off-by: Rafael J. Wysocki
03 Aug, 2008
1 commit
-
Move platform independent header files to arch/arm/include/asm, leaving
those in asm/arch* and asm/plat* alone.Signed-off-by: Russell King