<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/ichiic, branch stable/14</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>ig4_iic: Allow sleeping if called from iichid interrupt handler.</title>
<updated>2025-05-15T18:11:55+00:00</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2025-03-07T06:26:51+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c58c931e20045a6e254df5901e0321b537337440'/>
<id>c58c931e20045a6e254df5901e0321b537337440</id>
<content type='text'>
This replaces 50 ms busy loop with mtx_sleep for the same duration thus
saving CPU time when iichid is driven with interrupts.

Sponsored by:	Future Crew, LLC
MFC after:	2 month
Differential Revision:	https://reviews.freebsd.org/D48956

(cherry picked from commit c7225a3ede3cf99c538158962f4d65dee435bbcd)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This replaces 50 ms busy loop with mtx_sleep for the same duration thus
saving CPU time when iichid is driven with interrupts.

Sponsored by:	Future Crew, LLC
MFC after:	2 month
Differential Revision:	https://reviews.freebsd.org/D48956

(cherry picked from commit c7225a3ede3cf99c538158962f4d65dee435bbcd)
</pre>
</div>
</content>
</entry>
<entry>
<title>ig4(4): Add Intel ACPI HID</title>
<updated>2025-04-30T07:32:22+00:00</updated>
<author>
<name>Dmitry Luhtionov</name>
<email>dmitryluhtionov@gmail.com</email>
</author>
<published>2025-02-02T07:22:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6d2885d50e8043b9596221385bdbc5a9082a7409'/>
<id>6d2885d50e8043b9596221385bdbc5a9082a7409</id>
<content type='text'>
MFC after:	1 month

(cherry picked from commit 64dcfa2593d4729f16cb3e2d97088a2e69900df1)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC after:	1 month

(cherry picked from commit 64dcfa2593d4729f16cb3e2d97088a2e69900df1)
</pre>
</div>
</content>
</entry>
<entry>
<title>ig4(4): Add Meteor Lake PCI IDs</title>
<updated>2024-11-12T04:08:43+00:00</updated>
<author>
<name>Austin Shafer</name>
<email>ashafer@badland.io</email>
</author>
<published>2024-11-09T05:05:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5cc7196a81fe6924a2994a1efc31468ad045b0ce'/>
<id>5cc7196a81fe6924a2994a1efc31468ad045b0ce</id>
<content type='text'>
PR:		282389
MFC after:	3 days

(cherry picked from commit bab5e3d468305928e9e5cf1ca9efcee4c89f6a76)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		282389
MFC after:	3 days

(cherry picked from commit bab5e3d468305928e9e5cf1ca9efcee4c89f6a76)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add smbus and i2c device IDs for Meteor Lake</title>
<updated>2024-10-17T16:32:38+00:00</updated>
<author>
<name>SHENG-YI HONG</name>
<email>aokblast@FreeBSD.org</email>
</author>
<published>2024-08-13T12:22:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=14c22e28e4ee62f4d3f2d6004881d874fafa7d11'/>
<id>14c22e28e4ee62f4d3f2d6004881d874fafa7d11</id>
<content type='text'>
Reviewed by:	emaste, Daniel Schaefer &lt;dhs@frame.work&gt;
MFC after:	3 days
Sponsored by:	Framework Computer Inc
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D46249

(cherry picked from commit d3b05d0ea10abe059dc63c6fb6ef3f061b758af2)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:	emaste, Daniel Schaefer &lt;dhs@frame.work&gt;
MFC after:	3 days
Sponsored by:	Framework Computer Inc
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D46249

(cherry picked from commit d3b05d0ea10abe059dc63c6fb6ef3f061b758af2)
</pre>
</div>
</content>
</entry>
<entry>
<title>ig4: Actively use FIFO thresholds</title>
<updated>2024-01-19T16:33:10+00:00</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2023-12-24T23:18:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=60452092dbdf9c192dddd9b8d38feaa2b797c8b8'/>
<id>60452092dbdf9c192dddd9b8d38feaa2b797c8b8</id>
<content type='text'>
Before every wait for FIFO interrupt set how much data/space do we
want to see there.  Previous code was not using it for receive, as
result aggregating interrupts only within processing latency.  The
new code needs only one interrupt per transfer per FIFO length.

On my Dell XPS 13 9310 with iichid(4) touchscreen and touchpad this
reduces the interrupt rate per device down to 2 per sample or 16-20
per second when idle and 120-160 per second when actively touched.

