• Linus Torvalds's avatar
    Merge tag 'for-linus-2024071601' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid · 6e504d2c
    Linus Torvalds authored
    Pull HID updates from Benjamin Tissoires:
    
     - rewrite of the HID-BPF internal implementation to use bpf struct_ops
       instead of a tracing endpoint (Benjamin Tissoires)
    
     - add two new HID-BPF hooks to be able to intercept userspace calls
       targeting a HID device and filtering them (Benjamin Tissoires)
    
     - add support for various new devices through HID-BPF filters (Benjamin
       Tissoires)
    
     - add support for the magic keyboard backlight (Orlando Chamberlain)
    
     - add the missing MODULE_DESCRIPTION() macros in HID drivers (Jeff
       Johnson)
    
     - use of kvzalloc in case memory gets too fragmented (Hailong Liu)
    
     - retrieve the device firmware node in the child HID device (Danny
       Kaehn)
    
     - some hid-uclogic improvements (José Expósito)
    
     - some more typos, trivial fixes, kernel doctext and unused functions
       cleanups
    
    * tag 'for-linus-2024071601' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid: (60 commits)
      HID: hid-steam: Fix typo in goto label
      HID: mcp2221: Remove unnecessary semicolon
      HID: Fix spelling mistakes "Kensigton" -> "Kensington"
      HID: add more missing MODULE_DESCRIPTION() macros
      HID: samples: fix the 2 struct_ops definitions
      HID: fix for amples in for-6.11/bpf
      HID: apple: Add support for magic keyboard backlight on T2 Macs
      HID: bpf: Thrustmaster TCA Yoke Boeing joystick fix
      HID: bpf: Add Huion Dial 2 bpf fixup
      HID: bpf: Add support for the XP-PEN Deco Mini 4
      HID: bpf: move the BIT() macro to hid_bpf_helpers.h
      HID: bpf: add a driver for the Huion Inspiroy 2S (H641P)
      HID: bpf: Add a HID report composition helper macros
      HID: bpf: doc fixes for hid_hw_request() hooks
      HID: bpf: doc fixes for hid_hw_request() hooks
      HID: bpf: fix gcc warning and unify __u64 into u64
      selftests/hid: ensure CKI can compile our new tests on old kernels
      selftests/hid: add an infinite loop test for hid_bpf_try_input_report
      selftests/hid: add another test for injecting an event from an event hook
      HID: bpf: allow hid_device_event hooks to inject input reports on self
      ...
    6e504d2c
hid_bpf_struct_ops.c 7.18 KB