Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2642557lqo; Tue, 14 May 2024 05:19:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUemYYam3856K0jFAHFbv9i2E+l/tKzFTlN0Jn3hbjHMcARtVntV/PiJHHWs9TeWIihFjuY9ccz/7p/66Wv+PTfzP6ST2JZPhFASnvDlw== X-Google-Smtp-Source: AGHT+IHMFsG4iCnjtiVyPlhPiJKXjfibpRLQgbLMFLBrvq2L3FaiTmwFKrwFY6NP6ZckqzdMG9ag X-Received: by 2002:a05:6e02:170a:b0:36c:c4d1:bee8 with SMTP id e9e14a558f8ab-36cc4d1bf3amr189287625ab.12.1715689185786; Tue, 14 May 2024 05:19:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715689185; cv=pass; d=google.com; s=arc-20160816; b=nYZbZTtiY5MYxptmXCdq5ALMnOvEEJ99pGk0ItuuoyHHyjfAh/3kK8BotUePPvQpju uUOg5DomFHFysBECMxZ06/IhYv7M2yL4c6nkHMoQeMJoO0By3CErccy14cirJSQ2n1J7 GCQe8WrTxDQ1KqdiymazSbHtGTt3hMPRIixsdNMRzkfCdQHEmw/KlZti3K4iSzMrE44d bNmlTUAdk7AqTJYjzPwzkLNA//bIwPAC15ZdcXYi5uRz0TqJP6PDcmt5G4othowwX1gb i5RltzcsOJOBDiC/Gg+Au3Y8iWh36ZvqTcxuTf3vllsP7kjFMMp6kpacJCCfHpkYuOID Rwsw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:user-agent:message-id:subject:cc :to:from:date:dkim-signature; bh=FInLL9q5uv4XSjzd1laWpBdnCaH/xc3DjvDko7FfYq0=; fh=4PYFdzzTKcZOqtUnOdxvM8f8ev33B9q8aaDZ8/6Fgyc=; b=hR8eu8Qc/8DrikFBY0ir28kIubsotvFzyWxWa8EJ3kZ14zZ64SCVTCKZulpTIMY9L6 ehhzT3aZ5AFu4A5xh49+cPYL5/ljjSFj6mjovqPA8iDeeICu1E4PGmrBshDKpKiA8F9t FgROb2G6qfaqU8HvG2WPCxbN6GD7byn0deUgFLjN7lNvG+E3P3XRXtxh2TFU/kj6UF6J /cZ+CBV2iN5JnRs0anbBduDs7FBAJWhGkcNJO+npqAtF2SbpFX0PuyDwBDG6uXIflKpL KYyOsXPCEWCCD0406/qYqzs/ziFb7ivMivOmrT4EeENP0QzWG+G7kkOhmKrPeKtUb3hP EhKQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZXzfyJKj; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-178652-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178652-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-63413d72a41si12139718a12.818.2024.05.14.05.19.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 05:19:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-178652-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZXzfyJKj; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-178652-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178652-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E0BCF28121A for ; Tue, 14 May 2024 12:14:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 26E9A4122C; Tue, 14 May 2024 12:14:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZXzfyJKj" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED315320F for ; Tue, 14 May 2024 12:14:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715688891; cv=none; b=D+btuu7PS1nTBTJDlgY0vzgIJQUOtT6WFbufFx5+WLu85JtbDoq2Ux6u6l0cs47mbULUUxG8AidC8vflFe7thyZllh6+vj0RZt3oHQ0mNIiC13RawUl6LgckAhjClHer2xpV0NQdJFXcvBxwXnvDtdmHxIQ0tcQRlf5PO28spKY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715688891; c=relaxed/simple; bh=oFi+X8DWJauq3qBIES8fh+chhp9UGsg3AZYUFiG6KcE=; h=Date:From:To:cc:Subject:Message-ID:MIME-Version:Content-Type; b=U9urEPxHBZ31xQo6fPH7wUorN/ZCn6w8Af4AkuQMfZdHr/ongZj7shGkWrx2L62fIVbXowHZkicllUaJ3ouKHXyBfwPNOEBjrRkFeeWv798KNlJ0xhJ0HE+ojIikDODqpqHfaA+B1Y0gjwxTSlrLWwja5F4vvmTT2aL025cQb7Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ZXzfyJKj; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6F9D8C2BD10; Tue, 14 May 2024 12:14:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715688890; bh=oFi+X8DWJauq3qBIES8fh+chhp9UGsg3AZYUFiG6KcE=; h=Date:From:To:cc:Subject:From; b=ZXzfyJKju5ZjosiQ/BIq4xrcSZFoq9z+Zb+r/X3aPGNSDgO2hRy9N7RoC55w/WTMB Jq2lbKgqbbu9YV6wFmzMIwduN9t5RTO/jQUn9RZ8dV17Lpw0kaJkLxsh7T/7QEvpyr son5rYho20C1Xa1RZGC/jBYc4oL6vOy3W7TFqHOjXIoA4MKPbgMkaOeNN9/6Nmmg7i l83k+fVRbNropJjn6V0wVKKa2U436pKKRH4Piiuquydq0kZ4m1y3wbehiI2Sp80/qU /43/EvDfFTIYTZch+LnSgClzdtySM3nvCEnTNPsvuW0bHk0+11szqDZV9iJspfWoNh sXtG5u9UtaH9Q== Date: Tue, 14 May 2024 14:14:48 +0200 (CEST) From: Jiri Kosina To: Linus Torvalds cc: Benjamin Tissoires , linux-kernel@vger.kernel.org Subject: [GIT PULL] HID for 6.10 Message-ID: User-Agent: Alpine 2.21 (LSU 202 2017-01-01) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: QUOTED-PRINTABLE Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git tags/hid-for-li= nus-2024051401 to receive HID subsystem updates for 6.10 merge window. Highlights: =3D=3D=3D=3D=3D - Firmware loading from host support in intel-ish driver, needed to support Lunar Lake and later (Zhang Lixu) - updates to HID-BPF infrastructure, with some of the specific fixes (e.g. rdesc fixups) abstracted into separate BPF programs for consumption from libevdev/udev-hid-bpf (Benjamin Tissoires) - support for Deck IMU in hid-steam (Max Maisel) - fixes for better support of 3rd party playstation DS4 controllers (Max Staudt) - support for missing mappings and codes from HUT 1.5 in hid-debug (Thomas Kuehne) - initial support for ROG Ally and ROG X13 devices (Luke D. Jones) - full support for WinWing Orion2 (Ivan Gorinov) =3D=3D=3D=3D=3D Thanks! ---------------------------------------------------------------- Allan Sandfeld Jensen (1): HID: logitech: add a few Logitech HID++ device IDs Basavaraj Natikar (3): HID: amd_sfh: Modify and log error only if case of functionality fail= ures HID: amd_sfh: Handle "no sensors" in PM operations HID: amd_sfh: Use amd_get_c2p_val() to read C2P register Benjamin Tissoires (27): HID: bpf/dispatch: regroup kfuncs definitions HID: bpf: export hid_hw_output_report as a BPF kfunc selftests/hid: add KASAN to the VM tests selftests/hid: Add test for hid_bpf_hw_output_report HID: bpf: allow to inject HID event from BPF selftests/hid: add tests for hid_bpf_input_report HID: bpf: allow to use bpf_timer_set_sleepable_cb() in tracing callba= cks. HID: bpf: fix hid_bpf_input_report() when hid-core is not ready HID: do not assume HAT Switch logical max < 8 HID: bpf: add first in-tree HID-BPF fix for the XPPen Artist 24 HID: bpf: add in-tree HID-BPF fix for the XPPen Artist 16 HID: bpf: add in-tree HID-BPF fix for the HP Elite Presenter Mouse HID: bpf: add in-tree HID-BPF fix for the IOGear Kaliber Gaming MMOme= ntum mouse HID: bpf: add in-tree HID-BPF fix for the Wacom ArtPen HID: bpf: add in-tree HID-BPF fix for the XBox Elite 2 over Bluetooth HID: bpf: add in-tree HID-BPF fix for the Huion Kamvas Pro 19 HID: bpf: add in-tree HID-BPF fix for the Raptor Mach 2 selftests/hid: import base_device.py from hid-tools selftests/hid: add support for HID-BPF pre-loading before starting a = test selftests/hid: tablets: reduce the number of pen state selftests/hid: tablets: add a couple of XP-PEN tablets selftests/hid: tablets: also check for XP-Pen offset correction selftests/hid: add Huion Kamvas Pro 19 tests selftests/hid: import base_gamepad.py from hid-tools selftests/hid: move the gamepads definitions in the test file selftests/hid: add tests for the Raptor Mach 2 joystick selftests/hid: skip tests with HID-BPF if udev-hid-bpf is not install= ed Chen Ni (1): HID: intel-ish-hid: ipc: Add check for pci_alloc_irq_vectors Christophe JAILLET (1): HID: sony: Remove usage of the deprecated ida_simple_xx() API Colin Ian King (1): HID: sony: remove redundant assignment David Yang (1): HID: kye: Change Device Usage from Puck to Mouse Ivan Gorinov (1): HID: Add WinWing Orion2 throttle support Jiapeng Chong (2): HID: winwing: Remove unused variable 'minor' HID: nintendo: Remove unused function Jos=E9 Exp=F3sito (1): HID: uclogic: Expose firmware name Kenny Levinsen (3): HID: i2c-hid: Retry address probe after delay HID: i2c-hid: Use address probe to wake on resume HID: i2c-hid: Remove unused label in i2c_hid_set_power Li Zhijian (4): HID: hid-picolcd*: Convert sprintf() family to sysfs_emit() family HID: hid-sensor-custom: Convert sprintf() family to sysfs_emit() fami= ly HID: roccat: Convert sprintf() family to sysfs_emit() family HID: corsair,lenovo: Convert sprintf() family to sysfs_emit() family Luke D. Jones (4): HID: asus: fix more n-key report descriptors if n-key quirked HID: asus: make asus_kbd_init() generic, remove rog_nkey_led_init() HID: asus: add ROG Ally N-Key ID and keycodes HID: asus: add ROG Z13 lightbar Martino Fontana (1): HID: nintendo: use ida for LED player id Max Maisel (1): HID: hid-steam: Add Deck IMU support Max Staudt (7): HID: nintendo: Don't fail on setting baud rate HID: playstation: DS4: Fix LED blinking HID: playstation: DS4: Don't fail on FW/HW version request HID: playstation: DS4: Don't fail on calibration data request HID: playstation: DS4: Parse minimal report 0x01 HID: playstation: Simplify device type ID HID: playstation: DS4: Fix calibration workaround for clone devices Qianru Huang (2): Documentation: hid: intel-ish-hid: remove section numbering Documentation: hid: intel-ish-hid: add section for firmware loading Sean O'Brien (1): HID: Add quirk for Logitech Casa touchpad Thomas Kuehne (4): HID: hid-debug: add missing evdev and HID codes HID: hid-debug: fix Moir -> Moire typo HID: hid-debug: more informative output for EV_KEY HID: hid-debug: add EV_FF and FF_STATUS mappings Uwe Kleine-K=F6nig (3): HID: google: hammer: Convert to platform remove callback returning vo= id HID: hid-sensor-custom: Convert to platform remove callback returning= void HID: surface-hid: kbd: Convert to platform remove callback returning = void Zhang Lixu (4): HID: intel-ish-hid: ipc: Add Lunar Lake-M PCI device ID HID: intel-ish-hid: Add driver_data for specifying the firmware filen= ame HID: intel-ish-hid: Implement loading firmware from host feature HID: intel-ish-hid: handler multiple MNG_RESET_NOTIFY messages Zhang, Lixu (1): HID: intel-ish-hid: Use PCI_VDEVICE() and rename device ID macros Documentation/hid/hid-bpf.rst | 2 +- Documentation/hid/intel-ish-hid.rst | 137 +- drivers/hid/Kconfig | 16 + drivers/hid/Makefile | 1 + drivers/hid/amd-sfh-hid/amd_sfh_pcie.c | 5 +- drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_init.c | 17 +- drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_interface.c | 2 +- drivers/hid/bpf/hid_bpf_dispatch.c | 226 +- drivers/hid/bpf/progs/FR-TEC__Raptor-Mach-2.bpf.c | 185 ++ drivers/hid/bpf/progs/HP__Elite-Presenter.bpf.c | 58 + drivers/hid/bpf/progs/Huion__Kamvas-Pro-19.bpf.c | 290 ++ .../hid/bpf/progs/IOGEAR__Kaliber-MMOmentum.bpf.c | 59 + drivers/hid/bpf/progs/Makefile | 91 + .../hid/bpf/progs/Microsoft__XBox-Elite-2.bpf.c | 133 + drivers/hid/bpf/progs/README | 102 + drivers/hid/bpf/progs/Wacom__ArtPen.bpf.c | 173 + drivers/hid/bpf/progs/XPPen__Artist24.bpf.c | 229 ++ drivers/hid/bpf/progs/XPPen__ArtistPro16Gen2.bpf.c | 274 ++ drivers/hid/bpf/progs/hid_bpf.h | 15 + drivers/hid/bpf/progs/hid_bpf_helpers.h | 168 + drivers/hid/hid-asus.c | 132 +- drivers/hid/hid-core.c | 2 + drivers/hid/hid-corsair.c | 4 +- drivers/hid/hid-debug.c | 3437 ++++++++++++++++= +--- drivers/hid/hid-google-hammer.c | 5 +- drivers/hid/hid-ids.h | 3 + drivers/hid/hid-kye.c | 75 +- drivers/hid/hid-lenovo.c | 23 +- drivers/hid/hid-logitech-hidpp.c | 14 +- drivers/hid/hid-multitouch.c | 6 + drivers/hid/hid-nintendo.c | 57 +- drivers/hid/hid-picolcd_core.c | 6 +- drivers/hid/hid-picolcd_fb.c | 8 +- drivers/hid/hid-playstation.c | 138 +- drivers/hid/hid-roccat-isku.c | 2 +- drivers/hid/hid-roccat-kone.c | 12 +- drivers/hid/hid-roccat-koneplus.c | 4 +- drivers/hid/hid-roccat-kovaplus.c | 10 +- drivers/hid/hid-roccat-pyra.c | 6 +- drivers/hid/hid-sensor-custom.c | 17 +- drivers/hid/hid-sony.c | 7 +- drivers/hid/hid-steam.c | 155 +- drivers/hid/hid-uclogic-params.c | 3 + drivers/hid/hid-winwing.c | 226 ++ drivers/hid/i2c-hid/i2c-hid-core.c | 44 +- drivers/hid/intel-ish-hid/Makefile | 1 + drivers/hid/intel-ish-hid/ipc/hw-ish.h | 45 +- drivers/hid/intel-ish-hid/ipc/ipc.c | 21 +- drivers/hid/intel-ish-hid/ipc/pci-ish.c | 80 +- drivers/hid/intel-ish-hid/ishtp/hbm.c | 21 + drivers/hid/intel-ish-hid/ishtp/init.c | 8 + drivers/hid/intel-ish-hid/ishtp/ishtp-dev.h | 28 + drivers/hid/intel-ish-hid/ishtp/loader.c | 275 ++ drivers/hid/intel-ish-hid/ishtp/loader.h | 226 ++ drivers/hid/surface-hid/surface_kbd.c | 5 +- include/linux/hid.h | 6 +- include/linux/hid_bpf.h | 3 + tools/testing/selftests/hid/config.common | 1 + tools/testing/selftests/hid/hid_bpf.c | 112 +- tools/testing/selftests/hid/progs/hid.c | 46 + .../testing/selftests/hid/progs/hid_bpf_helpers.h | 6 + tools/testing/selftests/hid/tests/base.py | 92 +- tools/testing/selftests/hid/tests/base_device.py | 421 +++ tools/testing/selftests/hid/tests/base_gamepad.py | 238 ++ tools/testing/selftests/hid/tests/test_gamepad.py | 457 ++- tools/testing/selftests/hid/tests/test_tablet.py | 723 ++-- 66 files changed, 8301 insertions(+), 1093 deletions(-) create mode 100644 drivers/hid/bpf/progs/FR-TEC__Raptor-Mach-2.bpf.c create mode 100644 drivers/hid/bpf/progs/HP__Elite-Presenter.bpf.c create mode 100644 drivers/hid/bpf/progs/Huion__Kamvas-Pro-19.bpf.c create mode 100644 drivers/hid/bpf/progs/IOGEAR__Kaliber-MMOmentum.bpf.c create mode 100644 drivers/hid/bpf/progs/Makefile create mode 100644 drivers/hid/bpf/progs/Microsoft__XBox-Elite-2.bpf.c create mode 100644 drivers/hid/bpf/progs/README create mode 100644 drivers/hid/bpf/progs/Wacom__ArtPen.bpf.c create mode 100644 drivers/hid/bpf/progs/XPPen__Artist24.bpf.c create mode 100644 drivers/hid/bpf/progs/XPPen__ArtistPro16Gen2.bpf.c create mode 100644 drivers/hid/bpf/progs/hid_bpf.h create mode 100644 drivers/hid/bpf/progs/hid_bpf_helpers.h create mode 100644 drivers/hid/hid-winwing.c create mode 100644 drivers/hid/intel-ish-hid/ishtp/loader.c create mode 100644 drivers/hid/intel-ish-hid/ishtp/loader.h create mode 100644 tools/testing/selftests/hid/tests/base_device.py create mode 100644 tools/testing/selftests/hid/tests/base_gamepad.py --=20 Jiri Kosina SUSE Labs