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-- 38.1 KB
Makefile -rw-r--r-- 1.1 KB
calibrate.c -rw-r--r-- 5.0 KB
do_mounts.c -rw-r--r-- 9.3 KB
do_mounts.h -rw-r--r-- 1.4 KB
do_mounts_initrd.c -rw-r--r-- 3.2 KB
do_mounts_md.c -rw-r--r-- 7.9 KB
do_mounts_rd.c -rw-r--r-- 8.0 KB
initramfs.c -rw-r--r-- 12.5 KB
main.c -rw-r--r-- 21.3 KB
noinitramfs.c -rw-r--r-- 1.4 KB
version.c -rw-r--r-- 1.1 KB

back to top