linux/drivers/usb/misc
Thomas Gleixner 912ce3daea USB: sisusbvga: Make console support depend on BROKEN
commit 862ee699fe upstream.

The console part of sisusbvga is broken vs. printk(). It uses in_atomic()
to detect contexts in which it cannot sleep despite the big fat comment in
preempt.h which says: Do not use in_atomic() in driver code.

in_atomic() does not work on kernels with CONFIG_PREEMPT_COUNT=n which
means that spin/rw_lock held regions are not detected by it.

There is no way to make this work by handing context information through to
the driver and this only can be solved once the core printk infrastructure
supports sleepable console drivers.

Make it depend on BROKEN for now.

Fixes: 1bbb4f2035 ("[PATCH] USB: sisusb[vga] update")
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Thomas Winischhofer <thomas@winischhofer.net>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-usb@vger.kernel.org
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20201019101109.603244207@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-12-30 11:25:42 +01:00
..
sisusbvga USB: sisusbvga: Make console support depend on BROKEN 2020-12-30 11:25:42 +01:00
adutux.c USB: adutux: fix debugging 2020-11-05 11:08:42 +01:00
appledisplay.c appledisplay: fix error handling in the scheduled work 2019-12-01 09:17:42 +01:00
chaoskey.c USB: chaoskey: fix error case of a timeout 2019-12-01 09:17:41 +01:00
cypress_cy7c63.c
cytherm.c
ehset.c
emi26.c
emi62.c
ezusb.c
ftdi-elan.c
idmouse.c USB: idmouse: fix interface sanity checks 2019-12-17 20:34:38 +01:00
iowarrior.c USB: iowarrior: fix up report size handling for some devices 2020-08-11 15:32:30 +02:00
isight_firmware.c
Kconfig USB: rio500: Remove Rio 500 kernel driver 2019-10-17 13:44:47 -07:00
ldusb.c USB: ldusb: use unsigned size format specifiers 2019-11-12 19:21:08 +01:00
legousbtower.c USB: legousbtower: fix a signedness bug in tower_probe() 2019-11-06 13:06:12 +01:00
lvstest.c USB: lvtest: return proper error code in probe 2020-09-03 11:24:27 +02:00
Makefile USB: rio500: Remove Rio 500 kernel driver 2019-10-17 13:44:47 -07:00
trancevibrator.c
usb_u132.h
usb251xb.c
usb3503.c
usb4604.c
usblcd.c USB: usblcd: fix I/O after disconnect 2019-10-17 13:45:04 -07:00
usbsevseg.c
usbtest.c usb: usbtest: fix missing kfree(dev->buf) in usbtest_disconnect 2020-07-09 09:37:09 +02:00
uss720.c
yurex.c USB: yurex: Fix bad gfp argument 2020-09-03 11:24:29 +02:00