<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/compat/linuxkpi/dummy/include/linux, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>linuxkpi: Add &lt;linux/mfd/core.h&gt;</title>
<updated>2026-04-06T19:28:09+00:00</updated>
<author>
<name>Jean-Sébastien Pédron</name>
<email>dumbbell@FreeBSD.org</email>
</author>
<published>2026-03-08T09:40:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=356d6f47d3b54b34aaba9e60aa551f3d615d0e2f'/>
<id>356d6f47d3b54b34aaba9e60aa551f3d615d0e2f</id>
<content type='text'>
To be exact, there was a dummy file with no content before. This commit
defines `struct mfd_cell` and adds two function stubs.

The function stubs are not implemented but still return success. They
log a message to indicate they need to be implemented.

Also, unlike Linux, &lt;linux/mfd/core.h&gt; includes &lt;linux/ioport.h&gt;. This
works around the fact that we can't include &lt;linux/ioport.h&gt; from
&lt;linux/pci.h&gt;, due to a conflict with the FreeBSD-native `struct
resource`.

The amdgpu DRM driver started to use it in Linux 6.11.

Reviewed by:	bz, emaste
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55736
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To be exact, there was a dummy file with no content before. This commit
defines `struct mfd_cell` and adds two function stubs.

The function stubs are not implemented but still return success. They
log a message to indicate they need to be implemented.

Also, unlike Linux, &lt;linux/mfd/core.h&gt; includes &lt;linux/ioport.h&gt;. This
works around the fact that we can't include &lt;linux/ioport.h&gt; from
&lt;linux/pci.h&gt;, due to a conflict with the FreeBSD-native `struct
resource`.

The amdgpu DRM driver started to use it in Linux 6.11.

Reviewed by:	bz, emaste
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55736
</pre>
</div>
</content>
</entry>
<entry>
<title>linuxkpi: Add eventfd_*()</title>
<updated>2026-01-25T16:04:44+00:00</updated>
<author>
<name>Jean-Sébastien Pédron</name>
<email>dumbbell@FreeBSD.org</email>
</author>
<published>2025-05-26T18:12:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a200c8e51cdb4586ad2eb20d2b45ba367f00beaf'/>
<id>a200c8e51cdb4586ad2eb20d2b45ba367f00beaf</id>
<content type='text'>
Add &lt;linux/eventfd.h&gt; and expose the `eventfd_*()` API. This is used by
DRM drivers for some time, but the code was commented out so far.

Note that Linux uses `struct eventfd_ctx`, but FreeBSD defines `struct
eventfd`. We define `eventfd_ctx` as a synonym to `eventfd`.

Reviewed by:	christos, markj
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50853
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add &lt;linux/eventfd.h&gt; and expose the `eventfd_*()` API. This is used by
DRM drivers for some time, but the code was commented out so far.

Note that Linux uses `struct eventfd_ctx`, but FreeBSD defines `struct
eventfd`. We define `eventfd_ctx` as a synonym to `eventfd`.

Reviewed by:	christos, markj
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50853
</pre>
</div>
</content>
</entry>
<entry>
<title>linuxkpi: Add a dummy &lt;linux/fpu.h&gt;</title>
<updated>2026-01-05T19:32:49+00:00</updated>
<author>
<name>Jean-Sébastien Pédron</name>
<email>dumbbell@FreeBSD.org</email>
</author>
<published>2025-09-07T23:22:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=242beec703f771312fac3be1b4ce3092bbc93e25'/>
<id>242beec703f771312fac3be1b4ce3092bbc93e25</id>
<content type='text'>
The amdgpu DRM driver started to include in from Linux 6.10, but either
it does not use any of it, or linuxkpi provides the necessary API from
another header.

Reviewed by:	bz
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54498
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The amdgpu DRM driver started to include in from Linux 6.10, but either
it does not use any of it, or linuxkpi provides the necessary API from
another header.

Reviewed by:	bz
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54498
</pre>
</div>
</content>
</entry>
<entry>
<title>linuxkpi: Add a dummy &lt;linux/kdebug.h&gt;</title>
<updated>2026-01-05T19:32:48+00:00</updated>
<author>
<name>Jean-Sébastien Pédron</name>
<email>dumbbell@FreeBSD.org</email>
</author>
<published>2025-08-12T21:58:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=65d7e9033439581af5bc1668827850663f84a5a5'/>
<id>65d7e9033439581af5bc1668827850663f84a5a5</id>
<content type='text'>
The DRM generic code started to include it in Linux 6.10 but doesn't
seem to use anything inside.

