Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] OMAP2+: powerdomain: add fn to determine whether pwrdm is always on
@ 2011-03-08  2:15 Paul Walmsley
  2011-03-08  2:15 ` [PATCH 1/3] OMAP2/3: WKUP powerdomain: mark as being " Paul Walmsley
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Paul Walmsley @ 2011-03-08  2:15 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

this series adds an OMAP powerdomain API function that allows its
callers to determine whether a particular powerdomain can ever lose
register or memory bank context while the SoC is powered.  This is
intended for use by driver-subarch integration code (i.e.,
arch/arm/*omap*) to pass a flag to the driver to determine whether it
is necessary to save and restore driver context.

As part of this series, fix some long-standing bugs in the powerdomain
data.  These fixes are necessary for this function to work, and also
for OSWR support.

Tested on OMAP35xx BeagleBoard and OMAP44xx Pandaboard.


- Paul

pwrdm_add_can_lose_context_fns_2.6.39
   text	   data	    bss	    dec	    hex	filename
5795912	 501512	5598936	11896360	 b58628	vmlinux.omap2plus_defconfig.orig
5796064	 501512	5598936	11896512	 b586c0	vmlinux.omap2plus_defconfig

Paul Walmsley (3):
      OMAP2/3: WKUP powerdomain: mark as being always on
      OMAP2+: powerdomain: fix bank power state bitfields
      OMAP2+: powerdomain: add pwrdm_can_ever_lose_context()


 arch/arm/mach-omap2/powerdomain.c                |   43 +++++++++++
 arch/arm/mach-omap2/powerdomain.h                |   18 ++---
 arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.c |    9 +-
 arch/arm/mach-omap2/powerdomains2xxx_data.c      |   18 ++---
 arch/arm/mach-omap2/powerdomains3xxx_data.c      |   38 +++++-----
 arch/arm/mach-omap2/powerdomains44xx_data.c      |   84 +++++++++++-----------
 6 files changed, 125 insertions(+), 85 deletions(-)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-03-09  1:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-08  2:15 [PATCH 0/3] OMAP2+: powerdomain: add fn to determine whether pwrdm is always on Paul Walmsley
2011-03-08  2:15 ` [PATCH 1/3] OMAP2/3: WKUP powerdomain: mark as being " Paul Walmsley
2011-03-08  2:15 ` [PATCH 2/3] OMAP2+: powerdomain: fix bank power state bitfields Paul Walmsley
2011-03-08  2:15 ` [PATCH 3/3] OMAP2+: powerdomain: add pwrdm_can_ever_lose_context() Paul Walmsley
2011-03-08  9:16   ` Varadarajan, Charulatha
2011-03-08 18:10     ` Paul Walmsley
2011-03-09  1:41       ` Varadarajan, Charulatha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox