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

    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

    Russell King
     

24 Jun, 2011

2 commits


13 Jun, 2009

1 commit


03 Aug, 2008

1 commit