drivers/hid/bpf/Kconfig
raw| 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | menu "HID-BPF support" |
| 3 | |
| 4 | config HID_BPF |
| 5 | bool "HID-BPF support" |
| 6 | depends on BPF_JIT |
| 7 | depends on BPF_SYSCALL |
| 8 | depends on DYNAMIC_FTRACE_WITH_DIRECT_CALLS |
| 9 | help |
| 10 | This option allows to support eBPF programs on the HID subsystem. |
| 11 | eBPF programs can fix HID devices in a lighter way than a full |
| 12 | kernel patch and allow a lot more flexibility. |
| 13 | |
| 14 | For documentation, see Documentation/hid/hid-bpf.rst |
| 15 | |
| 16 | endmenu |