<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/tools/testing/selftests/hid/hid_common.h, branch linux-rolling-lts</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-rolling-lts</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-rolling-lts'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-09-17T09:37:23Z</updated>
<entry>
<title>selftests/hid: hidraw: add more coverage for hidraw ioctls</title>
<updated>2025-09-17T09:37:23Z</updated>
<author>
<name>Benjamin Tissoires</name>
</author>
<published>2025-09-12T16:58:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bb6c861a290f2d6b3df2b176d2c2491f1a242265'/>
<id>urn:sha1:bb6c861a290f2d6b3df2b176d2c2491f1a242265</id>
<content type='text'>
Try to ensure all ioctls are having at least one test.

Most of the scaffholding has been generated by claude-4-sonnet and then
carefully reviewed.

Signed-off-by: Benjamin Tissoires &lt;bentiss@kernel.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</content>
</entry>
<entry>
<title>selftests/hid: allow to parametrize bus/vid/pid/rdesc on the test device</title>
<updated>2024-10-04T14:10:46Z</updated>
<author>
<name>Benjamin Tissoires</name>
</author>
<published>2024-10-01T14:30:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=72c55473fc8c82b06df79473f04c5231d51580d7'/>
<id>urn:sha1:72c55473fc8c82b06df79473f04c5231d51580d7</id>
<content type='text'>
This will be useful to introduce variants in tests to test the
interactions between HID-BPF and some kernel modules.

Reviewed-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
Acked-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;
Link: https://patch.msgid.link/20241001-hid-bpf-hid-generic-v3-7-2ef1019468df@kernel.org
Signed-off-by: Benjamin Tissoires &lt;bentiss@kernel.org&gt;
</content>
</entry>
<entry>
<title>selftests/hid: cleanup C tests by adding a common struct uhid_device</title>
<updated>2024-10-04T14:10:46Z</updated>
<author>
<name>Benjamin Tissoires</name>
</author>
<published>2024-10-01T14:30:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4fb41dfde0699796b955eb94e7b8037a67b4b3a5'/>
<id>urn:sha1:4fb41dfde0699796b955eb94e7b8037a67b4b3a5</id>
<content type='text'>
Allows to have an abstract class uhid_device which handles all of the
uhid part without having to mess up with individual fds.

struct attach_prog_args is now never used in hid_bpf.c, so drop it as well

Acked-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;
Link: https://patch.msgid.link/20241001-hid-bpf-hid-generic-v3-6-2ef1019468df@kernel.org
Signed-off-by: Benjamin Tissoires &lt;bentiss@kernel.org&gt;
</content>
</entry>
<entry>
<title>selftests/hid: extract the utility part of hid_bpf.c into its own header</title>
<updated>2024-08-29T08:39:37Z</updated>
<author>
<name>Benjamin Tissoires</name>
</author>
<published>2024-08-27T08:19:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=375e9bde9fc0fdb9e8d2339b06be5c2c2a5cb701'/>
<id>urn:sha1:375e9bde9fc0fdb9e8d2339b06be5c2c2a5cb701</id>
<content type='text'>
When adding new tests programs, we need the same mechanics to create
new virtual devices, and read from their matching hidraw node.

Extract the common part into its own header so we can easily add new
tests C-files.

Link: https://patch.msgid.link/20240827-hidraw-revoke-v5-2-d004a7451aea@kernel.org
Signed-off-by: Benjamin Tissoires &lt;bentiss@kernel.org&gt;
</content>
</entry>
</feed>
