linux/tools/testing/selftests/hid
Linus Torvalds b80a75cf69 hid-for-linus-2025073101
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEL65usyKPHcrRDEicpmLzj2vtYEkFAmiL2DAACgkQpmLzj2vt
 YEk9aRAApXAYs/LNZ6hS2FvqxSKJhThLEm4sib6CvdQ82Er92aqrZEutkpb8Rq0/
 KMPLYTv9QsZgFKilZJnxIRwZRpy37C7SGO8Y3PSARpakxpCPe76RyqcY+DghrB9+
 kBRUzfDq9JR8RM8lcxw5dgEjgI3cz/5gS8OFh/LOVqe2nqub3U3Dr2kQkDE3DSiG
 BqIPhIG//TW0al6IxJQVL59egzVqzzqcgK/efBwT7WjToaCjXuZTClDiKASVLcmW
 p/xvsPjIBeVuEdOTfboiHowOs3RyXa3zWlHS76/x9JXVDPOrPcleJyoxEedU4BBG
 selhkdVEYcCOYMlzz7/p1BrIkkpczWfye5rSGQ05qmOeApMAxicKRp0DfTLm0EGa
 bdmDLIncSBRBb5iATrRS+rQcV6PSzLCaB9+rGiWS/EQPFCKh54SZSNvl5rw0WCHY
 +b9zmxmr2KG7B8eQQXx0/x6RNCC3gANqkVO4+TXamcGhJaoW2M0+xT9tzid0sL+S
 Y7t5C8T4KoI4dc2be76KNs/LlR6F5LK1E0HTkapdG+ZoiLc/PsqK0pnGc0aXd+/z
 Ee246MZEMsURgOEA68dEm4XBdh2xp9xVZIsZtaWcfSSQZJnfpx89v9Tl4MUlfqzj
 8BPLeYxxg9gxfxpGcP+oGMjXbeKDjSbmRJroOP4jw/WdPZ2rs0s=
 =kYcB
 -----END PGP SIGNATURE-----

Merge tag 'hid-for-linus-2025073101' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid

Pull HID updates from Jiri Kosina:

 - hardening of HID core parser against conversion to 0 bits in s32ton()
   by buggy/malicious devices (Alan Stern)

 - fix for potential NULL pointer dereference in hid-apple that could be
   caused by malicious device with APPLE_MAGIC_BACKLIGHT quirk present
   triggering overflow in data field (Qasim Ijaz)

 - support for Wake-on-touch in intel-thc (Even Xu)

 - support for "Input max input size control" and "Input interrupt
   delay" I2C features in order to improve compatibility of THC devices
   with legacy HIDI2C touch devices (Even Xu)

 - support for Touch Bars on x86 MacBook Pros (Kerem Karabay)

 - support for XP-PEN Artist 22R Pro (Joshua Goins)

 - third party trackpart support for MacBookPro15,1 (Aditya Garg)

 - Apple Magic Keyboard A311[89] USB-C support (Aditya Garg, Grigorii
   Sokoli)

 - support for operating modes in amd-sfh (Basavaraj Natikar)

 - avoid setting up battery timer for Apple and Magicmouse devices
   without battery (Aditya Garg)

 - fix for behavior of the hid-mcp2221 driver for !CONFIG_IIO cases
   (Heiko Schocher)

 - other assorted fixups and device ID additions

* tag 'hid-for-linus-2025073101' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid: (54 commits)
  HID: core: Harden s32ton() against conversion to 0 bits
  HID: apple: validate feature-report field count to prevent NULL pointer dereference
  HID: core: Improve the kerneldoc for hid_report_len()
  selftests/hid: sync python tests to hid-tools 0.10
  selftests/hid: sync the python tests to hid-tools 0.8
  selftests/hid: run ruff format on the python part
  HID: magicmouse: use secs_to_jiffies() for battery timeout
  HID: apple: use secs_to_jiffies() for battery timeout
  HID: magicmouse: avoid setting up battery timer when not needed
  HID: apple: avoid setting up battery timer for devices without battery
  HID: amd_sfh: Enable operating mode
  HID: uclogic: Add support for XP-PEN Artist 22R Pro
  HID: rate-limit hid_warn to prevent log flooding
  HID: replace scnprintf() with sysfs_emit()
  HID: uclogic: make read-only array reconnect_event static const
  HID: mcp-2221: Replace manual comparison with min() macro
  HID: intel-thc-hid: Separate max input size control conditional list
  HID: mcp2221: set gpio pin mode
  HID: multitouch: add device ID for Apple Touch Bar
  HID: multitouch: specify that Apple Touch Bar is direct
  ...
2025-07-31 21:26:05 -07:00
..
progs selftests/hid: fix kfunc inclusions with newer bpftool 2024-11-29 15:27:04 +01:00
tests Merge branch 'for-6.17/selftests' into for-linus 2025-07-31 22:53:29 +02:00
.gitignore selftests/hid: Add host-tools to .gitignore 2024-12-10 12:46:54 +01:00
config bpfilter: remove bpfilter 2024-01-04 10:23:10 -08:00
config.common selftests: net: Enable legacy netfilter legacy options. 2025-07-25 18:38:55 +02:00
config.x86_64 selftests: hid: add vmtest.sh 2023-01-18 22:08:38 +01:00
hid-apple.sh selftests: hid: import hid-tools hid-apple tests 2023-04-12 17:13:38 +02:00
hid-core.sh selftests: hid: import hid-tools hid-core tests 2023-04-12 17:13:37 +02:00
hid-gamepad.sh selftests: hid: import hid-tools hid-gamepad tests 2023-04-12 17:13:37 +02:00
hid-ite.sh selftests: hid: import hid-tools hid-ite tests 2023-04-12 17:13:38 +02:00
hid-keyboard.sh selftests: hid: import hid-tools hid-keyboards tests 2023-04-12 17:13:37 +02:00
hid-mouse.sh selftests: hid: import hid-tools hid-mouse tests 2023-04-12 17:13:37 +02:00
hid-multitouch.sh selftests: hid: import hid-tools hid-multitouch and hid-tablets tests 2023-04-12 17:13:37 +02:00
hid-sony.sh selftests: hid: import hid-tools hid-sony and hid-playstation tests 2023-04-12 17:13:38 +02:00
hid-tablet.sh selftests: hid: import hid-tools hid-multitouch and hid-tablets tests 2023-04-12 17:13:37 +02:00
hid-usb_crash.sh selftests: hid: import hid-tools usb-crash tests 2023-04-12 17:13:38 +02:00
hid-wacom.sh selftests: hid: import hid-tools wacom tests 2023-04-12 17:13:38 +02:00
hid_bpf.c Revert "HID: bpf: allow write access to quirks field in struct hid_device" 2024-11-25 09:21:47 -08:00
hid_common.h selftests/hid: allow to parametrize bus/vid/pid/rdesc on the test device 2024-10-04 16:10:46 +02:00
hidraw.c selftests/hid: allow to parametrize bus/vid/pid/rdesc on the test device 2024-10-04 16:10:46 +02:00
Makefile tools: Remove redundant quiet setup 2025-02-18 16:27:43 -03:00
run-hid-tools-tests.sh selftests: hid: fix typo and exit code 2024-11-28 14:43:49 +01:00
settings selftests: hid: import hid-tools hid-multitouch and hid-tablets tests 2023-04-12 17:13:37 +02:00
vmtest.sh selftests/hid: vmtest.sh: allow finer control on the build steps 2023-12-07 09:52:03 +01:00