Thread (45 messages) 45 messages, 6 authors, 2022-08-30

Re: [PATCH bpf-next v7 13/24] HID: initial BPF implementation

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2022-07-28 14:16:05
Also in: bpf, linux-doc, linux-kselftest, lkml, netdev

On Thu, Jul 21, 2022 at 05:36:14PM +0200, Benjamin Tissoires wrote:
quoted hunk ↗ jump to hunk
diff --git a/drivers/hid/bpf/Kconfig b/drivers/hid/bpf/Kconfig
new file mode 100644
index 000000000000..423c02e4c5db
--- /dev/null
+++ b/drivers/hid/bpf/Kconfig
@@ -0,0 +1,18 @@
+# SPDX-License-Identifier: GPL-2.0-only
+menu "HID-BPF support"
+	#depends on x86_64
Is this comment still needed?
+
+config HID_BPF
+	bool "HID-BPF support"
+	default HID_SUPPORT
+	depends on BPF && BPF_SYSCALL
+	help
+	This option allows to support eBPF programs on the HID subsystem.
+	eBPF programs can fix HID devices in a lighter way than a full
+	kernel patch and allow a lot more flexibility.
+
+	For documentation, see Documentation/hid/hid-bpf.rst
+
+	If unsure, say Y.
+
+endmenu
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help