<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/compat/linuxkpi/common/include/asm/pgtable.h, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>http://cgit.freebsd.org/src/atom?h=main</id>
<link rel='self' href='http://cgit.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<updated>2026-04-06T19:28:09Z</updated>
<entry>
<title>linuxkpi: Define `PMD_SHIFT`</title>
<updated>2026-04-06T19:28:09Z</updated>
<author>
<name>Jean-Sébastien Pédron</name>
<email>dumbbell@FreeBSD.org</email>
</author>
<published>2026-03-04T20:36:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=be92ad6b12a5046cecf25477e7a3e88f70e5daee'/>
<id>urn:sha1:be92ad6b12a5046cecf25477e7a3e88f70e5daee</id>
<content type='text'>
For now, only define it for x86 architectures.

The DRM generic code started to use it in Linux 6.11.

Reviewed by:	bz, emaste
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55734
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: two-line .h pattern</title>
<updated>2023-08-16T17:54:11Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=95ee2897e98f5d444f26ed2334cc7c439f9c16c6'/>
<id>urn:sha1:95ee2897e98f5d444f26ed2334cc7c439f9c16c6</id>
<content type='text'>
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
</content>
</entry>
<entry>
<title>linuxkpi: pgtable: Add more defines</title>
<updated>2022-08-18T07:46:33Z</updated>
<author>
<name>Emmanuel Vadot</name>
<email>manu@FreeBSD.org</email>
</author>
<published>2022-08-09T09:36:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fd62b3fa1e82c8de3a1abacd4587fe4142e34d96'/>
<id>urn:sha1:fd62b3fa1e82c8de3a1abacd4587fe4142e34d96</id>
<content type='text'>
Needed by drm-kmod

Reviewed by:	bz
Obtained from:	drm-kmod
Sponsored by:	Beckhoff Automation GmbH &amp; Co. KG
Differential Revision:	https://reviews.freebsd.org/D36101
</content>
</entry>
<entry>
<title>LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards</title>
<updated>2022-01-10T19:49:38Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2021-12-19T10:42:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=307f78f3ed90a4145eeb2c8cc79bc95b2666f57a'/>
<id>urn:sha1:307f78f3ed90a4145eeb2c8cc79bc95b2666f57a</id>
<content type='text'>
MFC after:	1 week
Reviewed by:	bz, emaste, hselasky, manu
Differential Revision:	https://reviews.freebsd.org/D33562
</content>
</entry>
<entry>
<title>LinuxKPI: Add dummy pgprot_decrypted() implementation</title>
<updated>2021-09-29T20:14:58Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2021-09-29T20:14:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3d86f8f1d7d1a070dd2e81367a4196a272b3bd07'/>
<id>urn:sha1:3d86f8f1d7d1a070dd2e81367a4196a272b3bd07</id>
<content type='text'>
to reduce number of #ifdefs in drm-kmod

Reviewed by:	hselasky
MFC after:	2 weeks
Differential revision:	https://reviews.freebsd.org/D32094
</content>
</entry>
<entry>
<title>Implement a series of physical page management related functions in</title>
<updated>2017-03-27T17:04:11Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2017-03-27T17:04:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8186b52744f9b334ba1f05b8708f8f3347fa2a75'/>
<id>urn:sha1:8186b52744f9b334ba1f05b8708f8f3347fa2a75</id>
<content type='text'>
the LinuxKPI for accessing user-space memory in the kernel.

Add functions to hold and wire physical page(s) based on a given range
of user-space virtual addresses.

Add functions to get and put a reference on, wire, hold, mark
accessed, copy and dirty a physical page.

Add new VM related structures and defines as a preparation step for
advancing the memory map capabilities of the LinuxKPI.

Add function to figure out if a virtual address was allocated using
malloc().

Add function to convert a virtual kernel address into its physical
page pointer.

Obtained from:		kmacy @
MFC after:		1 week
Sponsored by:		Mellanox Technologies
</content>
</entry>
<entry>
<title>Add more PAGE related defines to the LinuxKPI. Move the definition of</title>
<updated>2016-05-13T12:41:21Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2016-05-13T12:41:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=83d5d45ea298b666a5ff61f6e3c5a12b997f94bf'/>
<id>urn:sha1:83d5d45ea298b666a5ff61f6e3c5a12b997f94bf</id>
<content type='text'>
"pgprot_t" to "linux/page.h" similar to what Linux does.

Obtained from:	kmacy @
MFC after:	1 week
Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>Finish process of moving the LinuxKPI module into the default kernel build.</title>
<updated>2015-10-29T08:28:39Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2015-10-29T08:28:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8d59ecb214f7e078e57d35b865f33efc5d7cdf4d'/>
<id>urn:sha1:8d59ecb214f7e078e57d35b865f33efc5d7cdf4d</id>
<content type='text'>
- Move all files related to the LinuxKPI into sys/compat/linuxkpi and
  its subfolders.
- Update sys/conf/files and some Makefiles to use new file locations.
- Added description of COMPAT_LINUXKPI to sys/conf/NOTES which in turn
  adds the LinuxKPI to all LINT builds.
- The LinuxKPI can be added to the kernel by setting the
  COMPAT_LINUXKPI option. The OFED kernel option no longer builds the
  LinuxKPI into the kernel. This was done to keep the build rules for
  the LinuxKPI in sys/conf/files simple.
- Extend the LinuxKPI module to include support for USB by moving the
  Linux USB compat from usb.ko to linuxkpi.ko.
- Bump the FreeBSD_version.
- A universe kernel build has been done.

Reviewed by:	np @ (cxgb and cxgbe related changes only)
Sponsored by:	Mellanox Technologies
</content>
</entry>
</feed>
