<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/modules/linuxkpi/Makefile, branch release/13.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F13.4.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F13.4.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-08-23T17:43:27Z</updated>
<entry>
<title>sys: Remove $FreeBSD$: one-line sh pattern</title>
<updated>2023-08-23T17:43:27Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:31:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5510f79042fbd543de55807d0da7f8a2b8be2f89'/>
<id>urn:sha1:5510f79042fbd543de55807d0da7f8a2b8be2f89</id>
<content type='text'>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/

Similar commit in current:
(cherry picked from commit 031beb4e239b)
</content>
</entry>
<entry>
<title>Revert "LinuxKPI: Make FPU sections thread-safe and use the NOCTX flag."</title>
<updated>2023-05-27T19:23:37Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2023-05-27T19:23:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fa6603d4a7250bef7bc51bd3a2805b0d2ead3541'/>
<id>urn:sha1:fa6603d4a7250bef7bc51bd3a2805b0d2ead3541</id>
<content type='text'>
This broke part of the KBI used by drm-kmod.

This reverts commit 8ca78eb03fd4b3c9f514ea6c075fc44dc9c02d27.

Reported by:	manu
</content>
</entry>
<entry>
<title>LinuxKPI: Make FPU sections thread-safe and use the NOCTX flag.</title>
<updated>2023-03-22T15:32:56Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2021-07-31T13:32:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8ca78eb03fd4b3c9f514ea6c075fc44dc9c02d27'/>
<id>urn:sha1:8ca78eb03fd4b3c9f514ea6c075fc44dc9c02d27</id>
<content type='text'>
Reviewed by:	kib
Submitted by:	greg@unrelenting.technology
Differential Revision:	https://reviews.freebsd.org/D29921
MFC after:	1 week
Sponsored by:	NVIDIA Networking

(cherry picked from commit 469884cf04a9b92677c7c83e229ca6b8814f8b0a)
</content>
</entry>
<entry>
<title>linuxkpi: drm-kmod debugfs support</title>
<updated>2022-11-29T10:09:45Z</updated>
<author>
<name>Jake Freeland</name>
<email>jfree@FreeBSD.org</email>
</author>
<published>2022-09-20T17:41:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a8e31ab2e93f29858913f384dfc17cdaa77656f3'/>
<id>urn:sha1:a8e31ab2e93f29858913f384dfc17cdaa77656f3</id>
<content type='text'>
This diff extends LinuxKPI to support simple attribute files in debugfs.
These simple attributes are an essential component for compiling drm-kmod
with CONFIG_DEBUG_FS enabled.
This will allow for easier graphics driver debugging using
Intel's igt-gpu-tools.

Reviewed by:	hselasky
Differential Revision:	https://reviews.freebsd.org/D35883
Sponsored by:	Google, Inc. (GSoC 2022)

(cherry picked from commit f697b9432d9c7aa4c5ab5f5445ef5dc1bd40ce00)
</content>
</entry>
<entry>
<title>LinuxKPI: define LINUXKPI_INCLUDES for module builds as well</title>
<updated>2022-10-17T20:37:05Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2022-09-23T21:18:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=66548ca4d8713279e3e7821137916da8857f9c76'/>
<id>urn:sha1:66548ca4d8713279e3e7821137916da8857f9c76</id>
<content type='text'>
While for in-kernel we already have LINUXKPI_INCLUDES in kern.pre.mk
for kmod builds we've not had a common define to use leading to various
spellings of include paths.

In order for the include list to be expanded more easily in the future,
e.g., adding the "dummy" includes (for all) and to harmonize code,
duplicate LINUXKPI_INCLUDES to kmod.mk and use it for all module Makefiles.

Reviewed by:	hselasky
Differential Revision: https://reviews.freebsd.org/D36683

