1. 09 2月, 2009 23 次提交
  2. 08 2月, 2009 7 次提交
  3. 02 2月, 2009 3 次提交
  4. 31 1月, 2009 4 次提交
  5. 30 1月, 2009 3 次提交
    • K
      ARM: OMAP: fix fault in enter_full_retention() · 0dc23d70
      Kevin Hilman 提交于
      In omap24xx_cpu_suspend assembly routine, the r2 register which holds
      the address of the SDRC_POWER reg is set to zero before the value is
      written back triggering a fault due to writing to address zero.
      
      It's hard to tell where this change was introduced since this file
      has been moved and merged.
      
      While this fix prevents a crash, suspend on my n810 is broken with
      current kernels.  I never come out of suspend.
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      
      
      
      
      0dc23d70
    • ARM: OMAP: Mask interrupts when disabling interrupts, v2 · 5461af5a
      김규원 提交于
      By Ingo Molnar, interrupts are not masked by default.
      (refer to 76d21601)
      
      But if interrupts are not masked, the processor can wake up while in
      Suspend-to-RAM state by an external interrupt. For example, if an
      OMAP3 board is connected to Host PC by USB and entered to Suspend-to-RAM
      state, it wake up automatically by M_IRQ_92. The disable_irq() function
      can't disable the interrupt in H/W level, So I modified
      arch/arm/mach-omap2/irq.c
      Signed-off-by: NKim Kyuwon <chammoru@gmail.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      
      
      
      
      
      5461af5a
    • A
      ARM: OMAP: gptimer min_delta_ns corrected · df88acbb
      Aaro Koskinen 提交于
      When 32 kHz timer is used the min_delta_ns should be initialized so
      that it reflects the timer programming cost. A write to the timer
      device will be usually posted, but it takes roughly 3 cycles before
      it is effective. If the timer is reprogrammed before that, the CPU
      will stall until the previous write completes. This was pointed out by
      Richard Woodruff.
      
      Since the lower bound for min_delta_ns is 1000, the change is visible
      only with tick rates less than 3 MHz.
      
      Also note that the old value is incorrect for 32 kHz also due to
      a rounding error, and it can cause the timer queue to hang (due to
      clockevent code trying to program the timer with zero ticks).
      Signed-off-by: NAaro Koskinen <Aaro.Koskinen@nokia.com>
      Reviewed-by: NRichard Woodruff <r-woodruff2@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      
      df88acbb