[PATCHv3 0/9] ARM: OMAP3+: pwrdm changes for usecounting
Tero Kristo
t-kristo at ti.com
Thu May 31 09:28:53 EDT 2012
Hi,
Refreshed the patches against latest mainline kernel, and did some
updates mainly proposed by Nishanth Menon <nm at ti.com>. Changes compared
to previous version:
patch 1:
- added check against null pointer
patch 2:
- added BUG_ON in case clkdm / pwrdm usecount goes negative
patch 3:
- added BUG_ON in case voltdm usecount goes negative
- removed smartreflex enable / disable from voltdm code (this should
be added in a separate patch once this is deemed safe)
- changed target_state from int to u8
patch 4:
- changed idle loop count initializations to happen synchronously with
PM init, this avoids potential trouble in a case where a CPU would
enter idle before usecount init for the idle has been done
- added functions pwrdm_cpu_wakeup + pwrdm_cpu_idle to be called from idle
cycle
patch 7:
- changed flag name from CLKDM_NO_MANUAL_TRANS to CLKDM_SKIP_MANUAL_TRANS
patch 9:
- added as new patch, would appreciate testing for this one!
Tested on omap3 beagle + boot tested on omap4460 panda es. Previous version
of this set had some issues with omap3430 devices (n900), which might have
been caused by improper clock handling or security on these devices. I can't
test these patches myself on n900, so if someone could do this that would
be extra nice.
git tree also available:
tree: git://gitorious.org/~kristo/omap-pm/omap-pm-work.git
branch: mainline-3.4-pwrdm-changes-v3
-Tero
More information about the linux-arm-kernel
mailing list