linux/drivers/video/backlight
Andrea Righi 66c1ca0190 fbmem: fix fb_info->lock and mm->mmap_sem circular locking dependency
Fix a circular locking dependency in the frame buffer console driver
pushing down the mutex fb_info->lock.

Circular locking dependecies occur calling the blocking
fb_notifier_call_chain() with fb_info->lock held.  Notifier callbacks can
try to acquire mm->mmap_sem, while fb_mmap() acquires the locks in the
reverse order mm->mmap_sem => fb_info->lock.

Tested-by: Andrey Borzenkov <arvidjaar@mail.ru>
Signed-off-by: Andrea Righi <righi.andrea@gmail.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-04-01 08:59:29 -07:00
..
atmel-pwm-bl.c
backlight.c fbmem: fix fb_info->lock and mm->mmap_sem circular locking dependency 2009-04-01 08:59:29 -07:00
corgi_lcd.c [ARM] corgi_lcd: fix simultaneous compilation with corgi_bl 2008-10-29 11:45:37 +08:00
cr_bllcd.c backlight: crbllcd_bl - Use platform_device_register_simple() 2009-01-08 12:37:28 +00:00
da903x_bl.c drivers/video/backlight: rename da903x to da903x_bl 2009-02-05 12:56:48 -08:00
generic_bl.c backlight: Rename the corgi backlight driver to generic 2009-01-08 20:52:37 +00:00
hp680_bl.c backlight: hp680_bl - Use platform_device_register_simple() 2009-01-08 12:37:28 +00:00
ili9320.c
ili9320.h
kb3886_bl.c backlight: Add driver for Tabletkiosk Sahara TouchIT-213 Tablet PC 2008-10-21 00:19:49 +01:00
Kconfig backlight: Rename the corgi backlight driver to generic 2009-01-08 20:52:37 +00:00
lcd.c fbmem: fix fb_info->lock and mm->mmap_sem circular locking dependency 2009-04-01 08:59:29 -07:00
locomolcd.c
ltv350qv.c
ltv350qv.h
Makefile drivers/video/backlight: rename da903x to da903x_bl 2009-02-05 12:56:48 -08:00
mbp_nvidia_bl.c backlight: Add suspend/resume support to the backlight core 2009-01-08 15:37:43 +00:00
omap1_bl.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
platform_lcd.c
progear_bl.c backlight: progear_bl - Use platform_device_register_simple() 2009-01-08 12:37:28 +00:00
pwm_bl.c backlight: add MODULE_ALIAS() to pwm_backlight driver 2008-08-05 14:33:48 -07:00
tdo24m.c backlight: add support for Toppoly TDO35S series to tdo24m lcd driver 2009-01-08 20:11:07 +00:00
tosa_bl.c backlight: add support for Sharp SL-6000 LCD and backlight drivers 2008-10-21 00:19:49 +01:00
tosa_lcd.c backlight: Support VGA/QVGA mode switching in tosa_lcd 2009-01-08 12:37:28 +00:00
vgg2432a4.c backlight: Value of ILI9320_RGB_IF2 register should not be hardcoded 2009-01-08 12:37:28 +00:00