<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/Documentation/hid, branch v6.18.21</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.18.21</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.18.21'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2025-06-20T06:55:52+00:00</updated>
<entry>
<title>HID: intel-thc-hid: Separate max input size control conditional list</title>
<updated>2025-06-20T06:55:52+00:00</updated>
<author>
<name>Bagas Sanjaya</name>
<email>bagasdotme@gmail.com</email>
</author>
<published>2025-06-13T01:43:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7852beb143509d407cb8370604bb7bc97955ec84'/>
<id>urn:sha1:7852beb143509d407cb8370604bb7bc97955ec84</id>
<content type='text'>
Stephen Rothwell reports htmldocs warning:

Documentation/hid/intel-thc-hid.rst:200: ERROR: Unexpected indentation. [docutils]

Separate conditional list for max input size control by a blank line
to fix the warning.

Fixes: 45e92a093099 ("HID: Intel-thc-hid: Intel-thc: Introduce max input size control")
Reported-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Closes: https://lore.kernel.org/linux-next/20250611142409.7d4683b0@canb.auug.org.au/
Signed-off-by: Bagas Sanjaya &lt;bagasdotme@gmail.com&gt;
Reviewed-by: Even Xu &lt;even.xu@intel.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</content>
</entry>
<entry>
<title>HID: Intel-thc-hid: Intel-thc: Introduce interrupt delay control</title>
<updated>2025-06-10T19:15:59+00:00</updated>
<author>
<name>Even Xu</name>
<email>even.xu@intel.com</email>
</author>
<published>2025-05-14T06:19:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=22da60f0304b6bfd2c7cba8ee88086f344ef5206'/>
<id>urn:sha1:22da60f0304b6bfd2c7cba8ee88086f344ef5206</id>
<content type='text'>
This patch adds support for a new feature, named "Interrupt Delay",
allowing driver to set a specific delay time for next interrupt
detection. It gives driver a capability to control THC waiting time for
the next interrupt, to reduce the likelihood of spurious readings.

APIs added:
- thc_i2c_set_rx_int_delay(): Set I2C Rx input interrupt delay value
- thc_i2c_rx_int_delay_enable(): Enable or disable I2C Rx interrupt delay

As this interrupt delay feature is only applicable to RxDMA and must
remain disabled during SWDMA operations, it also involves a change
in SWDMA code to record the max input size control feature state
before SWDMA and restore the state after SWDMA.

Signed-off-by: Even Xu &lt;even.xu@intel.com&gt;
Tested-by: Chong Han &lt;chong.han@intel.com&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</content>
</entry>
<entry>
<title>HID: Intel-thc-hid: Intel-thc: Introduce max input size control</title>
<updated>2025-06-10T19:15:58+00:00</updated>
<author>
<name>Even Xu</name>
<email>even.xu@intel.com</email>
</author>
<published>2025-05-14T06:19:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=45e92a093099eaf71ff2915a5f6ab5c04c8385e6'/>
<id>urn:sha1:45e92a093099eaf71ff2915a5f6ab5c04c8385e6</id>
<content type='text'>
This patch adds support for a new feature, named "Max Input Size
Control", allowing driver to set a maximum input size for RxDMA. This
enhancement aims to prevent RxDMA buffer overruns caused by data
corruption on the I2C bus, thereby improving overall system stability.

APIs added:
- thc_i2c_set_rx_max_size(): Set the maximum input size for I2C RxDMA.
- thc_i2c_rx_max_size_enable(): Enable or disable the max input size
  control.

As this max input size control feature is only applicable to RxDMA
and must remain disabled during SWDMA operations, it also involves
a change in SWDMA code to record the max input size control feature
state before SWDMA and restore the state after SWDMA.

Signed-off-by: Even Xu &lt;even.xu@intel.com&gt;
Tested-by: Chong Han &lt;chong.han@intel.com&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</content>
</entry>
<entry>
<title>docs: hid: Fix typo in intel-thc-hid.rst</title>
<updated>2025-04-14T16:40:52+00:00</updated>
<author>
<name>Chih Yun Lin</name>
<email>noralin249@gmail.com</email>
</author>
<published>2025-03-30T08:45:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1af310951e61471504c445d5023cdae27e2cc1d8'/>
<id>urn:sha1:1af310951e61471504c445d5023cdae27e2cc1d8</id>
<content type='text'>
Corrected the spelling of "triggerred" to "triggered" and "flexiblity"
to "flexibility".

Signed-off-by: Chih Yun Lin &lt;noralin249@gmail.com&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Link: https://lore.kernel.org/r/20250330084518.20916-1-noralin249@gmail.com
</content>
</entry>
<entry>
<title>HID: THC: Add documentation</title>
<updated>2025-01-09T09:14:14+00:00</updated>
<author>
<name>Even Xu</name>
<email>even.xu@intel.com</email>
</author>
<published>2025-01-06T02:31:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=df3a78d8a862f1ed48f186f62397e37eeb74d0e3'/>
<id>urn:sha1:df3a78d8a862f1ed48f186f62397e37eeb74d0e3</id>
<content type='text'>
Add Documentation/hid/intel-thc-hid.rst file to provide hardware
and software detail for intel THC drivers.

