[PATCH v4 13/21] ARM: omap: convert wakeupgen to stacked domains

Tony Lindgren tony at atomide.com
Wed Jan 21 12:43:47 PST 2015


* santosh shilimkar <santosh.shilimkar at oracle.com> [150121 12:16]:
> On 1/21/2015 10:36 AM, Tony Lindgren wrote:
> >* Marc Zyngier <marc.zyngier at arm.com> [150121 09:25]:
> >>On 21/01/15 16:30, Tony Lindgren wrote:
> >>
> >>>I gave this a quick boot test on am437x-gp-evm and the
> >>>interrupts look OK with the fix also applied:
> >>>
> >>># cat /proc/interrupts
> >>>             CPU0
> >>>  16:        657     WUGEN  68  gp_timer
> >>>  18:          0     WUGEN   9  l3-dbg-irq
> >>>  19:          0     WUGEN  10  l3-app-irq
> >>>  20:          5     WUGEN  12  edma
> >>>  22:          0     WUGEN  14  edma_error
> >>>  23:         96     WUGEN  72  OMAP UART0
> >>>  33:          0  44e07000.gpio   6  mmc0
> >>>158:         52     WUGEN  70  44e0b000.i2c
> >>>159:          0     WUGEN  71  4802a000.i2c
> >>>160:         35     WUGEN  64  mmc0
> >>>161:          0     WUGEN  40  4a100000.ethernet
> >>>162:       7739     WUGEN  41  4a100000.ethernet
> >>>163:       7608     WUGEN  42  4a100000.ethernet
> >>>164:          0     WUGEN  43  4a100000.ethernet
> >>>170:          0     WUGEN 100  gpmc
> >>>180:          0     WUGEN   7  tps65218
> >>>IPI0:          0  CPU wakeup interrupts
> >>>IPI1:          0  Timer broadcast interrupts
> >>>IPI2:          0  Rescheduling interrupts
> >>>IPI3:          0  Function call interrupts
> >>>IPI4:          0  Single function call interrupts
> >>>IPI5:          0  CPU stop interrupts
> >>>IPI6:          0  IRQ work interrupts
> >>>IPI7:          0  completion interrupts
> >>>Err:          0
> >>
> >>Interesting. No TWD timer on this one?
> >
> >Good question, adding Felipe to cc. It eems to be there in
> >the TRM in "Table 2-3.  L4_PER Peripheral Memory Map" as
> >MPU_PRV_TIMERS. Also seems to actually work with the
> >attached patch:
> >
> TWD is useless on this machine since single core and TWD
> as know die in low power states. All the broadcast stuff
> is for SMP machines.

Hmm it seems we should still use TWD during runtime and
swich over to the gptimer for idle states for wake-up
events.

Regards,

Tony



More information about the linux-arm-kernel mailing list