Revision 197234520bd83aba2199add57a9d2678ee7f9781 authored by Paul Walmsley on 26 January 2012, 02:50:56 UTC, committed by Greg Kroah-Hartman on 09 February 2012, 18:48:36 UTC
The receive FIFO wakeup latency estimate in the omap-serial driver is
three orders of magnitude too small.  This effectively prevents the
MPU from going to a low-power state when CONFIG_CPU_IDLE=y.  This is a
major power management regression and masks some other FIFO-related
bugs in the driver.

Fix by correcting the most egregious problem in the RX wakeup latency
estimate.  There are several other flaws in the estimator; these will
be fixed by a separate patch series intended for 3.4.

The difference in low-power states with this patch can be observed via
debugfs in pm_debug/count.

This estimate does not have any effect when CONFIG_CPU_IDLE=n.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Alan Cox <alan@linux.intel.com>
Acked-by: Govindraj.R <govindraj.raja@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Tested-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent be4b028
History
File Mode Size
apparmor
integrity
keys
selinux
smack
tomoyo
Kconfig -rw-r--r-- 7.9 KB
Makefile -rw-r--r-- 941 bytes
capability.c -rw-r--r-- 23.2 KB
commoncap.c -rw-r--r-- 27.1 KB
device_cgroup.c -rw-r--r-- 11.5 KB
inode.c -rw-r--r-- 6.7 KB
lsm_audit.c -rw-r--r-- 9.0 KB
min_addr.c -rw-r--r-- 1.3 KB
security.c -rw-r--r-- 33.1 KB

back to top