(cherry picked from commit 514fb3872166a361faa81d89909f65913e90b1b2)
</content>
</entry>
<entry>
<title>linuxkpi: Add i2c support</title>
<updated>2022-06-21T15:13:57Z</updated>
<author>
<name>Emmanuel Vadot</name>
<email>manu@FreeBSD.org</email>
</author>
<published>2021-11-04T09:42:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7f14bc44022da73cfdb0dd6d73a4ade239c7e857'/>
<id>urn:sha1:7f14bc44022da73cfdb0dd6d73a4ade239c7e857</id>
<content type='text'>
Add i2c support to linuxkpi. This is needed by drm-kmod.
For every i2c_adapter added by i2c_add_adapter we add a child to the
device named "lkpi_iic". This child handle the conversion between
Linux i2c_msgs to FreeBSD iic_msgs.
For every i2c_adapter added by i2c_bit_add_bus we add a child to the
device named "lkpi_iicbb". This child handle the conversion between
Linux i2c_msgs to FreeBSD iic_msgs.
With the help of iic(4), this expose the i2c controller to userspace
allowing a user to query DDC information from a monitor.
e.g.: i2c -f /dev/iic0 -a 0x28 -c 128 -d r
will query the standard EDID from the monitor if plugged.

The bitbang part (lkpi_iicbb) isn't tested at all for now as I don't have
compatible hardware (all my hardware have native i2c controller).

Tested on:	Intel (SandyBridge, Skylake, ApolloLake)
Tested on:	AMD (Picasso, Polaris (amd64 and arm64))

MFC after:	1 month
Reviewed by:	hselasky
Sponsored by:	Beckhoff Automation GmbH &amp; Co. KG
Differential Revision:	https://reviews.freebsd.org/D33053

(cherry picked from commit 1961a14a47437595fb7fcdc20e327440e3eb51e2)
</content>
</entry>
<entry>
<title>linuxkpi: fix module build outside of kernel build environment</title>
<updated>2022-03-13T08:56:38Z</updated>
<author>
<name>Eugene Grosbein</name>
<email>eugen@FreeBSD.org</email>
</author>
<published>2022-03-10T21:31:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=80bab8aa7ed884674e14482f76c7066130145662'/>
<id>urn:sha1:80bab8aa7ed884674e14482f76c7066130145662</id>
<content type='text'>
(cherry picked from commit f5a2e7b0e8483bf51519046fd149a6a31acef6b1)
</content>
</entry>
<entry>
<title>LinuxKPI: import beginning of a new version of netdevice.h</title>
<updated>2021-12-30T18:27:31Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2021-12-26T18:29:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fb3c236a4b8131361f9f1688d8b2455609fb2d5d'/>
<id>urn:sha1:fb3c236a4b8131361f9f1688d8b2455609fb2d5d</id>
<content type='text'>
Import a netdevice update complementing the last remaining bits of
the old ifnet derived implementation.  Along add a (for now) task
based NAPI implementation.

This is the minimal set of chnages which are needed for the initial
support of wireless drivers.  The NAPI implementation has an option to
still switch to "direct dispatch" as it had been used by these drivers
before not relying on a deferred context along with some printf tracing.
This has been helpful in the last weeks for debugging and will be
cleaned once we have had broader testing and are sure this is fine as-is.
Should we need a more time-sensitive or load-sensitive response
in the future we can always switch to something more sophisticated.

Sponsored by:		The FreeBSD Foundation
X-Differential Revision: D33075 (abandoned without feedback a while ago)

(cherry picked from commit d105895844848ddba85d686e03e0d14c03ad4eb4)
</content>
</entry>
<entry>
<title>LinuxKPI: add a work-in-progress skbuff implementation</title>
<updated>2021-12-30T18:27:19Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2021-12-26T18:26:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=508c4fb4c34b0d3045a6ed9b5eb2d42a591fb6f4'/>
<id>urn:sha1:508c4fb4c34b0d3045a6ed9b5eb2d42a591fb6f4</id>
<content type='text'>
This is a work-in-progress implementation of sk_buff compat code
used for wireless drivers only currently.
Bring in this version of the code as it has proven to be good enough
to have packets going for a few months.

The current implementation has several drawbacks including the need
for us to copy data between sk_buffs and mbufs.
Do not rely on the internals of this implementation.  They are highly
likely to change as we will improve the integration to FreeBSD mbufs.

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 49ed6e979c3b327ae466a559884802d901aa5792)
</content>
</entry>
<entry>
<title>Fix some modules to export more used symbols</title>
<updated>2021-11-25T01:09:21Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2021-11-07T08:42:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=83271c68c4f4697ba15d49cc3f31912a5d04ff4b'/>
<id>urn:sha1:83271c68c4f4697ba15d49cc3f31912a5d04ff4b</id>
<content type='text'>
(cherry picked from commit 5bb3134a8c21cb87b30e135ef168483f0333dabb)
</content>
</entry>
</feed>
