<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/tools/testing/selftests/hid/config, branch linux-6.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.3.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.3.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2023-02-23T14:45:25Z</updated>
<entry>
<title>selftest: hid: fix hid_bpf not set in config</title>
<updated>2023-02-23T14:45:25Z</updated>
<author>
<name>Benjamin Tissoires</name>
</author>
<published>2023-02-23T14:17:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=22ef7d7be4dc071712ddf0ae09df6ee39b4901a0'/>
<id>urn:sha1:22ef7d7be4dc071712ddf0ae09df6ee39b4901a0</id>
<content type='text'>
Now that CONFIG_HID_BPF is not automatically implied by HID, we need
to set it properly in the selftests config.

Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>selftests: hid: ensures we have the proper requirements in config</title>
<updated>2022-12-10T09:41:37Z</updated>
<author>
<name>Benjamin Tissoires</name>
</author>
<published>2022-12-06T14:59:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d0b93a0d2b00a719d6c761bab5bbe72f41a81a30'/>
<id>urn:sha1:d0b93a0d2b00a719d6c761bab5bbe72f41a81a30</id>
<content type='text'>
DYNAMIC_FTRACE_WITH_DIRECT_CALLS is implicit on x86_64 but is still a
WIP on aarm64. Ensure we get it selected to not have any surprises.

Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Reviewed-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Link: https://lore.kernel.org/r/20221206145936.922196-5-benjamin.tissoires@redhat.com
</content>
</entry>
<entry>
<title>selftests: add tests for the HID-bpf initial implementation</title>
<updated>2022-11-15T15:28:29Z</updated>
<author>
<name>Benjamin Tissoires</name>
</author>
<published>2022-11-03T15:57:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dbb60c8a26daf388f183f599e1e96de5bb9f96e1'/>
<id>urn:sha1:dbb60c8a26daf388f183f599e1e96de5bb9f96e1</id>
<content type='text'>
The tests are pretty basic:
- create a virtual uhid device that no userspace will like (to not mess
  up the running system)
- attach a BPF prog to it
- open the matching hidraw node
- inject one event and check:
  * that the BPF program can do something on the event stream
  * can modify the event stream
- add another test where we attach/detach BPF programs to see if we get
  errors

Note: the Makefile is extracted from selftests/bpf so we can rebuild
the libbpf and bpftool components from the current kernel tree without
relying on system installed components.

Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
</feed>
