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
i2c
ttm
Kbuild -rw-r--r-- 326 bytes
drm.h -rw-r--r-- 24.5 KB
drmP.h -rw-r--r-- 55.3 KB
drm_buffer.h -rw-r--r-- 4.5 KB
drm_cache.h -rw-r--r-- 1.5 KB
drm_core.h -rw-r--r-- 1.4 KB
drm_crtc.h -rw-r--r-- 35.8 KB
drm_crtc_helper.h -rw-r--r-- 5.6 KB
drm_dp_helper.h -rw-r--r-- 8.6 KB
drm_edid.h -rw-r--r-- 7.2 KB
drm_encoder_slave.h -rw-r--r-- 5.7 KB
drm_fb_helper.h -rw-r--r-- 4.1 KB
drm_fixed.h -rw-r--r-- 2.1 KB
drm_fourcc.h -rw-r--r-- 8.0 KB
drm_global.h -rw-r--r-- 2.0 KB
drm_hashtab.h -rw-r--r-- 2.5 KB
drm_mem_util.h -rw-r--r-- 2.0 KB
drm_memory.h -rw-r--r-- 1.9 KB
drm_mm.h -rw-r--r-- 6.2 KB
drm_mode.h -rw-r--r-- 11.8 KB
drm_os_linux.h -rw-r--r-- 3.9 KB
drm_pciids.h -rw-r--r-- 52.5 KB
drm_sarea.h -rw-r--r-- 2.6 KB
drm_sysfs.h -rw-r--r-- 300 bytes
drm_usb.h -rw-r--r-- 375 bytes
exynos_drm.h -rw-r--r-- 4.3 KB
gma_drm.h -rw-r--r-- 2.4 KB
i810_drm.h -rw-r--r-- 9.7 KB
i915_drm.h -rw-r--r-- 26.4 KB
intel-gtt.h -rw-r--r-- 1.5 KB
mga_drm.h -rw-r--r-- 12.6 KB
nouveau_drm.h -rw-r--r-- 6.8 KB
r128_drm.h -rw-r--r-- 9.7 KB
radeon_drm.h -rw-r--r-- 33.4 KB
savage_drm.h -rw-r--r-- 6.9 KB
sis_drm.h -rw-r--r-- 2.5 KB
via_drm.h -rw-r--r-- 8.2 KB
vmwgfx_drm.h -rw-r--r-- 21.9 KB

back to top