On Tue, 01 Oct 2024 16:30:04 +0200, Benjamin Tissoires wrote:
This is a slight change from the fundamentals of HID-BPF. In theory, HID-BPF is abstract to the kernel itself, and makes only changes at the HID level (through report descriptors or events emitted to/from the device).
However, we have seen a few use cases where HID-BPF might interact with the running kernel when the target device is already handled by a specific device.
[...]
Applied to hid/hid.git (for-6.13/bpf), thanks!
[1/9] HID: bpf: move HID-BPF report descriptor fixup earlier https://git.kernel.org/hid/hid/c/8b7fd6a15f8c [2/9] HID: core: save one kmemdup during .probe() https://git.kernel.org/hid/hid/c/52cd1906ef6b [3/9] HID: core: remove one more kmemdup on .probe() https://git.kernel.org/hid/hid/c/7316fef4b993 [4/9] HID: bpf: allow write access to quirks field in struct hid_device https://git.kernel.org/hid/hid/c/6fd47effe92b [5/9] selftests/hid: add dependency on hid_common.h https://git.kernel.org/hid/hid/c/0b838d768ccd [6/9] selftests/hid: cleanup C tests by adding a common struct uhid_device https://git.kernel.org/hid/hid/c/4fb41dfde069 [7/9] selftests/hid: allow to parametrize bus/vid/pid/rdesc on the test device https://git.kernel.org/hid/hid/c/72c55473fc8c [8/9] HID: add per device quirk to force bind to hid-generic https://git.kernel.org/hid/hid/c/645c224ac5f6 [9/9] selftests/hid: add test for assigning a given device to hid-generic https://git.kernel.org/hid/hid/c/e14e0eaeb040
Cheers,