freebsd-nq/sys/dev/evdev
Vladimir Kondratyev 5ef2488947 evdev: disable evdev if it is invoked from KDB or panic context
This allow to prevent deadlock on entering KDB if one of evdev locks is
already taken by userspace process.

Also this change discards all but LED console events produced by KDB as
unrelated to userspace.

Tested by:	dumbbell (as part of D15070)
Objected by:	bde (as 'KDB lock an already locked mutex' problem solution)
MFC after:	1 month
2018-10-27 21:04:34 +00:00
..
cdev.c evdev: disable evdev if it is invoked from KDB or panic context 2018-10-27 21:04:34 +00:00
evdev_mt.c
evdev_private.h evdev: disable evdev if it is invoked from KDB or panic context 2018-10-27 21:04:34 +00:00
evdev_utils.c evdev: Remove evdev.ko linkage dependency on kbd driver 2018-08-13 19:05:53 +00:00
evdev.c evdev: disable evdev if it is invoked from KDB or panic context 2018-10-27 21:04:34 +00:00
evdev.h evdev: Remove evdev.ko linkage dependency on kbd driver 2018-08-13 19:05:53 +00:00
input-event-codes.h [evdev] Sync event codes with Linux kernel 4.16 2018-06-03 10:53:10 +00:00
input.h [evdev] Sync event codes with Linux kernel 4.16 2018-06-03 10:53:10 +00:00
uinput.c evdev: remove soft context from evdev methods parameter list. 2018-08-13 19:00:42 +00:00
uinput.h uinput: Add FreeBSD specific ioctl to set unique identifier of input device. 2018-04-30 10:34:16 +00:00