MFC after:	1 month

(cherry picked from commit 13037eaabede7fb7fbc25f4e84b549c73f9acb3c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before every wait for FIFO interrupt set how much data/space do we
want to see there.  Previous code was not using it for receive, as
result aggregating interrupts only within processing latency.  The
new code needs only one interrupt per transfer per FIFO length.

On my Dell XPS 13 9310 with iichid(4) touchscreen and touchpad this
reduces the interrupt rate per device down to 2 per sample or 16-20
per second when idle and 120-160 per second when actively touched.

MFC after:	1 month

(cherry picked from commit 13037eaabede7fb7fbc25f4e84b549c73f9acb3c)
</pre>
</div>
</content>
</entry>
<entry>
<title>ig4: Fix FIFO depths detection</title>
<updated>2024-01-19T16:33:10+00:00</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2023-12-24T00:02:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=512235a1d36dd0a855e8a4d3e876100b5f67b3af'/>
<id>512235a1d36dd0a855e8a4d3e876100b5f67b3af</id>
<content type='text'>
At least on my Tiger Lake-LP queue depth detection failed before the
ig4iic_set_config() call, resulting in no FIFO use.  Moving it after
solves the problem, getting proper 64 bytes size.

On my Dell XPS 13 9310 with iichid(4) touchscreen and touchpad this
by few times reduces context switch rate in the driver, and probably
also improves the I2C bus utilization.

MFC after:	1 month

(cherry picked from commit 9c9d7fdd9f0041783955c5f540ac55a900877c0c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
At least on my Tiger Lake-LP queue depth detection failed before the
ig4iic_set_config() call, resulting in no FIFO use.  Moving it after
solves the problem, getting proper 64 bytes size.

On my Dell XPS 13 9310 with iichid(4) touchscreen and touchpad this
by few times reduces context switch rate in the driver, and probably
also improves the I2C bus utilization.

MFC after:	1 month

(cherry picked from commit 9c9d7fdd9f0041783955c5f540ac55a900877c0c)
</pre>
</div>
</content>
</entry>
<entry>
<title>ig4: Add PCI IDs for Intel Ice Lake I2C controller.</title>
<updated>2023-12-19T20:34:56+00:00</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2023-11-27T15:25:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=36d6a456547cfe2a565bc60990e9cf421d267d07'/>
<id>36d6a456547cfe2a565bc60990e9cf421d267d07</id>
<content type='text'>
PR:		275115
Tested by:	Sam &lt;sam3423.yntmr_AT_slmail_DOT_me&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		275115
Tested by:	Sam &lt;sam3423.yntmr_AT_slmail_DOT_me&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: one-line .c pattern</title>
<updated>2023-08-16T17:54:36+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=685dc743dc3b5645e34836464128e1c0558b404b'/>
<id>685dc743dc3b5645e34836464128e1c0558b404b</id>
<content type='text'>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
</pre>
</div>
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: two-line .h pattern</title>
<updated>2023-08-16T17:54:11+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=95ee2897e98f5d444f26ed2334cc7c439f9c16c6'/>
<id>95ee2897e98f5d444f26ed2334cc7c439f9c16c6</id>
<content type='text'>
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
</pre>
</div>
</content>
</entry>
<entry>
<title>ichiic: use bool for one-bit wide bit-fields</title>
<updated>2023-04-19T20:25:50+00:00</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2023-04-18T18:08:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=87f55ab0b46ad72efee11d1b64ec8f839bb013da'/>
<id>87f55ab0b46ad72efee11d1b64ec8f839bb013da</id>
<content type='text'>
A one-bit wide bit-field can take only the values 0 and -1. Clang 16
introduced a warning that "implicit truncation from 'int' to a one-bit
wide bit-field changes value from 1 to -1". Fix by using c99 bool.

Reported by:	Clang
Reviewed by:	emaste, wulf
MFC after:	3 days
Differential Revision: https://reviews.freebsd.org/D39665
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A one-bit wide bit-field can take only the values 0 and -1. Clang 16
introduced a warning that "implicit truncation from 'int' to a one-bit
wide bit-field changes value from 1 to -1". Fix by using c99 bool.

Reported by:	Clang
Reviewed by:	emaste, wulf
MFC after:	3 days
Differential Revision: https://reviews.freebsd.org/D39665
</pre>
</div>
</content>
</entry>
</feed>
