https://github.com/torvalds/linux
Revision a0219fbdacc01e039d1b158d16141349a3309915 authored by Kalle Jokiniemi on 14 October 2009, 22:40:37 UTC, committed by paul on 14 October 2009, 22:40:37 UTC
There is a possible race condition in clockdomain
code handling hw supported idle transitions.

When multiple autodeps dependencies are being added
or removed, a transition of still remaining dependent
powerdomain can result in false readings of the
state counter. This is especially fatal for off mode
state counter, as it could result in a driver not
noticing a context loss.

Fixed by disabling hw supported state transitions
when autodeps are being changed.

Signed-off-by: Kalle Jokiniemi <kalle.jokiniemi@digia.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>

1 parent 1612913
History
Tip revision: a0219fbdacc01e039d1b158d16141349a3309915 authored by Kalle Jokiniemi on 14 October 2009, 22:40:37 UTC
OMAP: Fix race condition with autodeps
Tip revision: a0219fb
File Mode Size
Kconfig -rw-r--r-- 2.5 KB
Kconfig.iosched -rw-r--r-- 1.9 KB
Makefile -rw-r--r-- 582 bytes
as-iosched.c -rw-r--r-- 38.8 KB
blk-barrier.c -rw-r--r-- 10.6 KB
blk-core.c -rw-r--r-- 67.2 KB
blk-exec.c -rw-r--r-- 2.6 KB
blk-integrity.c -rw-r--r-- 9.9 KB
blk-ioc.c -rw-r--r-- 4.0 KB
blk-iopoll.c -rw-r--r-- 5.9 KB
blk-map.c -rw-r--r-- 8.1 KB
blk-merge.c -rw-r--r-- 10.8 KB
blk-settings.c -rw-r--r-- 22.7 KB
blk-softirq.c -rw-r--r-- 4.1 KB
blk-sysfs.c -rw-r--r-- 11.9 KB
blk-tag.c -rw-r--r-- 9.9 KB
blk-timeout.c -rw-r--r-- 5.7 KB
blk.h -rw-r--r-- 4.5 KB
bsg.c -rw-r--r-- 23.4 KB
cfq-iosched.c -rw-r--r-- 64.5 KB
compat_ioctl.c -rw-r--r-- 22.0 KB
deadline-iosched.c -rw-r--r-- 11.4 KB
elevator.c -rw-r--r-- 24.4 KB
genhd.c -rw-r--r-- 29.4 KB
ioctl.c -rw-r--r-- 8.1 KB
noop-iosched.c -rw-r--r-- 2.6 KB
scsi_ioctl.c -rw-r--r-- 18.0 KB

back to top