[PATCH 13/25] OMAP4: PM: Add WakeupGen module as OMAP gic_arch_extn
Woodruff, Richard
r-woodruff2 at ti.com
Thu Sep 15 09:29:32 EDT 2011
> From: Shilimkar, Santosh
> Sent: Thursday, September 15, 2011 7:02 AM
> >> You missed my point in the description. Clockdomain inactive
> >> doesn't depend on idle or WFI execution. Under HW supervison
> >> CPU clock domain can get into inactive when CPU is stalled and
> >> waiting for a read response from slow interconnect.
My understanding is MPSS global clock domain can not gate unless each cpu is in wfi and other conditions are met. Other conditions are a wugen ack that there are no irqs and ocp-bridge logic giving its ok.
What kind of local clock gating is there per cpu or sub-clock domains is not as clear. The mpu's pivot on individual wfi while other blocks in mpuss have other considerations.
The spec is very clear about coherent programmation of wugen and gic. Like being discussed.
Its examples are about how wugen used I've heard about are around transition in and out of standbys at wfi. Wugen will process all irqs before giving ack to sleep, it also has ability to fail sleep if new irqs come in before final idle.
* It may be possible depending on clarifications to handle near wfi, but you might have to do it for -every- cpu's wfi unless you can coordinate who the last one is. Doing it as you go with gic would avoid redoing work over and over at the many wfi calls. This extra work costs in latency and power.
Doing housekeeping along with gic seems better from a run time perspective.
Regards,
Richard W.
More information about the linux-arm-kernel
mailing list