1
0
Fork 0
alistair23-linux/arch
Kevin Hilman 58a5559e46 OMAP3: PM: ensure IO wakeups are properly disabled
Commit 5a5f561 (convert OMAP3 PRCM macros to the _SHIFT/_MASK suffixes)
mistakenly removed the check for PER when disabling the IO chain.

During idle, if the PER powerdomain transitions into a lower state
and CORE does not, the IO pad wakeups are not being disabled in
the idle path after they are enabled. This can happen with the
lower C-states when using CPUidle for example.

This patch ensures that the check for disabling IO wakeups also checks
for PER transitions, matching the check done to enable IO wakeups.

Found when debugging PM/CPUidle related problems reported by Ameya
Palande <ameya.palande@nokia.com>.  Problems were triggered
particularily on boards with UART2 consoles (n900, Overo) since UART2
is in the PER powerdomain.

Tested on l-o master (omap3_defonfig + CONFIG_CPU_IDLE=y) as well
as with current PM branch.  Boards tested: n900, Overo, omap3evm.

Cc: Paul Walmsley <paul@pwsan.com>
Cc: Ameya Palande <ameya.palande@nokia.com>
Tested-by: Jarkko Nikula <jhnikula@gmail.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
[tony@atomide.com: updated description to clarify the transistion]
Signed-off-by: Tony Lindgren <tony@atomide.com>
2010-08-16 09:22:05 +03:00
..
alpha defconfig reduction 2010-08-14 22:26:53 +02:00
arm OMAP3: PM: ensure IO wakeups are properly disabled 2010-08-16 09:22:05 +03:00
avr32 defconfig reduction 2010-08-14 22:26:53 +02:00
blackfin Merge git://git.infradead.org/mtd-2.6 2010-08-15 17:32:47 -07:00
cris defconfig reduction 2010-08-14 22:26:53 +02:00
frv defconfig reduction 2010-08-14 22:26:53 +02:00
h8300 defconfig reduction 2010-08-14 22:26:53 +02:00
ia64 defconfig reduction 2010-08-14 22:26:53 +02:00
m32r defconfig reduction 2010-08-14 22:26:53 +02:00
m68k defconfig reduction 2010-08-14 22:26:53 +02:00
m68knommu defconfig reduction 2010-08-14 22:26:53 +02:00
microblaze defconfig reduction 2010-08-14 22:26:53 +02:00
mips Merge git://git.infradead.org/mtd-2.6 2010-08-15 17:32:47 -07:00
mn10300 defconfig reduction 2010-08-14 22:26:53 +02:00
parisc defconfig reduction 2010-08-14 22:26:53 +02:00
powerpc archs: replace unifdef-y with header-y 2010-08-14 22:26:51 +02:00
s390 defconfig reduction 2010-08-14 22:26:53 +02:00
score defconfig reduction 2010-08-14 22:26:53 +02:00
sh defconfig reduction 2010-08-14 22:26:53 +02:00
sparc defconfig reduction 2010-08-14 22:26:53 +02:00
tile Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile 2010-08-15 17:31:43 -07:00
um Mark arguments to certain syscalls as being const 2010-08-13 16:53:13 -07:00
x86 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2010-08-15 17:37:07 -07:00
xtensa Mark arguments to certain syscalls as being const 2010-08-13 16:53:13 -07:00
.gitignore
Kconfig Merge branch 'perf/nmi' into perf/core 2010-08-05 08:45:05 +02:00