linux/drivers/usb/misc/sisusbvga
Thomas Gleixner 862ee699fe USB: sisusbvga: Make console support depend on BROKEN
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-10-28 12:25:26 +01:00
..
Kconfig USB: sisusbvga: Make console support depend on BROKEN 2020-10-28 12:25:26 +01:00
Makefile usb: sisusb: let files build only when needed 2019-01-25 10:02:49 +01:00
sisusb_con.c TTY/Serial patches for 5.9-rc1 2020-08-06 14:56:11 -07:00
sisusb_init.c usb: misc: sisusbvga: Move static const tables out to different include file 2020-07-15 17:25:57 +02:00
sisusb_init.h usb: misc: sisusbvga: Move static const tables out to different include file 2020-07-15 17:25:57 +02:00
sisusb_struct.h USB: misc: Use the correct style for SPDX License Identifier 2020-04-16 14:32:47 +02:00
sisusb_tables.h usb: misc: sisusbvga: Move static const tables out to different include file 2020-07-15 17:25:57 +02:00
sisusb.c USB: sisusbvga: Fix a potential UB casued by left shifting a negative value 2020-07-15 16:48:10 +02:00
sisusb.h USB: misc: Use the correct style for SPDX License Identifier 2020-04-16 14:32:47 +02:00