Co-developed-by: Sun Xinpeng &lt;xinpeng.sun@intel.com&gt;
Signed-off-by: Sun Xinpeng &lt;xinpeng.sun@intel.com&gt;
Signed-off-by: Even Xu &lt;even.xu@intel.com&gt;
Reviewed-by: Srinivas Pandruvada &lt;srinivas.pandruvada@linux.intel.com&gt;
Reviewed-by: Bagas Sanjaya &lt;bagasdotme@gmail.com&gt;
Reviewed-by: Mark Pearson &lt;mpearson-lenovo@squebb.ca&gt;
Tested-by: Aaron Ma &lt;aaron.ma@canonical.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</content>
</entry>
<entry>
<title>Documentation: hid: intel-ish-hid: Add vendor custom firmware loading</title>
<updated>2024-08-19T19:12:27+00:00</updated>
<author>
<name>Zhang Lixu</name>
<email>lixu.zhang@intel.com</email>
</author>
<published>2024-08-15T02:09:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=87de1615194eeb43b14cf5355ede3bd2115e0ff4'/>
<id>urn:sha1:87de1615194eeb43b14cf5355ede3bd2115e0ff4</id>
<content type='text'>
Add ISH firmware loading guidelines for vendor custom firmware.

Signed-off-by: Zhang Lixu &lt;lixu.zhang@intel.com&gt;
Acked-by: Srinivas Pandruvada &lt;srinivas.pandruvada@linux.intel.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</content>
</entry>
<entry>
<title>HID: bpf: allow hid_device_event hooks to inject input reports on self</title>
<updated>2024-06-27T09:00:48+00:00</updated>
<author>
<name>Benjamin Tissoires</name>
<email>bentiss@kernel.org</email>
</author>
<published>2024-06-26T13:46:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=9acbb7ba4589d4715141d4e14230a828ddc95f3d'/>
<id>urn:sha1:9acbb7ba4589d4715141d4e14230a828ddc95f3d</id>
<content type='text'>
This is the same logic than hid_hw_raw_request or hid_hw_output_report:
we can allow hid_bpf_try_input_report to be called from a hook on
hid_input_report if we ensure that the call can not be made twice in a
row.

There is one extra subtlety in which there is a lock in hid_input_report.
But given that we can detect if we are already in the hook, we can notify
hid_input_report to not take the lock. This is done by checking if
ctx_kern data is valid or null, and if it is equal to the dedicated
incoming data buffer.

In order to have more control on whether the lock needs to be taken or not
we introduce a new kfunc for it: hid_bpf_try_input_report()

Link: https://patch.msgid.link/20240626-hid_hw_req_bpf-v2-11-cfd60fb6c79f@kernel.org
Acked-by: Jiri Kosina &lt;jkosina@suse.com&gt;
Signed-off-by: Benjamin Tissoires &lt;bentiss@kernel.org&gt;
</content>
</entry>
<entry>
<title>Documentation: HID: add a small blurb on udev-hid-bpf</title>
<updated>2024-06-14T09:20:20+00:00</updated>
<author>
<name>Benjamin Tissoires</name>
<email>bentiss@kernel.org</email>
</author>
<published>2024-06-08T09:01:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=5f42e19de53faf9e6d4455638f75b7c3a3f8d58f'/>
<id>urn:sha1:5f42e19de53faf9e6d4455638f75b7c3a3f8d58f</id>
<content type='text'>
This is the current decision we took: we don't provide automatic loading
of HID-BPF by the kernel directly, but rely on an external tool for it.

This tool is currently udev-hid-bpf, so let's make people aware of it.

Link: https://lore.kernel.org/r/20240608-hid_bpf_struct_ops-v3-11-6ac6ade58329@kernel.org
Signed-off-by: Benjamin Tissoires &lt;bentiss@kernel.org&gt;
</content>
</entry>
<entry>
<title>Documentation: HID: amend HID-BPF for struct_ops</title>
<updated>2024-06-14T09:20:20+00:00</updated>
<author>
<name>Benjamin Tissoires</name>
<email>bentiss@kernel.org</email>
</author>
<published>2024-06-08T09:01:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c5958697a5fa29d3ba9332205a88725afe9ed912'/>
<id>urn:sha1:c5958697a5fa29d3ba9332205a88725afe9ed912</id>
<content type='text'>
Now that we are using struct_ops, the docs need to be changed.

Link: https://lore.kernel.org/r/20240608-hid_bpf_struct_ops-v3-10-6ac6ade58329@kernel.org
Signed-off-by: Benjamin Tissoires &lt;bentiss@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-6.10/intel-ish' into for-linus</title>
<updated>2024-05-14T11:53:15+00:00</updated>
<author>
<name>Jiri Kosina</name>
<email>jkosina@suse.com</email>
</author>
<published>2024-05-14T11:53:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=611d9ca7ff58c0b0e3a25430a7ffe86bb201242f'/>
<id>urn:sha1:611d9ca7ff58c0b0e3a25430a7ffe86bb201242f</id>
<content type='text'>
- Implement loading firmware from host in intel-ish driver, needed
  to support Lunar Lake and later (Zhang Lixu)
</content>
</entry>
</feed>