Reviewed by:	bz
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54490
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The DRM generic code started to include it in Linux 6.10 but doesn't
seem to use anything inside.

Reviewed by:	bz
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54490
</pre>
</div>
</content>
</entry>
<entry>
<title>linuxkpi: Add dummy &lt;linux/percpu{,-defs}.h&gt;</title>
<updated>2025-12-05T20:12:01+00:00</updated>
<author>
<name>Jean-Sébastien Pédron</name>
<email>dumbbell@FreeBSD.org</email>
</author>
<published>2025-05-26T18:10:51+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=112a6912e1c99439a7e2a75f3961e18f3b800c6e'/>
<id>112a6912e1c99439a7e2a75f3961e18f3b800c6e</id>
<content type='text'>
There are no consumers right now except the upcoming &lt;linux/eventfd.h&gt;.
This is meant to reproduce the same includes as Linux, in case consumers
of &lt;linux/eventfd.h&gt; implicitly rely on namespace pollution.

Reviewed by:	bz, emaste
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50851
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are no consumers right now except the upcoming &lt;linux/eventfd.h&gt;.
This is meant to reproduce the same includes as Linux, in case consumers
of &lt;linux/eventfd.h&gt; implicitly rely on namespace pollution.

Reviewed by:	bz, emaste
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50851
</pre>
</div>
</content>
</entry>
<entry>
<title>LinuxKPI: dummy: add more dummy hreader files</title>
<updated>2025-05-05T10:44:21+00:00</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2025-05-02T20:08:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e8e2ed66f0978c439c7e93ff3d30a86ffad5bf56'/>
<id>e8e2ed66f0978c439c7e93ff3d30a86ffad5bf56</id>
<content type='text'>
These are needed for mt76.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are needed for mt76.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>LinuxKPI: add dummy header file linux/unaligned.h</title>
<updated>2025-04-27T19:03:28+00:00</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2025-04-24T11:10:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=28efbf9d2f67ce0bb24ad83462c99a1c2771e602'/>
<id>28efbf9d2f67ce0bb24ad83462c99a1c2771e602</id>
<content type='text'>
Long-term asm/unaligned.h is likely to migrate to this file?

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
Reviewed by:	emaste
Differential Revision: https://reviews.freebsd.org/D50003
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Long-term asm/unaligned.h is likely to migrate to this file?

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
Reviewed by:	emaste
Differential Revision: https://reviews.freebsd.org/D50003
</pre>
</div>
</content>
</entry>
<entry>
<title>linuxkpi: Add several headers to reproduce namespace pollution</title>
<updated>2025-01-31T16:00:49+00:00</updated>
<author>
<name>Jean-Sébastien Pédron</name>
<email>dumbbell@FreeBSD.org</email>
</author>
<published>2025-01-13T22:42:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f570760e5fefc8544400ff3328c5f7dde8c8fcf0'/>
<id>f570760e5fefc8544400ff3328c5f7dde8c8fcf0</id>
<content type='text'>
[Why]
The i915 DRM driver relies on this chain of includes to access the
definition of `struct tasklet_struct` in `&lt;linux/interrupt.h&gt;`.

Reviewed by:	imp, manu
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D48760
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[Why]
The i915 DRM driver relies on this chain of includes to access the
definition of `struct tasklet_struct` in `&lt;linux/interrupt.h&gt;`.

Reviewed by:	imp, manu
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D48760
</pre>
</div>
</content>
</entry>
<entry>
<title>LinuxKPI: add new dummy headers visibility.h and of_net.h</title>
<updated>2024-10-11T20:58:35+00:00</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2024-09-28T22:35:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6621842ccfb4dd01470e9085697b553d10634eb0'/>
<id>6621842ccfb4dd01470e9085697b553d10634eb0</id>
<content type='text'>
Those files are required by updated wireless drivers.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Those files are required by updated wireless drivers.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>LinuxKPI: remove dummy kstrtox.h</title>
<updated>2024-07-25T12:42:49+00:00</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2024-07-25T12:42:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4d8c65b466fccc875a2ddf10b1c93fdb9a26d7bc'/>
<id>4d8c65b466fccc875a2ddf10b1c93fdb9a26d7bc</id>
<content type='text'>
kstrtox.h has an implementation nowadays.  Remove the dummy file
which is no longer needed.

Sponsored by:	The FreeBSD Foundation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
kstrtox.h has an implementation nowadays.  Remove the dummy file
which is no longer needed.

Sponsored by:	The FreeBSD Foundation
</pre>
</div>
</content>
</entry>
</feed>
