Skip to content

idle-path reorg for interrupt-enabled runtime PM

Kevin Hilman linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2OMAP3: PM: move device-specific special cases from PM core into CPUidlearch/arm/mach-omap2/cpuidle34xx.c arch/arm/mach-omap2/pm34xx.c+48 -160 replies
2/2OMAP2+: GPIO: move late PM out of interrupts-disabled idle patharch/arm/mach-omap2/cpuidle34xx.c arch/arm/mach-omap2/pm.h arch/arm/mach-omap2/pm24xx.c +3 more+67 -4015 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] idle-path reorg for interrupt-enabled runtime PM

From: Kevin Hilman <[email protected]>

This series is a cleanup/reorg/streamline of the core idle path.

The goal is to remove all device-specific idle management out of the core idle path into device-specific code.

This series starts with some of the device-specific hacks currently in the idle path, and also moves GPIO handling out of the core idle loop.

Eventually, all device-specific idle management should be done using the runtime PM hooks of the driver for that device. Until then, temporary hacks belong in the new omap3_device_[idle|resume] functions.

Note that for debug purposes, UART is still managed inside the interrupt-disabled idle path. This is for debug purposes only so that any panic/BUG code that gets triggered before the device resume code is run will not crash the system. As soon as the new omap-serial driver is converted to runtime PM, the UART management can be removed from the idle path as well.

Patch 1 will be queued in my pm-next branch for .37 and patch 2 should be incorporated into baseline for the GPIO hwmod conversion.

Kevin Hilman (2):
OMAP3: PM: move device-specific special cases from PM core into
CPUidle
OMAP2+: GPIO: move late PM out of interrupts-disabled idle path

 arch/arm/mach-omap2/cpuidle34xx.c      |   54 ++++++++++++++++++++++++++++--
 arch/arm/mach-omap2/pm.h               |    2 +
 arch/arm/mach-omap2/pm24xx.c           |    2 +-
 arch/arm/mach-omap2/pm34xx.c           |   48 ++++++++------------------
 arch/arm/plat-omap/gpio.c              |   57 ++++++++++++++++++++++++--------
 arch/arm/plat-omap/include/plat/gpio.h |    4 +--
 6 files changed, 113 insertions(+), 54 deletions(-)
Signature · 1 line
1.7.2.1