<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/compat/linux/linux_ioctl.c, branch release/13.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F13.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F13.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-02-27T18:16:00Z</updated>
<entry>
<title>linux(4): Consolidate a FreeBSD interface names translation code</title>
<updated>2023-02-27T18:16:00Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2023-02-23T08:00:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=aeed04a32e459f2b7e0f78ca00ba257d7ac18123'/>
<id>urn:sha1:aeed04a32e459f2b7e0f78ca00ba257d7ac18123</id>
<content type='text'>
We have some amount of interface names translation functions which are
differs by bugs implementation. Consolidates it in a one place.

Fixup loopback interface names translation and use ifnet methods and
accessors, where possible.

Approved by:		re (cperciva)
Reviewed by:		melifaro
Differential Revision:	https://reviews.freebsd.org/D38714
MFC after:		3 days
X-MFC with:		32fdc75fe7

(cherry picked from commit 3ab3c9c29cf0e5df8dbbaaf2003456445534bad8)
(cherry picked from commit a83551a52d1cfa8a756ef8dd298cab8042e27437)
</content>
</entry>
<entry>
<title>linux: add sysctl to pass untranslated interface names</title>
<updated>2022-03-28T08:49:23Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2022-01-08T15:41:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c7655e1f3671a9ce7d963cb577b4548173469053'/>
<id>urn:sha1:c7655e1f3671a9ce7d963cb577b4548173469053</id>
<content type='text'>
Reviewed by:	kib
MFC after:	2 weeks
Differential Revision: https://reviews.freebsd.org/D33792

(cherry picked from commit 1f70a85b4cbc3ad19cec4a390e8754e54815be85)
</content>
</entry>
<entry>
<title>linux: Improve debugging by recognizing TIOCGPTPEER</title>
<updated>2022-02-13T22:26:01Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2021-04-29T20:26:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=89847f7e04a394300775b7e20df371f03a98c545'/>
<id>urn:sha1:89847f7e04a394300775b7e20df371f03a98c545</id>
<content type='text'>
Sponsored By:	EPSRC

(cherry picked from commit 1866c766d2c520faaedbfe98d2e34a95f54053a5)
</content>
</entry>
<entry>
<title>linux: Partially implement TCSBRK</title>
<updated>2022-02-13T22:24:49Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2021-10-17T10:19:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1f86d04d02a6eb0447ed72b6597438db0cb9e4d8'/>
<id>urn:sha1:1f86d04d02a6eb0447ed72b6597438db0cb9e4d8</id>
<content type='text'>
This fixes tcflush(3), unbreaking cheribuild.py under arm64 Focal.

Reviewed By:	imp
Sponsored By:	EPSRC
Differential Revision:	https://reviews.freebsd.org/D32291

(cherry picked from commit 7e7859e7c2b900fd1b1af6e90ed31d51b9b5514d)
</content>
</entry>
<entry>
<title>Make MAXPHYS tunable.  Bump MAXPHYS to 1M.</title>
<updated>2020-11-28T12:12:51Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2020-11-28T12:12:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cd8537910406e68d4719136a5b0cf6d23bb1b23b'/>
<id>urn:sha1:cd8537910406e68d4719136a5b0cf6d23bb1b23b</id>
<content type='text'>
Replace MAXPHYS by runtime variable maxphys. It is initialized from
MAXPHYS by default, but can be also adjusted with the tunable kern.maxphys.

Make b_pages[] array in struct buf flexible.  Size b_pages[] for buffer
cache buffers exactly to atop(maxbcachebuf) (currently it is sized to
atop(MAXPHYS)), and b_pages[] for pbufs is sized to atop(maxphys) + 1.
The +1 for pbufs allow several pbuf consumers, among them vmapbuf(),
to use unaligned buffers still sized to maxphys, esp. when such
buffers come from userspace (*).  Overall, we save significant amount
of otherwise wasted memory in b_pages[] for buffer cache buffers,
while bumping MAXPHYS to desired high value.

Eliminate all direct uses of the MAXPHYS constant in kernel and driver
sources, except a place which initialize maxphys.  Some random (and
arguably weird) uses of MAXPHYS, e.g. in linuxolator, are converted
straight.  Some drivers, which use MAXPHYS to size embeded structures,
get private MAXPHYS-like constant; their convertion is out of scope
for this work.

Changes to cam/, dev/ahci, dev/ata, dev/mpr, dev/mpt, dev/mvs,
dev/siis, where either submitted by, or based on changes by mav.

Suggested by: mav (*)
Reviewed by:	imp, mav, imp, mckusick, scottl (intermediate versions)
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D27225
</content>
</entry>
<entry>
<title>linux(4): Quiesce unrecognized ioctl warning for F2FS query</title>
<updated>2020-11-02T18:45:43Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2020-11-02T18:45:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7731194090ab632fa58fa1e58a3996428c30d388'/>
<id>urn:sha1:7731194090ab632fa58fa1e58a3996428c30d388</id>
<content type='text'>
On Linux, sqlite probes for underlying F2FS filesystems that support
certain kinds of atomic update with this ioctl.  The expected result on
non-F2FS filesystem (i.e., all FreeBSD filesystems) is any error value.

Minimally implement the ioctl and avoid the warning message.

(This shows up in Linux Chrome, which embeds sqlite.)

Reviewed by:	emaste, trasz
Differential Revision:	https://reviews.freebsd.org/D27050
</content>
</entry>
<entry>
<title>linux(4): Deduplicate ioctl range construction with a helper macro</title>
<updated>2020-11-02T18:45:15Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2020-11-02T18:45:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=53efdb55a8d4d922800216b47be3aa33cc5a8ebc'/>
<id>urn:sha1:53efdb55a8d4d922800216b47be3aa33cc5a8ebc</id>
<content type='text'>
No functional change.

Reviewed by:	emaste, trasz
Differential Revision:	https://reviews.freebsd.org/D27049
</content>
</entry>
<entry>
<title>linux(4): Disambiguate identical ioctl errors in distinct paths</title>
<updated>2020-11-02T06:16:11Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2020-11-02T06:16:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=63ed2e364295e4e82b92fdb0f7ecd9060d4291b5'/>
<id>urn:sha1:63ed2e364295e4e82b92fdb0f7ecd9060d4291b5</id>
<content type='text'>
And stop truncating the full ioctl number in the error message.

Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D27048
</content>
</entry>
<entry>
<title>Add support for SOUND_MIXER_WRITE_MONITOR ioctl.  Fixes alsamixer(1)</title>
<updated>2020-09-17T11:44:45Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2020-09-17T11:44:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=79e3da0602acfaeea60257155b5520ae1238376c'/>
<id>urn:sha1:79e3da0602acfaeea60257155b5520ae1238376c</id>
<content type='text'>
on my x220.

Reviewed by:	emaste
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D25806
</content>
</entry>
<entry>
<title>Add emulation support for the Linux kcov(4) ioctl API.</title>
<updated>2020-09-04T00:12:28Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2020-09-04T00:12:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=46888dedc9ad5c73a7e9861364581720be3bb2af'/>
<id>urn:sha1:46888dedc9ad5c73a7e9861364581720be3bb2af</id>
<content type='text'>
This makes it possible to run an unmodified Linux syzkaller executor
against the Linuxulator, and have it gather code coverage information.

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