xref: /linux-6.15/drivers/hid/bpf/Kconfig (revision 4e0b1b07)
1# SPDX-License-Identifier: GPL-2.0-only
2menu "HID-BPF support"
3
4config HID_BPF
5	bool "HID-BPF support"
6	default HID_SUPPORT
7	depends on BPF && BPF_SYSCALL && \
8		   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	If unsure, say Y.
17
18endmenu
19